PRINT "FC64!"

| 14 Comments | 1 TrackBack

Claus and I made a ton of progress over the past day. In my post yesterday I had mentioned how Claus added some display code and the initial blue screen was being displayed successfully by FC64.

Claus kept on and added the timers which gave us the blinking cursor. Last night I hacked together a (very rough) keyboard implementation, which means the emulator now takes input from the user.

See for yourself at http://codeazur.com.br/stuff/fc64/ -- Flash Player 9 required.

You can now enter BASIC programs and have FC64 execute them. An example program that loops infinitely displaying "HELLO WORLD" is:

10 PRINT "HELLO WORLD"
20 GOTO 10
RUN

You can access the double quote by pressing shift and 2 (this is what the keyboard actually looks like). If you hit Escape, the program will abort.

There are definitely some things that are broken. Claus and I are currently brainstorming about how to best map keys - physically vs. logically, a mix of both, or fully configurable. The keyboard support that is in there now works for the most part, but some keys just don't register (and they won't until we come up with a better solution).

But hey, it works! Enjoy! :-)

By the way, we'll be entering this in the Flex Developer Derby in the hopes that it wins the "Just Freakin' Cool" category. Fingers crossed...

, , , , ,

1 TrackBack

TrackBack URL: http://www.darronschall.com/mt/mt-tb.cgi/111

Everybody has probably by now blogged about this but Claus Wahlers and Darron Schall are writing a Commodore C64 emulator in ActionScript 3.0! It is still to early to tell how this will take shape but things are looking good so far and by the current s... Read More

14 Comments

Leave a comment

Flex.org - The Directory for Flex

Archives