Switch to full stage
Loading Project
Loading project …

Instructions

Buttons: Z = A, X = B, Space = Start, C = Select, Arrows = Dpad Click the cartridge to import a custom ROM. Click "PLAY" to start! Tool for converting ROMS: https://dl.dropbox.com/u/12239448/gbrc/index.html Open the ROM and then copy the output into a text file. FIX FOR CHROME FREEZE BUG: http://scratch.mit.edu/projects/embed/31273712/?autostart=false Supported Games: Dr Mario (perfect) Super Mario Land (minor graphical glitches) Super Mario Land 2 (slow) Pokemon Red (cannot leave bedroom. everything else works)

Notes and Credits

FAQ available below. Much better than the previous available version. Contains an experimental UI and double scales the graphics (toggleable via list), supports MBC1,3,5 and has basic audio support (sq1 and sq2) I encourage everyone to look at the code and play around to see if you can make it faster or fix any bugs that I missed! There is still one remaining severe instruction bug causing Pokemon Red's intro to skip, its save checksum to fail on initial generation and stopping the stairs to downstairs from working. I'm still attempting to fix this and hope to get it done this weekend so that I can experiment with some performance enhancement changes. FAQ: Q: Does it run Pokemon yet? A: Yes, actually! Can't get far enough to get into a battle though. Q: Why is it so slow? A: Per pixel Graphics and CPU emulation take a lot of time, especially when HALT instructions are not used. This can be pinned down to excessive processing per cycle in the timing emulation (vblank, interrupt polling and timer) and the crazy if/else chain I'm using instead of a function lookup table. It should be possible to clean this up in the future. Q: How do I run other games? A: See the Instructions. Q: What types of games run? A: Games that use MBCs 1, 3 or 5 should run. (most nintendo licensed games and homebrew) Q: Can you please improve the sound emulation? A: I understand your plight, but it won't be possible to make it sound much better unless the game is running at an acceptable speed.

TurboWarp is a Scratch mod that compiles projects to JavaScript to make them run really fast. Try it out by inputting a project ID or URL above or choosing a featured project below.