On Sat, Apr 19, 2014 at 2:16 PM, Tony Duell <ard at p850ug1.demon.co.uk> wrote:
In the case of the Z8, is this somethign that can be
read out using a
BASIC program running on said device? I built a test board using that
chip many years ago, if I can find it, and if it still works, I can
power it up and give it a simple program.
Z8 BASIC DEBUG doesn't have a PEEK function. They have prefix operators
"@" and "^" that do nearly the same thing, for 8-bit and 16-bit
values
respectively. However, because the Z8 has three address spaces, they
interpret an argument between 0 and 255 as being a register or SFR address,
so I don't think you can get the first 256 bytes of the ROM that way.
They have indirect addressing of 16-bit quantities using a ^^" prefix
operator, but I'm not sure whether that can get at the first 256 bytes of
ROM or not.
I could try to write a program that pokes some assembly language into
memory to do the ROM dump.
My objective is to burn their BASIC into an EPROM to use with a 64-pin
prototyping Z8 device. I don't have a Z8671 or I'd be able to dump the
ROM myself, obviously.
Eric