Wednesday, November 4, 2026 Today’s Paper
Log in Join free
Vol. I · No. 37 Texas Edition
Wednesday, Nov 4
Texas first. Then the world.
Always free Updated 1 minute ago
Read. React. Discuss.
Tech

Show HN: NES Contra (1987) port (ASM –> C and then C –> WebAssembly)

By tevlon 2 views 0 comments

Based on vermiceli's annotated disassembly of Contra: https://github.com/vermiceli/nes-contra-us. Thanks for the great work.I ported it in two steps. First to C: the game logic is translated routine by routine from the 6502 assembly, and checked frame by frame against the original in the Mesen emulator. Then the C code to WebAssembly so it runs in the browser.The cherry on top: online multiplayer, so two players can play co-op over the internet.Source: https://github.com/epoyraz/nes-contra-us

Comments URL: https://news.ycombinator.com/item?id=50319169

Points: 1

# Comments: 0

Hacker News (Newest) Original story · epoyraz.github.io
Read the full story

Discussion (0)

No comments yet. Start the conversation!