6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Sep 28, 2024 7:32 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sat Jan 24, 2015 9:10 pm 
Offline
User avatar

Joined: Sun Sep 08, 2013 10:24 am
Posts: 740
Location: A missile silo somewhere under southern England
Not a super important question, but I was wondering if anyone has ever known a 65C02 to boot without any RAM present? Mine won't and my guess is that it needs page 1 ($0100-$01FF) for the stack and utilises it during it's boot/reset sequence.

Just wondering.


Top
 Profile  
Reply with quote  
PostPosted: Sat Jan 24, 2015 9:32 pm 
Offline
User avatar

Joined: Mon Apr 23, 2012 12:28 am
Posts: 760
Location: Huntsville, AL
I can't think of any reason why you can't boot a 6502/65C02 without RAM. It's a bit more difficult to initialize and operate a 6502/65C02 system without using subroutines, interrupts or traps (BRK). However, it would be very limiting, but still possible.

_________________
Michael A.


Top
 Profile  
Reply with quote  
PostPosted: Sat Jan 24, 2015 11:25 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
banedon wrote:
..Mine won't and my guess is that it needs page 1 ($0100-$01FF) for the stack and utilises it during it's boot/reset sequence.

Just wondering.

IIRC, if your ROM has any JSR/RTS's it will need the stack.

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
PostPosted: Sun Jan 25, 2015 8:06 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
The 65C02 (or any other 6502 chip), as a chip, will happily run without RAM: the simplest example is the NOP tester, where you tie off the address bus with resistors to read EA. Many other values would also work: the chip will fetch instructions and execute them, and the address bus will act as a counter.

But any computer with a 65C02 in it (or any other 6502 family chip) will most likely not run well without RAM, because, as noted, it is very likely indeed to try to read back values previously written to zero page or to the stack, and without RAM it won't read the values expected.

What are you trying?


Top
 Profile  
Reply with quote  
PostPosted: Sun Jan 25, 2015 11:40 am 
Offline

Joined: Sat Jul 28, 2012 11:41 am
Posts: 442
Location: Wiesbaden, Germany
Remember the 6532 or RIOT (RAM IO Timer). It was the solution in the early days to allow building an SBC with minimal chip count and still have 128 bytes of RAM for a small stack and some page zero locations. Projects like the EMUF used it in conjunction with a 6504 and a 1k EPROM.

http://retro.hansotten.nl/index.php?page=emuf-6504

_________________
6502 sources on GitHub: https://github.com/Klaus2m5


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 6 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: