Extending the BASIC command & function set
Posted: Sun Jul 02, 2023 4:43 am
Will the old C64 approach to extending BASIC V2 with tokenised commands and functions still work?
I'm asking because IIRC from the C64 days the BASIC ROM was copied in to shadow RAM and then had a few JSR or JMP targets changed to allow for the processing of the new tokens by the BASIC parser and the program listing function. All without the use of a wedge to trap "@" characters here & there...
I guess this can be done by having RAM in a cartridge that can be seen by the ROMB latch and copying the BASIC kernel in to that RAM in the cartridge.
But not everybody is going to have access to or want to buy such a RAM cartridge...
Thanks in advance.
I'm asking because IIRC from the C64 days the BASIC ROM was copied in to shadow RAM and then had a few JSR or JMP targets changed to allow for the processing of the new tokens by the BASIC parser and the program listing function. All without the use of a wedge to trap "@" characters here & there...
I guess this can be done by having RAM in a cartridge that can be seen by the ROMB latch and copying the BASIC kernel in to that RAM in the cartridge.
But not everybody is going to have access to or want to buy such a RAM cartridge...
Thanks in advance.