6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Apr 27, 2024 7:47 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Sep 11, 2021 9:36 pm 
Offline

Joined: Tue Jun 19, 2018 8:28 am
Posts: 122
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?


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 12, 2021 4:12 am 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1373
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...

_________________
Regards, KM
https://github.com/floobydust


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: