Convert basic hex file to C array:
srecord\srec_cat basic.hex -intel -o basic.c -C-Array
Convert rom hex file to C array:
srecord\srec_cat rom.hex -intel -o rom.c -C-Array
The memory map on Grant's site:
MEMORY MAPS INITIAL BOOT 0000-3FFF ROM Within the ROM... 0x0000 Boot monitor 0x2000 Microsoft BASIC interpreter 4000-FFFF RAM Once CP/M is loaded 0000-FFFF RAM 0100 Transient program area (applications) D000 CP/M System E600 BIOS
So the boot code needs to be loaded into SRAM starting at 0 and the BASIC code needs to be loaded into SRAM starting at 0x2000.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.