Date : Mon, 29 Apr 2002 16:24:12 +0100 (BST)
From : Theo Markettos <theom@...>
Subject: C compilers and emulator communications
I have an idea for a particularly silly BBC program I want to write. But
it's not wholly trivial to code, and if I did it in 6502 it would probably
be a bit too time consuming. Does anyone know the state of the C
compilers out there - are they any use for producing usable code? I
probably can do with just a compiler - don't need any libraries (I'll call
OSWRCH etc myself), although things like multiply and divide would be
nice. Code size is probably also going to be a problem, but speed is
probably not (my silly idea is going to be too slow to be useful
anyway...).
Also, do any of the (RISC OS/Linux) emulators support access to 'external'
emulated hardware, say on the 1MHz bus? I'd like to write a program on
the host machine that talks to the BBC via the serial port, and it would
be neat if I could emulate the BBC side. It doesn't have to be the serial
port, any means of passing data between host and emulated programs would
do. I can possibly abuse 65Host's access to user ports via OSBYTE 151,
but I'd rather having a multitasking emulator (so the host program can run
at the same time). Any suggestions?
Thanks,
Theo