With many of my 6502 projects, I push code to the SRAM via microcontroller. After loaded, the uc simply tristates and sleeps like a ghost.
In some designs (like this one), the uc does other work after boot. In this case, it became IO to an SDcard file system.
Taking it a step further (less chip count), I sometimes use ONLY the microcontroller - a tight assembly loop emulates ROM directly.
I am doing this right now on a Commodore PET project, putting PC loadable code into the option ROM socket.
In all cases, the "ROM" can be instantly (and in-circuit) loaded from a PC.
Brad
Attachment:
6502-srom.jpg [ 327.23 KiB | Viewed 651 times ]
Michael wrote:
Oneironaut wrote:
On start, the SRAM is boot loaded with the code to run.
May I ask how SRAM was loaded, please?
Quote:
My IO was on address line 14.
So IO is active when A14 is low ($0000..$3FFF and $8000..$BFFF) and SRAM is active when A15 is low ($0000..$7FFF)?