gertk
Veteran Member
That is what I am working on at the moment too: a 8052AH Basic (or equivalent) with an external EEPROM which holds not only the extra Basic commands but also is used as a storage system. I made up a simple file system with 255 directory entries and a simple FAT table which holds which pages in the EEPROM are in use and such.
So far I added LOAD, SAVE, DIR, DISPLAY, HDUMP and ECALL commands. The EEPROM is connected and mapped into the space available so that the first 32 kB is always read from EEPROM (albeit the first 8 kB being masked by the internal ROM) and the rest of the (256kB!) EEPROM is available in 16 kB chunks at 8000-BFFF. Main memory is 32 kB SRAM space from 0000-7FFF and a small 8 kB SRAM chunk is also available from E000-FFFF in both program and data space.
This gives plenty of room to experiment with both fixed additional ROM code and Basic space and allows to fiddle with small assembler code experiments in the top memory area.
BTW the ECALL command can be used with an expression instead of a fixed address.
So far I added LOAD, SAVE, DIR, DISPLAY, HDUMP and ECALL commands. The EEPROM is connected and mapped into the space available so that the first 32 kB is always read from EEPROM (albeit the first 8 kB being masked by the internal ROM) and the rest of the (256kB!) EEPROM is available in 16 kB chunks at 8000-BFFF. Main memory is 32 kB SRAM space from 0000-7FFF and a small 8 kB SRAM chunk is also available from E000-FFFF in both program and data space.
This gives plenty of room to experiment with both fixed additional ROM code and Basic space and allows to fiddle with small assembler code experiments in the top memory area.
BTW the ECALL command can be used with an expression instead of a fixed address.

