How can I use the ROM import function correctly? #1161
Closed
VerdichteteEnergie
started this conversation in
General
Replies: 1 comment 1 reply
-
The import supports the old Logisim hex file format, Intel hex files or simple plain binary files.
The first line identifies the format, and then the data words follow in hexadecimal format. The file extension needs to be *.hex. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use a ROM for my small programs, which I compile into binary form and use for my computer based on the nand2tetris courses. For this I write the programs directly into the ROM by opening the ROM chip in digital and directly writing the binary codes into each address via edit.
Now before I want to write longer programs, I tried to add the programs in pure 16-bit binary words to digital via the ROM chip's import function. Unfortunately, these are not accepted, because when I click on edit, no code can be seen in the ROM. And if I try to start the program, an error pop up tells me, that my ROM is not in intel hex format.
I saved my program with simple 16-bit words per line in a file called "rom-test.hex".
Here is my example code:
Here my file:
rom-test.zip
I've read through the official documentation, but unfortunately couldn't find anything about it.
Can someone help me and show what I'm doing wrong?
Operating system:
Windows 11 (64-Bit) Pro
Beta Was this translation helpful? Give feedback.
All reactions