Date : Fri, 26 Jan 1996 12:53:07 +0000 (GMT)
From : sf4000@... (Steven Flintham)
Subject: Would this work?
I've been thinking about writing a fairly basic BBC emulator myself and
I was wondering if this would work. I am planning to write a 6502
emulator (in C, since it's just for my own entertainment, rather than a
practical emulator), provide a copy of the BASIC ROM at &8000 and just
jump to the language entry point. Instead of making the emulation good
enough to run the BBC OS, I would trap all jumps to code above &BFFF
and implement the operating system routines required (e.g. OSWRCH,
OSFILE etc) in C. Would this be sufficient to get BASIC working
properly?
I think the basic idea is OK, as I seem to remember seeing an emulator
along these lines in a very old PCW (written in Turbo Pascal). The
brief description of it said that they had had BBC LISP running on it,
but as they didn't have BASIC I'm wondering whether it's too demanding,
or whether they just hadn't tried it.
Thanks in advance.
Steven