Page 1 of 1
6502 Emulator Made in QBasic 4.5
Posted: Thu Nov 14, 2002 1:33 am
by Beta
Hello everyone...
This may sound sorta odd, but I'm planning a project, of which making a form of NES emulator in QBasic 4.5. I have seen this done, however, not so well. Because I have no real help Codeing-wise, I have to do it all by myself, and I need a lot of into on how the 6502 works, eg, machine-code commands and such.
Any help would be greatly appreciated.
Re: QB NES Emulator
Posted: Thu Nov 14, 2002 3:11 am
by Mike Naberezny
Hi,
Sounds interesting. Take a look at the resources in the datasheets section on 6502.org which will show you the manufacturers' datasheets for most of the 65xx parts. Then, if you still have questions, this is an excellent place to ask them.
Regards,
Mike
Posted: Thu Nov 14, 2002 8:17 am
by Beta
Is there anything in there about the 6502? I looked, however aren't seeing anything about the 6502 specificly.
Edit:
I have found something good, the Opcodes in the Tutorial section, that'll help out a LOT.
6502 Datasheets
Posted: Thu Nov 14, 2002 8:13 pm
by Mike Naberezny
The datasheets archive has datasheets from several manufacturers for both CMOS and NMOS versions of the 6502 microprocessor.
CMOS versions of the 6502:
California Micro Devices 65SC02
http://www.6502.org/datasheets/g65sc02.pdf
Commodore Semiconductor Group (MOS) 65CE02
http://www.6502.org/datasheets/65ce02.zip
Western Design Center W65C02S
http://www.6502.org/datasheets/w65c02s.pdf
NMOS versions of the 6502:
Commodore Semiconductor Group (MOS) 6500-series (inc. 6502)
http://www.6502.org/datasheets/csg6500.pdf
Rockwell 6500-series (inc. 6502)
http://www.6502.org/datasheets/r650x.pdf
-Mike
Posted: Tue Mar 11, 2003 4:02 am
by Isolationist
I was just about to make something similar. However I am going to set it up so there is a sort of 20x2 LCD alphanumeric display emulator, like on some laser printers. I intend to use it to perfect my programming as a friend and I are going to attempt to make a simple 6502 microcomputer.
Actually I think he is thinking about making it Z80 based, but I'll see if I can get him to change his mind (Z80's are a tad too complicated anyway).
I like your idea about the NES emulator, however I would recommend getting the memory map of the NES and some specifyfcations for the graphics controler.
Have fun!!!
Posted: Tue Mar 11, 2003 7:49 pm
by usotsuki
btw, wouldn't be the first time. There was a program called (IIRC) uNESsential which aimed at that. Also, I think Vortendo was written in Visual BASIC?
The NES had ROM cartridges with built-in banking hardware. The memory map varies from game to game.
Try nesdev.parodius.com - but ymmv.
-uso.
Posted: Wed Mar 12, 2003 12:30 pm
by Isolationist
I know its unrelated but Visual BASIC?
