Date : Sat, 16 Sep 2006 07:30:08 +0100
From : Sprow <info@...>
Subject: Re: 6502Tube emulator in BASIC
In article <060913235502@...>,
Jonathan Graham Harston <jgh@...> wrote:
> As a proof of concept I put together a 6502 emulator last night,
> written in BBC BASIC, starting with PDPTube and replacing the CPU
> components. See http://mdfs.net/Apps/Emulators/Tube/65TubeEm/65Em
Cor- it works too!
For anyone else trying it, don't forget to set the load/exec addresses of
BASIC to 8000 before running it!
Typing
PRINT SIN(RAD(30))
gives the right answer after a second or two of calculation.
Interestingly (not a complaint!) many other operations give "No room", even
though HIMEM, LOMEM, TOP, PAGE all look right. Even just
P%=1
which of course doesn't need any new variable allocation, so it must be
something in the expression evaluator wanting some stack maybe?
A most impressive piece of software, I look forward to seeing how it
progresses,
Sprow.