Search found 4 matches

by Alyrikki256
Tue Oct 09, 2018 5:21 am
Forum: GBDev
Topic: GB Emulator - Issues with cpu_instrs
Replies: 1
Views: 7351

GB Emulator - Issues with cpu_instrs

Hi there! I've been working on my own Game Boy emulator for a while now (I made a post several months ago on here, but much progress has been made since). Recently I've added MBC1 support so I can test the main cpu_instrs.gb test ROM. It seems to run fine until it starts actually testing. This is th...
by Alyrikki256
Sat Jun 09, 2018 7:02 am
Forum: GBDev
Topic: Problems with GB emulator
Replies: 4
Views: 7154

Re: Problems with GB emulator

I see, but it seems strange that I'd need to fill out every single byte by myself. Am I missing something?
by Alyrikki256
Sat Jun 09, 2018 6:31 am
Forum: GBDev
Topic: Problems with GB emulator
Replies: 4
Views: 7154

Re: Problems with GB emulator

Seems weird, as I have looked at other emulators' source code, and the integer is only 8 bits (unsigned). If I made the bytes $FF, it would overflow, since A is already $19.
by Alyrikki256
Sat Jun 09, 2018 4:37 am
Forum: GBDev
Topic: Problems with GB emulator
Replies: 4
Views: 7154

Problems with GB emulator

Hi! I've been boring on a Game Boy emulator to learn more about how CPUs work on a low level. I'm using the DMG_ROM.bin for testing my emulator, and for the most part, it's working. I'm gonna post the final lines of code I've been having issues with below. Addr_00F4: ADD (HL) ; $00f4 INC HL ; $00f5 ...