CHIP-8 Emulator p3: More Opcodes, up to 0xBNNN (C / SDL2)

Channel:
Subscribers:
5,840
Published on ● Video Link: https://www.youtube.com/watch?v=iCwFiYZ5HdY



Duration: 1:01:47
475 views
16


Emulating more instructions, up to 0xBNNN. Fairly boring, but necessary.
I also get confused over being unable to read, as is tradition.

Errata:
- I thought setting VF/carry flag before computations was OK, but that is not true if VF itself is used in the computations, and maybe in other cases. There will be an "extra" part after part 5 (the original ending...) as I found a better test rom and will rectify these mistakes then.

Git Repos:
https://git.sr.ht/~queso_fuego/chip8_emulator_c
https://github.com/queso-fuego/chip8_emulator_c

Join the Community Discord: https://discord.gg/yKm4T89QFn

Links:
https://github.com/kripod/chip8-roms
https://github.com/cj1128/chip8-emulator/tree/master/rom (for BC_test.ch8)
https://github.com/corax89/chip8-test-rom
https://archive.org/details/bitsavers_rcacosmacCManual1978_6956559/ (COSMAC VIP instruction manual)

Contact:
email: fuegoqueso@gmail.com
twitter: @Queso_Fuego
twitch (if I stream again, maybe on youtube idk): https://www.twitch.tv/queso_fuego

Questions about setup/software/etc.?
Check the FAQ: https://queso_fuego.srht.site/about.html

0:00 conditionals 0x3XNN, 0x4XNN, 0x5XNN
19:27 "ALU" operations 0x8XY0-0x8XYE
50:11 0x9XY0 & 0xBNNN
58:52 wrap up & outro

Music:
Downtown Glow by Ghostrifter & Devyzed
Creative Commons — Attribution-NoDerivs 3.0 Unported — CC BY-ND 3.0
Music promoted by https://www.chosic.com/free-music/all/

#chip8 #emulator #programming







Tags:
queso fuego
emulation
chip8
chip8 emulator
sdl2
sdl
c programming
opcodes
test rom