Date : Sun, 22 Nov 2009 01:21:39 +0000
From : jgh@... (Jonathan Graham Harston)
Subject: Is there a 65Tube-style BBC emulator available
Steven Flintham wrote:
> trivial example, I wanted to *EXEC my source code into the emulator -
> oops, that doesn't work, because it just gets passed through to the
Well, yes. *ALL* Tube systems just pass their calls to the host
system.
> shell. So the OS emulation needs to be clever enough to trap things like
There *IS* no OS emulation. It's a Tube system. *EVERYTHING* gets
passed to the host systems. Thet7s the whole fundamental point of
Tube systems.
> The other thing that strikes me as a bit tricky is handling Escape. In
> 65Tube this just works, either because they were clever or because RISC
> OS is BBC-like.
No, because they set up a handler to catch Escapes and set the
foreground flag.
> But in a naive getchar()-style emulator, you have to do
No. You set up a handler to catch user interupts which sets the
foreground flag.
--
J.G.Harston - jgh@... - mdfs.net/User/JGH
Whitby Yards Gazetteer - http://mdfs.net/Docs/Books/YofWhitby/Gazetteer