Cartridge Player
.prg32 cartridge in this browser: its RISC-V code runs in the PRG32 core, compiled to WebAssembly from PRG32-QT.| Left / Right / Up / Down | ← → ↑ ↓ or A D W S |
| A | Z or J |
| B | X or K |
| Select / Start | Enter or Space |
The same RV32IMAC interpreter and PRG32 ABI 1.6 as PRG32-QT, compiled to WebAssembly. Guest time counts 33 ms per frame whatever the speed, so a game runs the same at 0.1× and 4×.
Sound is an approximation of PRG32-QT's mixer. See the guide.
New to this? Read Lesson 7: the debugger.
The blue row is the next instruction the processor will run. Click the grey space left of an address to put a ● breakpoint there: the game stops just before it runs that line.
Address outside guest memory
Source and block debugging: open a cartridge compiled in the kit (Compile, then Run & debug).
Press a line number of game.py to put a ● breakpoint on that Python line.
Press a line number to put a ● breakpoint on that line.