6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri May 10, 2024 7:58 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: 6502 FPGA Project
PostPosted: Mon Jul 28, 2003 11:46 am 
Offline

Joined: Mon Jul 28, 2003 11:34 am
Posts: 1
I´m a student and I am working on the implementation and programming of a 6502 with a RAM in a Spartan2 FPGA. I have implementated the RAM, the 6502 and a rs232 module to load the RAM from my computer using the HyperTerminal, but I don´t know programming the 6502 and I can´t test what I have done. I would like if someone could tell me who I can test it. Thank you.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jul 28, 2003 2:58 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1685
Location: Sacramento, CA
You'll need some kind of ROM to store a minimal boot-loader that will enable you to load your "test code" into RAM. When you say an "rs232 module", does it emulate a 6551 type serial interface, or something else?

Check in the source code repository, under I/O techniques for Ross Archer's Intel HEX downloader. There is also an XMODEM file transfer program there that I wrote. These would be a good place to start.

On a side note, I'd be interested in seeing the code for your FPGA, as I'd like to design a small SBC using FPGA technology.

Daryl
http://65c02.tripod.com/


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jul 28, 2003 6:41 pm 
Offline

Joined: Fri Aug 30, 2002 2:05 pm
Posts: 347
Location: UK
You could always try running my EhBASIC interpreter on it. It's been used to test 6502 implementations before and uses most instructions and address modes at some point.

It's also ideal for a 6502 with a serial port.

You'll find it here..

http://members.lycos.co.uk/leeedavison/6502/ehbasic/index.html

Tha latest version is fairly free of undocumented features.

Lee.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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: