Liam Proven wrote:
Personally, my interest was always mainly in graphics
and to a much
lesser extent sound (for their uses in games, mainly!) If the CP/M
version of BBC BASIC is a "legal" CP/M app and only uses CP/M
facilities, then AIUI that means that it more or less by definition
has no graphics or sound support. In which case, there's nothing to
port and you don't need the source!
If you want sound and graphics, firstly, the *machine* you are running
on must have sound and graphics. A language having sound and graphics
won't magically create the hardware for it to function.
Secondly, just use the BBC CPM version of Z80 BBC BASIC[1], which
passes all non-filing calls to a jump block at &FFxx[2], and write the
relevant code at the destination of the jump block.
Just as CPM doesn't "know" what a 10*1024-sector disk is, it just
passes calls on to the BIOS jump block, and it's the BIOS that
understands what a 10*1024-sector disk is.
[
1]http://mdfs.net/Software/BBCBasic/CPMTube.zip
[2]I have a patch program that lets you move the jumpblock as well.
--
J.G.Harston - jgh at
mdfs.net -
mdfs.net/jgh