MOS 6502 Simulator
Sponsored Links
MOS 6502 Simulator Ranking & Summary
File size:
0.046 MB
Platform:
Any Platform
License:
BSD License
Price:
Downloads:
1019
Date added:
2007-03-05
Publisher:
Richard Whitty
MOS 6502 Simulator description
MOS 6502 Simulator is sort of an emulator for a 6502 chip. Theres virtually nothing apart from the CPU (minus BCD operations). It also bears no heed to instruction timings.
Whilst (apart from those two things) it successfully simulates the CPU there were a few design flaws, which led me not to continue with it:
- I wrote it in C++.
As the 6502 had no dedicated IO bus, everything was done via memory. I had the idea of having a pure virtual class which provided a generic interface, then as I wrote devices to sit in the memory space, they could just override portions of it, or trap on writes or something.
Whilst writing this, I kept getting the feeling I should have written it in asm instead Especially for manipulating flags and rotates and stuff. (as I could have just rotated AL, for example, rather than the mess I have in the C++ code.
- Sloppy instruction decoding.
I originally set out to decode the instructions properly, but there were lots of exceptions to the system used (esp. if I intended to support the 65C02 for example). This decended into a massive switch statement. I almost considered splitting it up to smaller files, and just #include them in the middle, just to make it more managable.
Also, as they are not in numerical order (grouped according to type, or addressing mode, cant remember atm) it wouldnt compile to a jump table. Does with optimisation on though.
The main thing that prompted me to write this was I found my BBC-B in the loft, and felt a pang of nostalgia for the hours wasted hunched over it in the lowest resolution text mode (IIRC mode 7 to save ram). I had the idea of writing a NES or BBC emulator, however it didnt get that far.
It has a pretty simple image format. The file must be >= 65536 bytes (64k) and that is simply the memory image for the system (16-bit address bus). There is a strange sort of ASCII text display at 0x200, which is ok enough for spewing a string to. As it was just thrown together in the space of 6 hours or so (took a long time to do the switch statement) its not very thouroughly documented, but hey.
Whilst (apart from those two things) it successfully simulates the CPU there were a few design flaws, which led me not to continue with it:
- I wrote it in C++.
As the 6502 had no dedicated IO bus, everything was done via memory. I had the idea of having a pure virtual class which provided a generic interface, then as I wrote devices to sit in the memory space, they could just override portions of it, or trap on writes or something.
Whilst writing this, I kept getting the feeling I should have written it in asm instead Especially for manipulating flags and rotates and stuff. (as I could have just rotated AL, for example, rather than the mess I have in the C++ code.
- Sloppy instruction decoding.
I originally set out to decode the instructions properly, but there were lots of exceptions to the system used (esp. if I intended to support the 65C02 for example). This decended into a massive switch statement. I almost considered splitting it up to smaller files, and just #include them in the middle, just to make it more managable.
Also, as they are not in numerical order (grouped according to type, or addressing mode, cant remember atm) it wouldnt compile to a jump table. Does with optimisation on though.
The main thing that prompted me to write this was I found my BBC-B in the loft, and felt a pang of nostalgia for the hours wasted hunched over it in the lowest resolution text mode (IIRC mode 7 to save ram). I had the idea of writing a NES or BBC emulator, however it didnt get that far.
It has a pretty simple image format. The file must be >= 65536 bytes (64k) and that is simply the memory image for the system (16-bit address bus). There is a strange sort of ASCII text display at 0x200, which is ok enough for spewing a string to. As it was just thrown together in the space of 6 hours or so (took a long time to do the switch statement) its not very thouroughly documented, but hey.
MOS 6502 Simulator Screenshot
MOS 6502 Simulator Keywords
MOS
MOS 6502 Simulator
MOS 6502
6502 simulator
6502 chip
6502
simulator
sort
emulator
chip
MOS 6502 Simulator
Emulators
System
Bookmark MOS 6502 Simulator
MOS 6502 Simulator Copyright
WareSeeker periodically updates pricing and software information of MOS 6502 Simulator full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of MOS 6502 Simulator Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
mos 6502a
marine corps mos 6502
MOS Technology 6502
mos 6502 chip
mos 6502 processor
6502 simulator assembler
buy mos 6502
usmc mos 6502
simulator training
mos 6502 datasheet
flight simulator
6502 simulator linux
mos 6502 transistors
simulator downloads
mos 6502a cpu
simulator games
simulator systems
train simulator
Related Software
GNU 8085 Simulator is a graphical 8085 simulator and assembler with a debugger. Free Download
Vamos is an automotive simulation framework with an emphasis on thorough physical modeling and good C++ design. Free Download
Network Simulator is a discrete event simulator targeted at networking research. Free Download
The Silent Wings Simulator is a highly realistic flight simulator. Free Download
GTP server simulator is a simple responder for the GTP (GTP prime) protocol. Free Download
VT6530 is a Java implementation of the proprietary terminal used with Tandem mainframes. Free Download
Visual Automata Simulator is a DFA, NFA and TM simulator. Free Download
Open Pinball Simulator project is an pinball simulator. Free Download
Latest Software
Popular Software
Favourite Software