« The Blue Screen of Joy! It just works »

May 10, 2006

PRINT "FC64!"

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...

, , , , ,

Comments

  • Simply the coolest AS3 applicationin process. PEEK & POKES !

  • This is totally awesome - reminds me of my very first steps in "computer science" :D
    You've got my vote!

  • Hey, remove my email from my comment please...

  • WOOT! This is pretty exciting stuff!

  • This should win hands down?

    *hand raised*

  • Enjoy your new TV and Xbox 360 :D

  • Love it! But I definitely vote for an option to use the keys in the configuration of a modern keyboard.

  • I think you might get all 6 of the prizes. And well deserved it would be.

    Nice, nice, nice.

  • Has anyone seen this:

    http://en.wikipedia.org/wiki/Commodore_64

    I would like to find the Basic language manual for the Vic20

  • Okay- I have to go to my momma's house and dig up that trunk with my old issues of RUN magazine!

  • did u just stop ppl from submitting entries targeted at the jfc? lol... seriously good stuff, man.

    cheers,
    Emmanuel

  • Truly a very cool project!!!!

    I am almost shedding a tear for the good old days..

  • Digg: http://digg.com/programming/Flash_Commodore_C64_emulator

  • Found this...

    http://www.devili.iki.fi/Computers/Commodore/C64/Programmers_Reference/page_iii.html

    :)

Post a comment

Remember personal info?