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.
Subscribe to:
Post Comments (Atom)
Pi Pico and other Boards
Got a new Pi Pico and it looks very promising. Want to use Oled display with it.
-
The breadboard version of the CDP1802 2 Nano system is starting. And the schematic for the breadboard is below. But only some of the brea...
-
The breadboard version pretty much finished. Want to document where I got to. Here's the screen that shows the bottom nano running an 1...
-
1802 talks to Arduino Mega. If a constant $c4 = nop is output from PORTC of mega to BUS of 1802 it always fetches a nop, just as it did i...

No comments:
Post a Comment