gameboy Questions
1
I'm writing an emulator for the game boy color (for fun). I've found tonnes of resources and references for the original game boy's hardware, namely Imran Nazar's tutorial (http://imrannazar.com/Ga...
4
Solved
As part of the work I've been doing to answer this question about the technical workings of a glitch in Pokémon Red, I've been looking for a way to use a standard debugger to debug a Game Boy ROM. ...
Koodoo asked 4/8, 2011 at 2:47
3
Solved
The Game Boy Z80 CPU has a half-carry flag, and I can't seem to find much information about when to set/clear it.
What I understand so far is that any 8-bit add, subtract, shift, or rotate operati...
2
Solved
Like so many others, I am writing a Game Boy emulator and I have a couple of questions regarding the instruction 0xE8 (ADD SP, n with an 8-bit immediate).
It is claimed here that in 16-bit instruc...
Memorialist asked 16/9, 2019 at 14:8
3
Solved
I've tried to decode the following bitmap using the background pallete scheme described at http://imrannazar.com/GameBoy-Emulation-in-JavaScript:-Graphics
CE ED 66 66 CC 0D 00 0B 03 73 00 83 00 ...
Schechinger asked 14/1, 2014 at 17:24
1
Solved
Since the Gameboy's processor, the LR35902, is a hybrid of the Z80 and the Intel 8080, keeping in mind that the Z80 and the Intel 8080 were designed to be mostly cross-compatible anyways, could any...
Storer asked 24/8, 2018 at 17:8
2
Solved
While looking through the Gameboy's instruction set, I came across instructions such as:
LD A, A
LD B, B
LD C, C
LD D, D
...
Each of these instructions has it's own opcode in this table, which ...
2
Solved
This is not a homework problem, it's for a game I'm developing.
I have two 16-bit RGB colors, and would like to vary their six channels according to six other four-bit quantities. The algorithm is...
Samirasamisen asked 15/5, 2017 at 14:16
1
Solved
Hello I'm writing an emulator for Game Boy.
I use this reference : Gameboy CPU (LR35902) instruction set
This document states that opcodes :
0xE2 LD (C),A
and
0xF2 LD A,(C)
have a length of...
3
Solved
im am writing a simple emulator in go (should i? or should i go back to c?).
anyway, i am fetching the instruction and decoding it. at this point i have a byte like 0x81, and i have to execute the ...
1
Solved
Could someone please explain what the opcode 0x08 does on the LR35902 processor. The mnemonic is LD (a16),SP.
I'm confused because the stack pointer is a 16-bit value but (a16) is an address to so...
2
Solved
I have begun programming an emulator for the Gameboy classic, my next project after a successful Chip 8 Emulator.
As a reference I use the GameBoy CPU Manual.
Now on page 66 it says:
LD A,(HL) 7...
Shuddering asked 4/1, 2016 at 13:19
1
Solved
On the page 87 of the Game Boy CPU Manual it is claimed that the CP n instruction sets the carry flag when there was no borrow and that it means that A < n. This seems to conflict itself, becaus...
1
Solved
According to Gameboy Programming Manual,
HALT mode is canceled by the following events, which have the starting addresses indicated.
A LOW signal to the /RESET terminal Starting address: 0x...
Bloodcurdling asked 27/5, 2015 at 16:5
3
Solved
I've been working on a Game Boy emulator, and I've noticed that there are certain opcodes that exist that would never change any values, such as LD A, A, LD B, B, etc. and also AND A. The first one...
1
I was reading a tutorial about creating a Game Boy emulator, I understand that the Game Boy uses an 8-bit CPU, but I can't understand why the Gameboy uses two types of data: bytes (8 bits) and word...
1
Solved
I am making a game for the GameBoy in GBDK, and I'm trying to add sounds to the game. GBDK has a function that plays sounds from an array of values, the only problem is that while its playing the s...
3
Solved
Possible Duplicate:
How do emulators work and how are they written?
I'd like to try writing a basic gameboy emulator, or maybe even NES. I know the basics of C and I'm fairly good at ...
1
Solved
2
Solved
On Gameboy Z80, exactly how does the LD HL,(SP+e) operation affect H and C flags? (Half-carry + carry)
Reference: http://www.devrs.com/gb/files/opcodes.html
1
© 2022 - 2024 — McMap. All rights reserved.