6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Sep 20, 2024 1:42 pm

All times are UTC




Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Sat Aug 04, 2018 12:05 am 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1382
I have recently been working to get Enhanced Basic working on the C02 Pocket SBC. I would like mention thanks to Klaus for maintaining a version of EhBasic 2.22p4 (latest patched version) and for his support over in the EhBasic forum along with several others.

I have modified the code a fair amount as follows:
- removal of all code and commands for NMI/IRQ support
- CHRGET/CHRGOT routine now located in ROM
- CMOS instructions and addressing modes now in use
- all functional and initialization code are in BASIC.ASM (C02 Monitor launches Basic only)
- relocated all page zero defines for contiguous space from $0000 - $0085
- EXIT command added to return to Monitor
- version changed to 2.22p4C (denotes CMOS CPU required)
- now assembles/links with WDC Tools

Adding BASIC to the SBC has required a small number of changes to the Monitor. There's a minor update to the BIOS but no functional changes. I've included all files necessary to assemble and link the update BIOS, Monitor and EhBasic 2.22p4C. The single ZIP file attached contains two directories: one for the C02 Monitor/BIOS and one for EhBasic.

The updated BASIC code should run on any CMOS 65C02 (only tested on WDC) and requires character in/out routines and optionally a code vector for the EXIT command. The existing LOAD/SAVE commands/vectors are not yet implemented. Once I complete the Xmodem upload function in the Monitor, I'll add both of these capabilities to the Basic code. I hope someone finds the CMOS version useful... it is a bit smaller (9894 bytes) and should run a tad bit quicker due to some of the CMOS re-coded routines.

Attachment:
C02Monitor-EhBasic.zip [738.94 KiB]
Downloaded 119 times

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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 47 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: