OK the following is sick — I know, and you might begin to wonder why I don’t spend my time doing more useful stuff. But then I’d have to respond with this quote I read in the 2600 issue 22:3, in an article by mirrorshades:
There have been countless nights that I have stayed up past 3:00 am working on something that has no inherent value other than the knowledge I gain from doing it. What I do goes beyond interest, beyond hobby, beyond obsession. Can you say the same about anything, anything you do? If you can’t, then you have gone through your life missing something.
Anyways, back on-topic, I was tinkering away with this thing here when I had the idea for the following: a simple BASIC implementation in Javascript.
And lo and behold — here it is. And if I say so myself, this comes terribly close to art.
The commands currently implemented are:
CLS, COLOUR, RESET, LIST, RUN, GOTO, END, PRINT, IF..ELSE, LET, LOAD, SAVESpecial commands:
GODOSGo into GW-BASIC emulation mode (only the looks change, though).
GO64
Go back to C64 emulation mode.
And, of course, you can type HELP, although its best displayed in the DOS mode.
Click here to start my emulator with a Commodore 64-look.
Click here to start it with a DOS-look.
(Note that both of them want to open in a popup-window, so you might want to disable your popup blocker for this site.)
Changes
20051130
- Virtual Filesystem implemented — supporting the LOAD and SAVE routines. LOAD * gives a file-listing.
- Virtual Filesystem can load remote files (from the site the script is hosted on only). LOAD WEB:* gives a file-listing.
- COLOUR FG,BG implemented, where FG, BG are foreground and background respectively. This replaces the POKE-command.
- IF now supports ELSE.

on
November 30th 2005 at 8:40 am in
no comments 








