The Straight Dope

Go Back   Straight Dope Message Board > Main > Mundane Pointless Stuff I Must Share (MPSIMS)

Reply
 
Thread Tools Display Modes
  #1  
Old 10-05-2006, 05:17 PM
Derleth Derleth is online now
Guest
 
Join Date: Apr 2000
6502 assembler and emulator in Javascript

Retrocomputing enthusiasts, unite! The emulator even has a CRT-like graphical display, just like your old Commodore-64 blasted graphics at. (Yeah, the C64 used the 6510, not the 6502, but the differences between the CPUs were pretty minimal.)

Note that it's in Javascript, not Java: Java is probably more obviously suited to the task, but Javascript is more lightweight and more compatable. (Not everyone has, or wants, a Java VM on their system, but all vaguely recent-ish graphical browsers have full Javascript support.)

The site comes with example programs (full source included, of course), including snake, pong, and a spaceflight game, and the ability to see a hex dump of your assembled program (displayed in a new window). This could be a great way to learn how to do some interesting hacks on this historically important platform.
__________________
"Ridicule is the only weapon that can be used against unintelligible propositions. Ideas must be distinct before reason can act upon them."
If you don't stop to analyze the snot spray, you are missing that which is best in life. - Miller
I'm not sure why this is, but I actually find this idea grosser than cannibalism. - Excalibre, after reading one of my surefire million-seller business plans.
Reply With Quote
Advertisements  
  #2  
Old 10-05-2006, 05:31 PM
Mindfield Mindfield is offline
Guest
 
Join Date: Dec 2005
That's pretty cool, especially considering it's done in the limited Javascript platform. I used to hack away on a 6502 on the Atari 8-bit platform back in the day. MAC/65 was my assembler of choice. I must admit I had lots of fun with it once I had that epiphany one day when looking at some type-in source in an Ataricentric computing mag about what all that gobbledygook actually did. I loved the deceptive simplicity of writing programs from the most basic of building blocks (without write in pure binary or hex codes anyway). It took longer to get productive output, but it was much more flexible in what you were able to do and how you were able to do it. Pity I've forgotten a great deal of the deeper subjects (jump/branch distance limitations and stuff like that -- especially the Atari-specific stuff like using page 6 memory for background graphics operations, manipulating the display list, stuff like that) but I still remember how to use the accumulators and what all the mnemonics mean!
Reply With Quote
  #3  
Old 10-05-2006, 05:37 PM
GorillaMan GorillaMan is offline
Guest
 
Join Date: Oct 2003
Fffft. Retrocomputing, indeed. I've got two BBC Micros sitting in my spare room.
Reply With Quote
  #4  
Old 10-05-2006, 06:56 PM
Sunspace Sunspace is offline
Charter Member
 
Join Date: Jun 1999
Location: Back in the GT eeehhhh...
Posts: 24,939
Quote:
Originally Posted by GorillaMan
Fffft. Retrocomputing, indeed. I've got two BBC Micros sitting in my spare room.
Oh yeah? I have three ZX81s.

Okay, one of them is a Timex-Sinclair 1000.
__________________
Rigardu, kaj vi ekvidos.
Look, and you will begin to see.
Reply With Quote
  #5  
Old 10-06-2006, 09:21 AM
NE Texan NE Texan is offline
Guest
 
Join Date: Mar 2002
Didn't the Apple II use a 6502? That's from memory, so I could be wrong, but that would be kind of cool - you could load up the equivalent Apple ROM, and run those old programs!
Reply With Quote
  #6  
Old 10-06-2006, 10:02 AM
ASAKMOTSD ASAKMOTSD is offline
Guest
 
Join Date: Apr 2006
Quote:
Originally Posted by NE Texan
Didn't the Apple II use a 6502? That's from memory, so I could be wrong, but that would be kind of cool - you could load up the equivalent Apple ROM, and run those old programs!
I am guessing that somehow playing Adventure just is not as much fun as it once was. XYZZY - Poof! You are now in a sloping East/West cavern.
Reply With Quote
  #7  
Old 10-06-2006, 02:19 PM
Derleth Derleth is online now
Guest
 
Join Date: Apr 2000
Quote:
Originally Posted by NE Texan
Didn't the Apple II use a 6502? That's from memory, so I could be wrong, but that would be kind of cool - you could load up the equivalent Apple ROM, and run those old programs!
Yes, the Apple II did use the 6502. The chip really got around.

And you can still play a large number of text adventures on modern computers. (Scroll down for a list of archive sites.)
__________________
"Ridicule is the only weapon that can be used against unintelligible propositions. Ideas must be distinct before reason can act upon them."
If you don't stop to analyze the snot spray, you are missing that which is best in life. - Miller
I'm not sure why this is, but I actually find this idea grosser than cannibalism. - Excalibre, after reading one of my surefire million-seller business plans.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:49 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Send questions for Cecil Adams to: cecil@chicagoreader.com

Send comments about this website to: webmaster@straightdope.com

Terms of Use / Privacy Policy

Advertise on the Straight Dope!
(Your direct line to thousands of the smartest, hippest people on the planet, plus a few total dipsticks.)

Publishers - interested in subscribing to the Straight Dope?
Write to: sdsubscriptions@chicagoreader.com.

Copyright © 2013 Sun-Times Media, LLC.