Skip to main content
GameDev.net gamedev.net

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

k
khawk Member News
· 8 years, 3 months ago

Cool Project from a GameDev: WebAssembly C64 Emulator

Briefing

<p> In the "cool projects from a gamedev" category, <a href=https://twitter.com/FlohOfWoe rel="external nofollow">Andre Weissflog</a> has open sourced a bare bones C64 emulator written in C99 and compiled to WebAssembly in under 64k: </p> <div class=ipsEmbeddedOther contenteditable=false style=text-align:center> <iframe allowfullscreen class=ipsEmbed_finishedLoading data-embedid=embed816670554 scrolling=no src="/embed/url/?url=https://twitter.com/FlohOfWoe/status/1012035726538690566" style="overflow: hidden; height: 600px;width:400px"></iframe> </div> <p> You can find the source code at <a href=https://github.com/floooh/chips-test/blob/sokol-app/examples/c64.c ipsnoembed=true rel="external nofollow">https://github.com/floooh/chips-test/blob/sokol-app/examples/c64.c</a>. </p> <p> Try out the emulator at <a href=https://floooh.github.io/oryol-sticky-tests/c64.html ipsnoembed=true rel="external nofollow">https://floooh.github.io/oryol-sticky-tests/c64.html</a>. </p> <p style="text-align: center;"> <iframe data-controller=core.front.core.autosizeiframe height=400 scrolling=no src=https://floooh.github.io/oryol-sticky-tests/c64.html width=600></iframe> </p> <p> If you're not sure what to do, here's a "BASIC" set of commands to try with the emulator: </p> <pre class=ipsCode id=ips_uid_5727_10><code class=ipsCode>
10 PRINT "HELLO, WORLD"
20 GOTO 10
RUN
</code></pre> <p> By the time I finished this post, I noticed he's also released more WebAssembly emulators, including ZX Spectrum 128 and Acorn Atom: <a href=https://floooh.github.io/tiny8bit/ ipsnoembed=true rel="external nofollow">https://floooh.github.io/tiny8bit/</a>. </p> <p style="text-align: center;"> <iframe height=600 scrolling=no src=https://floooh.github.io/tiny8bit/ width=800></iframe> </p> <p> Enjoy! </p>

Discuss

Game development news without the noise

One useful weekly briefing. No daily flood.

Sending your confirmation email…

Discussion

Loading comments...