Adding commands to osi basic....

Programming the 6502 microprocessor and its relatives in assembly and other languages.
Post Reply
Braincell1973
Posts: 14
Joined: 01 Nov 2016

Adding commands to osi basic....

Post by Braincell1973 »

Hi all.
How easy is it to add commands to osi basic for the multicomp 6502 8k rom image ??

Some pointers would be helpful as it looks like simply adding an entry to the token table ??

I got the source to compile but im looking to add a c64 style sys call and a monitor call.

Thanks in advance. Lee
Klaus2m5
Posts: 442
Joined: 28 Jul 2012
Location: Wiesbaden, Germany

Re: Adding commands to osi basic....

Post by Klaus2m5 »

This is how it is done in EhBasic: viewtopic.php?p=7791#p7791

You will probably find that it is similar in osi basic.
6502 sources on GitHub: https://github.com/Klaus2m5
Simon
Posts: 155
Joined: 16 Apr 2007
Location: Auckland, New Zealand
Contact:

Re: Adding commands to osi basic....

Post by Simon »

Bit late with the reply sorry. I have done it. I added commands for my homemade machine. I can't remember the details now though as it was so long ago but I did blog about things and there might be some pointers in here: http://www.asciimation.co.nz/bb/2013/10 ... ning-basic

I haven't done anything on that machine for a long time now. Life sometimes gets in the way of the fun things (career changes, moving cities and I have too many other fun things to distract me)!

Simon
Post Reply