Some time ago I've build simple 6502 based computer. At this point it is able to run EhBasic. Unfortunately it is not fully usable without working LOAD/SAVE functionality.
I am looking for some tested functionality. For now I'll be fully satisfied by loading (and saving) Motorola S19 files through RS232 interface.
So, I have following questions:
1. Is there any tested solution I could use to add such functionality to my working version of EhBasic?
2. Is it possible to load and run machine code programs form EhBasic? Or do I need separate Monitor software for that?
Loading and Saving S19 files
- floobydust
- Posts: 1394
- Joined: 05 Mar 2013
Re: Loading and Saving S19 files
I made a modified version of EhBasic some time ago... only runs on the CMOS version of the processor. I added Load and Save functions, but those routines determine the memory area needed to be saved and then sets some variables in Page Zero, then makes a call to my Monitor code. The load function works the same way, downloads, then sets the pointers in EhBasic to directly run the program. My Monitor code contains a nice Xmodem Load and Save routines working through the console port. Both upload and download use CRC-16 and the download function automagically detects Motorola S19 records, which is how I download code to my SBC.
All of the code is out on my Github page...
All of the code is out on my Github page...
Regards, KM
https://github.com/floobydust
https://github.com/floobydust