6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 5:43 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sun Jan 25, 2009 10:13 am 
Offline
User avatar

Joined: Sun Feb 13, 2005 9:58 am
Posts: 85
I've put on run the original AppleI monitor using the lib6502 emulator.
If someone is interested, i've putted it online there http://ptorric.tsc4.com/index.php/projects/download-section.html
The code is near the original, i've only changed few bytes for i/o compatibility
Maybe it's possibile use it in larger project, now i'm working on the AppleII monitor but maybe it's too hardware dependant.


Top
 Profile  
Reply with quote  
PostPosted: Sun Jan 25, 2009 12:33 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
nice! instructions here: http://www.landsnail.com/apple/local/ap ... 1man3.html


Top
 Profile  
Reply with quote  
PostPosted: Sun Jan 25, 2009 11:42 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
ptorric wrote:
...now i'm working on the AppleII monitor but maybe it's too hardware dependant.


I based my SBC-1 and SBC-2 Monitor on the Apple II monitor. I used the same monitor commands and formats. I modified the disassembler to include 65C02 commands and wrote the mini-assembler from scratch as it also supports the 65C02 instruction set. The terminal I/O uses RAM-based vectors, just as the Apple Monitor's did.

You can find it on my website, if you are interested:
http://sbc.rictor.org/download/sbc2os.zip

Daryl


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jan 26, 2009 8:35 pm 
Offline
User avatar

Joined: Sun Feb 13, 2005 9:58 am
Posts: 85
thank you!
maybe you avoid me to reinvent the wheel (or, as we said in italy, to reinvent the warm water).

i'll take a look to your code, but a question: do you rewrite it from scratch or do you reuse part of the original monitor?

if you dont care, i'll try to use it with lib6502.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jan 27, 2009 4:36 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
I used many of the parts, but on the whole, it was mostly re-written.
The method of parsing the user input was take from the Apple. The memory read/modify routines were also taken from the monitor. The overall feel is from the apple, but most of the code has been "tweeked" to work with the 65c02's added instructions.

You may use the code anyway you want, and modify it for your specific needs.

Daryl


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

All times are UTC


Who is online

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