Re: expansion board: zx-pico-io
Posted: Sun Aug 14, 2022 9:40 pm
So I believe trying to be cute and *execute* code from my IO device (a small stub that'd copy a larger piece out) was what really got me in trouble. The mechanism that NOP-izes most instruction fetches when A15 is high appears to work as "normal" on the zx81+38.
Moving the address matching from 0xFnnn to 0x3nnn improved things, but we still seem to go off the rails when trying to execute code from that region.
Both a simple BASIC program and an assembly subroutine are about to copy 1KB of data from the IO port (poke 0x3001,1 to ask for the next byte, peek 0x3000 to grab it) to SRAM at 0x2000 without issue. So the general mechanics of interacting with the PICO seem good.
I'm kicking myself for giving away my old HP1670E logic analyzer (who needs 96 channels at 100MHz in this day and age of high speed serial busses?!) because right now it'd be awesome to take a full picture of the bus activity on this critter...
Moving the address matching from 0xFnnn to 0x3nnn improved things, but we still seem to go off the rails when trying to execute code from that region.
Both a simple BASIC program and an assembly subroutine are about to copy 1KB of data from the IO port (poke 0x3001,1 to ask for the next byte, peek 0x3000 to grab it) to SRAM at 0x2000 without issue. So the general mechanics of interacting with the PICO seem good.
I'm kicking myself for giving away my old HP1670E logic analyzer (who needs 96 channels at 100MHz in this day and age of high speed serial busses?!) because right now it'd be awesome to take a full picture of the bus activity on this critter...