The attached patch adds Currah µSource emulation. It has only been briefly tested.
The µSource's Z80 assembler is accessed with "LET assemble=1", and the Forth interpreter is accessed with LET forth=1, followed by Forth code in "REM #" statements (for example: REM #." Hello world!"). Unfortunately, I have been unable to find any more detailed documentation.
I don't know how the debugger/monitor works, but I assume there's a primative z80 'emulator' in the ROM. Is trapping instructions in 0x4000-0xffff even possible?
I doubt the debugger would be better than Fuse's debugger, there are a lot of good assemblers to choose from, and the Forth implementation does seem poor. Still, I suppose it's possible that some Forth programs were written for this interface and someone out there would like to run them again some day...
'usource.rom' is 'microsource.rom' in Phil's ROM collection.
µSource emulation
Update for changes in SVN head
Stuart committed this in [r5210] with some further changes in [r5211] and [r5213].
Related
Commit: [r5210]
Commit: [r5211]
Commit: [r5213]