Chipo, a Chip-8 Emulator
=====================================
This is a web version of Chipo compiled using Web Assembly. You can use it to create your own Chip-8 programs and down them for your emulator!
Upload your c8 file:
[LOAD]
[DOWNLOAD]
TEST ROMS:
- Chipo.s
- Timer.s
- Test.s
- Audio.s
- Keyboard.s
xxxxxxxxxx1
; ___ _ _ _ __ 2
; / __|| |_ (_)| '_ \ ___ 3
; | (__ | \ | || .__// _ \4
; \___||_||_||_||_| \___/5
; ===========================6
; An assembly targeting Chip-87
; ===========================8
9
.data ; defines sprites10
stripe: 0xF000 0xF000 0xF00011
h: 0x9090 0xF090 0x900012
i_letter: 0x7020 0x2020 0x700013
p: 0xE090 0xE080 0x800014
15
.code ; start code16
ld v0, 1017
ld v1, 1218
19
ld i, stripe20
call next21
22
ld v3, 0xC23
ld f, v324
call next25
26
ld i, h27
call next28
29
ld i, i_letter30
call next31
32
ld i, p33
call next34
35
ld v3, 036
ld f, v337
call next38
39
ld i, stripe40
call next41
42
ld v2, k43
ret[Save][Clear][Run][Stop]
=====================================
Settings
Auto-save: [x]
Auto-run: [x]
=====================================
TODO
This web version is not yet complete.
- [x] Keyboard interaction
- [ ] Binary import/export
- [ ] Add more ROMs
=====================================
About
You can find the sources for the emulator on Github. This web page was built using the following tools :
- CodeMirror for the editor
- WASM-Pack to compile the rust sources to Web Assembly
- The Press Start 2P font