Wednesday, March 18, 2020

Set up instruction array, called vRAM[], like this: byte vRAM[5] = {0xc4, 0xc4, 0xc4, 0xc4, 0x00};

Set up instruction array, called vRAM[], like this:
byte vRAM[5] = {0xc4, 0xc4, 0xc4, 0xc4, 0x00};             //Vram[] holds instructions
Note 1802 is reset, then fetches first $c4, then second etc. When adr = 5 it comes to instruction 0x00, that is IDL = idle, just step on spot and repeat IDL.
Worked as expected. Good. Should end all instruction arrays with IDL as it's a good and predictable stopper.

No comments:

Post a Comment

Pi Pico and other Boards

 Got a new Pi Pico and it looks very promising. Want to use Oled display with it.