Super MarioScript: Tools and Tips for NES development
summary
A demo shows a homemade JS-to-6502 compiler that converts JavaScript into 6502 assembly, uses NPM modules and falafel, compiles with NESAsender, and produces a ROM that runs on a writable cartridge. Concrete constraints justify choices: a 1.79 MHz CPU, 2 KB RAM, ~56 usable colors, 8x8 sprites and only 8 sprites per scanline. The build edits palettes and CSV map data, compiles live, and the resulting ROM actually runs and displays the changed graphics.
AI-written summary · about
chapters (11)
- 0:00Introduction to NES
- 1:34Speaker background
- 3:01Technical constraints
- 7:25Demo and examples
- 9:07Embracing constraints
- 11:19Browser constraints
- 12:22Learning new things
- 15:55Nesting JS tools
- 18:44Live coding demo
- 22:19Lessons and community
- 24:12Conclusion and resources
related talks
30mHacking your Nintendo with JavaScript.
23mAmazing Things One Can Do With JS and the NES
30mControlling the NES with Javascript
12mWriting NES Games! with Assembly!!
25mAfter After Dark: Building Strange Screensavers with Javascript
29mEmulating With JavaScript
40mGame Development in Eight Bits
46mEmulating the NES/Famicom/Dendy with Web Technologies
