6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 8:06 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Thu Sep 27, 2012 7:18 pm 
Online
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
Jeff Parsons has written an impressive in-browser 6502 simulator ([*]may not be compatible with all browsers)

See here for a demonstration Ohio Scientific Challenger 1P, and see here for 9 instances on the same page. (The point being to demonstrate the easy embeddability and also the performance)

Attachment:
File comment: screenshot of http://cpusim.org/c1p OSI-6502 Simulator
c1p-js.png
c1p-js.png [ 52.36 KiB | Viewed 2534 times ]


There's a version with a debugger, and one without. The embedding instructions are here.

It looks like Jeff previously wrote a Windows program, which is still available.

[*] (It's a bit unusual, making use of xml and xslt, and the JavaScript looks machine-generated to me too.)

Update: there's now quite a variety of in-browser 6502 emulators where you can indulge in programming. For a currently-maintained list, see here or here. I particularly recommend easy6502 as it comes with an assembler, disassembler and is embedded in a very good tutorial.


Last edited by BigEd on Fri Nov 06, 2015 9:54 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Fri Sep 28, 2012 2:36 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8507
Location: Midwestern USA
BigEd wrote:
Jeff Parsons has written an impressive in-browser 6502 simulator ([*]may not be compatible with all browsers)

See here for a demonstration Ohio Scientific Challenger 1P, and see here for 9 instances on the same page. (The point being to demonstrate the easy embeddability and also the performance)

Attachment:
c1p-js.png


There's a version with a debugger, and one without. The embedding instructions are here.

It looks like Jeff previously wrote a Windows program, which is still available.

[*] (It's a bit unusual, making use of xml and xslt, and the JavaScript looks machine-generated to me too.)

Hey! That's pretty cool! It works fine in SeaMonkey 2.6.1, which means Firefox users should also be able to successfully run it.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Fri Sep 28, 2012 8:25 am 
Offline

Joined: Sun Apr 10, 2011 8:29 am
Posts: 597
Location: Norway/Japan
In Chromium the keyboard will not enter anything into the simulator window for some reason, it works fine on Firefox though.

-Tor


Top
 Profile  
Reply with quote  
PostPosted: Fri Sep 28, 2012 9:10 am 
Online
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
Did you click in the canvas which represents the screen? It's working for me in Chrome on linux, and also in an old Chromium-nightly I have [19.0.1038.0 (Developer Build 121448 Linux)]


Top
 Profile  
Reply with quote  
PostPosted: Fri Sep 28, 2012 2:21 pm 
Offline

Joined: Sun Apr 10, 2011 8:29 am
Posts: 597
Location: Norway/Japan
BigEd wrote:
Did you click in the canvas which represents the screen? It's working for me in Chrome on linux, and also in an old Chromium-nightly I have [19.0.1038.0 (Developer Build 121448 Linux)]

I found the problem with Chromium - if I click _anywhere_ it won't work, I must only click one of the buttons (e.g. 'run'), and then I can type in the canvas. If I click anywhere else I'm forever locked out of the screen (I can only enter into that little text field above the buttons). So, keeping that in mind, it works fine in Chromium too.

-Tor


Top
 Profile  
Reply with quote  
PostPosted: Fri Sep 28, 2012 5:04 pm 
Online
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
That's good!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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: