Just enabled the Live Demo, check it out https://plrang.github.io/CHIP8-Interpreter-Vanilla-Javascript/ #chip8 #js #javascript #emulator #interpreter #spaceinvaders #retrogames #codingisfun #vanillaJS
#chip8 #js #javascript #emulator #interpreter #spaceinvaders #retrogames #codingisfun #vanillajs
Finally added the source code to Github: "CHIP8 emulator / interpreter in Vanilla JS" https://plrang.com/chip-8-emulator-in-javascript-that-runs-in-the-browser/ #chip8 #js #javascript #emulator #interpreter #spaceinvaders #retrogames #codingisfun #vanillaJS
#chip8 #js #javascript #emulator #interpreter #spaceinvaders #retrogames #codingisfun #vanillajs
C64's "maze" program:
0x60, 0x00, // LD V0 0
0x61, 0x00, // LD V1 0
0x00, 0xe0, // 0x204 CLS
0xC2, 0x01, // 0x206 RND 2 1
0xA3, 0x00, // LD I 300
0x32, 0x01, // SE V2 01
0xA3, 0x08, // LD I 308
0xD0, 0x18, // DRW V0 V1 8
0x70, 0x08, // ADD V0 8
0x30, 0x40, // SE V0 40
0x12, 0x06, // JP 206
0x60, 0x00, // LD V0 0
0x71, 0x08, // ADD V1 8
0x31, 0x20, // SE V1 20
0x12, 0x06, // JP 206
0xf2, 0x0a, // LD V2 K
0x61, 0x00, // LD V1 0
0x12, 0x04, // JP 204
\ and / at 0x300
It's alive! My CHIP-8 interpreter passes all the tests in this test cart: https://github.com/corax89/chip8-test-rom
Next up for today is playing some games, but tomorrow I'll see about adding SUPER-CHIP support.
My first CHIP-8 program 🤗
0x00, 0xE0, //0x200
0x22, 0x06, //0x202
0x12, 0x04, //0x204
0x60, 0x20, //0x206
0x61, 0x10, //0x208
0xA2, 0x10, //0x20A
0xD0, 0x15, //0x20C
0x00, 0xEE, //0x20E
0b11111110, //0x210
0b10111010,
0b11111110,
0b10000010,
0b11111110,
@petterij Oli se huikeaa aikanaan kun sai 2 kilotavun muistinlaajennuksen ja koneen muisti tuplaantui neljään kilotavuun.
Ohjelmia oli aika paljon, yksi hieno oli hirviölabyrintti, josta näköjään löytyy videotakin.
#telmac1800 #chip8 #hirviolabyrintti
Not sure why, but I am intrigued by #Chip8 and related projects, such as https://internet-janitor.itch.io/octo, and a ton of other links: https://github.com/Chromatophore/HP48-Superchip
Not sure what I wanna do with this... make my own emulator that runs in #makecode?
Fifty tic80 carts
#tic80 #chip8 #pico8 #VirtualComputer #fantasycomputer
What to do in a hot summer day? Coding an emulator of a computer from the 70s for computers from the 80s, of course!
I know, I suck at games, especially lunar lander...
#assembly #c64 #retrocomputing #emulation #chip8
[Blogged] Introducing chipolata: a #CHIP8 interpreter – https://williamdurand.fr/2021/01/27/introducing-chipolata-a-chip8-interpreter/ #rust #webassembly