Download MOS 6502 Simulator -

Antivirus information.

We did not scan MOS 6502 Simulator - for viruses, adware, spyware or other type of malware. For your own protection it's recommended to have an updated antivirus installed on your computer when downloading and installing programs from freesoftware0.

freesoftware0 lists downloads from various software publishers, so if you have a question regarding a particular software contact the publisher directly. The download links for MOS 6502 Simulator - are provided to you by freesoftware0 without any warranties, representations or gurantees of any kind, so download at your own risk.


MOS 6502 Simulator is sort of an emulator for a 6502 chip. There's 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, can't remember atm) it wouldn't 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 didn't 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) it's not very thouroughly documented, but hey.

Product's homepage

Related programsOur Recommendations

Gallipoli: The Game 0.7.0

Gallipoli: The Game is a stunning recreation of Australia's greatest military adventure. As a


qanat 0.7

qanat is a shoot-em-up game inspired by the classic Galaxians game. Repel waves of invaders


netflixQ 1.1.1

netflixQ is a Chrome rxtension to build a list of Netflix instant movies to watch.Just subscribed


django-serene 0.0.6

django-serene is a RESTful framework with a touch of sirisanthana.INSTALLATIONto use django-serene


Netmap 1.3.1

Netmap is a program to create network weathermaps based on existing images created by other


Google Voice Notifier

Google Voice Notifier (by Google) is a Google Chrome extension that adds a Google Voice button to


Tinybrain EAR5

Tinybrain is an AI (Artificial Intelligence) component that can be used in various


WMBiff 0.4.27

WMBiff is an WindowMaker docking utility, that displays number of total messages count or unread


collective.sphinx.includedoc 0.2

collective.sphinx.includedoc is a Sphinx extension for including doctests.Code repository:

Download is an open source Bash script specially designed to compress files from a specified


Thumbnail of MOS 6502 Simulator -


4 stars

Price: FREE

Publisher/Developer: Richard Whitty

Release Date: Jul 3, 2012

View Program Details

Top Downloadslast week