Programming the ROM

To build the Home Micro ROM, from the top of the repository:

homemicro$ cd rom
rom$ make

This will create rom.bin.

If you are using the ROM Programmer circuit with a Raspberry Pi, you can use the writerom tool to write the ROM image to the ROM chip.

First, the writerom tool has to be built. This only needs to be done once, unless you made changes to the writerom tool or get a newer version from the repository. Again starting from the top of the repository (use cd .. first if you are in the ROM directory):

homemicro$ cd tools
tools$ make

To write the ROM image using the writerom tool (from the rom directory):

rom$ sudo ../tools/memory/writerom rom.bin 0 8192

The numbers here indicate the start position and the size of the ROM image, respectively.