I programmed this back in 2020. It's a port of my Commodore 64 emulator from C++ to TypeScript/Web. It supports both BASIC and 6502/6510 programs with D64 drive image (drag and drop, read-only). Live link: https://c64.davevw.com (recommend scaling window to see it bigger)
But I didn't get the keyboard just right, it was registering keys on release only. And I didn't know what the fix was. Well, given six years have now passed, there are some assistants out there that are willing to give it a go for FREE! So thanks GitHub Copilot for working with me on a Saturday to investigate and solve the issue. Seems it had something to do with how when yielding from the Web Worker background service that is the heart of this emulator, while keystrokes and UI are in the scope of the web page with a canvas.
Now that it is working well, and my other emulators have progressed with more features, I've ported in some additional fixes and features including relocatable text screens and graphics support (but sorry -- no sprites, no raster interrupts, no multicolor, yet...)
And I've replaced the D64 that it loads at startup with a sampling of all or most of my C64 github projects, and additional programs.
Usage:
Press SHIFT+ESC which will do the equivalent of:
LOAD"*",8
RUN
will display the menu (named 000BOOT), and there are also submenus -- other programs to launch.
![]() |
| Main Menu |
SNAKE64
KEYBOARD
64KEYMAPS.START
64SCANKEYS.START
DEMO6502
BIT
PHA
SBC
ADC
REVERSE.STARTUP
DELAY.STARTUP
POKE BYTES.START
BANKTEST.STARTUP
VWAS6502.START
WOZMON.START
GRAPHICS
LOADHIRES.START
LORES DEMO
UTILITIES
SCRLEDIT2
EXTRA1K.START
EXTRA1228.START
CBMDETECT
MATH
CALC64
SLIDES
SESSION1A-64
SESSION1B-64
SESSION2-64
SESSION3-64
RANDOM
![]() |
| Commodore Logo in high resolution Note for a link to the source, you can press F9 and then click on the link. And because the screen is drawn on a canvas, you can right click and save the image as a whopping pixel perfect 320x200 png regardless of how you've scaled it. And one more thing... since it is not cycle accurate and attempts to run 6510 code flat out, it turns out to run approximately 24MHz on my fairly modern PC. Your speed will vary, could be much faster. |











