Z80 BBC BASIC for the ZX Spectrum |
MDFS::Software.Spectrum.BBCBasic.Docs.Back/htm | Search |
Unfortunately, the cycle of coding, blow EPROM, test, coding again didn't make for efficient programming, and also quickly gobbled up my available EPROMs. I intended to extend the ROMBox to have sideways RAM, but never got around to it. Also, University courses got in the way of getting much work done.
In about 1990 I obtained a Spectrum emulator - Speculator for RISC OS. I was doing a lot of work with Z80 BBC BASIC then, it was when I wrote Z80Tube, but it never occured to me to complete the conversion I had started.
In about 2000 I was tinkering with Speculator and the Z80Tube interface code and put together a small host interface core that ran on the Spectrum. It prompted for *commands and executed them. I could examine and modify memory, and execute code.
In January 2002 I sat down in ernest to complete the conversion. "In
ernest" with my current job means spending about a hour a week, so
taking a couple of months. At 03:01 GMT on 15-Mar-2002 I ran the relocator,
assembled the host interface code, joined the resultant files together and
loaded them into Warm Silence's Z80Em. It worked! PRINT
"Hello"
- it worked! A bit of tinkering with the keyboard map to get
~
and: PRINT ~PAGE,~HIMEM
- it worked! Wow! If
it hadn't been 3 in the morning I would have been jubilant.
It starts up like this:
Sinclair Spectrum 48K
Acorn BBC BASIC Version 2.20
(C) Copyright R.T.Russell 1983
>_
and so far everything works. So far I've implemented tape access and
the text VDU. The next task is to implement the rest of the MOS's VDU and
FILE interface.
Watch this space!