An in-browser 6502 assembler/simulator

Topics pertaining to the emulation or simulation of the 65xx microprocessors and their peripheral chips.
Post Reply
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

An in-browser 6502 assembler/simulator

Post by BigEd »

At
http://6502.cdot.systems/ (Edit: dead link; archive here)
you'll find a simple in-browser emulator. It's open source and derived from Nick Skildrick's 6502js which you encounter on the easy6502 tutorial page.
Quote:
Enhancements include a speed control (slider), load/save buttons, an 80x25 character memory-mapped terminal screen, and some basic ROM routines.
There's some association with Seneca College - so that's 6502 used in an educational context - and there's a wiki page here
6502 Emulator Example Code

(Mentioned in one of wayfarer's posts and surely worth surfacing.)
Last edited by BigEd on Wed Aug 06, 2025 11:22 am, edited 1 time in total.
kveroneau
Posts: 16
Joined: 03 Apr 2016
Location: Calgary, Canada
Contact:

Re: An in-browser 6502 assembler/simulator

Post by kveroneau »

Hello BigEd,

Your post really caught my eye, not because of the in-browser 6502 assembler/simulator, but it's use in an educational context. The goal of a new program I've been working on has the goal of being used in an educational context, and I'd personally like to know the viability of that goal. Not sure if you are of a similar generation of me, I grew up in the 80s and 90s, and Maxis "Software Toys" as they were called at the time were everywhere in the schools. This is where I got the initial idea for my simulator, a fun 6502 computer science software toy that students and hobbyist can enjoy alike. It is currently pretty far along with my next big planned feature being an EGA compatible text framebuffer with the standard size of 80x25 which is fully memory mapped, much like the console provided in this web-based simulator. It is an exact copy of the EGA one as well, and my current implementation supports loading a video memory dump taken from say a DosBox session and I was able to seamlessly load it into my framebuffer, so I think I got it.

I have a huge passion for programming ans computer science and I'd really love to find a way into the educational market to bring this passion to many more. I highly recommend checking out the website I put together earlier this year, along with a recent post I made on the subject on this forum for some additional info, as I don't want to rewrite everything here. http://www.hackers-edge.com/

Oh, if you scroll to the bottom of each page I have there, there is a YouTube video you can watch with a full demonstration of it being used, there is a download as well, so you can also give it a shot yourself of course too.
User avatar
Michael
Posts: 633
Joined: 13 Feb 2013
Location: Michigan, USA

Re: An in-browser 6502 assembler/simulator

Post by Michael »

That's pretty neat, Ed. Do you know of anything like this browser based emulator/simulator that also provides for cycle counting?
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

Re: An in-browser 6502 assembler/simulator

Post by BigEd »

Possibly 8bitworkshop is close to this capability, as it allows for writing chase-the-beam programs for the 2600. But at a quick glance I don't see any cycle counts made visible - perhaps I'm not looking properly. But surely it would be a small change (!)
https://8bitworkshop.com/v3.11.0/?platf ... le=sieve.c#
User avatar
Virtual1
Posts: 17
Joined: 01 Aug 2025

Re: An in-browser 6502 assembler/simulator

Post by Virtual1 »

Apple][js is popular, I'm new to simulating old hardware but it works okay. too bad it's just a ][ and not an enhanced IIe. https://www.scullinsteel.com/apple2/
Post Reply