diff options
| author | Colton G. Rushton <colton51919@gmail.com> | 2022-07-04 02:10:16 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-04 01:10:16 -0400 |
| commit | e4b452a0404fa6f98a6ddc0489642f5b91b0c6f9 (patch) | |
| tree | c01bde33b4d19edb5dce2f0690e35a7036f37e2d | |
| parent | party_struct constants and ExchangeBytes size (#91) (diff) | |
| download | pokeyellow-e4b452a0404fa6f98a6ddc0489642f5b91b0c6f9.tar.gz pokeyellow-e4b452a0404fa6f98a6ddc0489642f5b91b0c6f9.tar.xz pokeyellow-e4b452a0404fa6f98a6ddc0489642f5b91b0c6f9.zip | |
Identify the rest of the hardware constants (#96)
See https://github.com/pret/pokecrystal/pull/972 and https://github.com/pret/pokecrystal/pull/947 for details.
| -rw-r--r-- | constants/hardware_constants.asm | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/constants/hardware_constants.asm b/constants/hardware_constants.asm index 0cc83383..fba15087 100644 --- a/constants/hardware_constants.asm +++ b/constants/hardware_constants.asm @@ -119,12 +119,8 @@ DEF rBGPI EQU $ff68 ; CGB Mode Only - Background Palette Index DEF rBGPD EQU $ff69 ; CGB Mode Only - Background Palette Data DEF rOBPI EQU $ff6a ; CGB Mode Only - Sprite Palette Index DEF rOBPD EQU $ff6b ; CGB Mode Only - Sprite Palette Data -DEF rUNKNOWN1 EQU $ff6c ; (FEh) Bit 0 (Read/Write) - CGB Mode Only +DEF rOPRI EQU $ff6c ; CGB Mode Only - Object Priority Mode DEF rSVBK EQU $ff70 ; CGB Mode Only - WRAM Bank -DEF rUNKNOWN2 EQU $ff72 ; (00h) - Bit 0-7 (Read/Write) -DEF rUNKNOWN3 EQU $ff73 ; (00h) - Bit 0-7 (Read/Write) -DEF rUNKNOWN4 EQU $ff74 ; (00h) - Bit 0-7 (Read/Write) - CGB Mode Only -DEF rUNKNOWN5 EQU $ff75 ; (8Fh) - Bit 4-6 (Read/Write) -DEF rUNKNOWN6 EQU $ff76 ; (00h) - Always 00h (Read Only) -DEF rUNKNOWN7 EQU $ff77 ; (00h) - Always 00h (Read Only) +DEF rPCM12 EQU $ff76 ; Channels 1 & 2 Amplitude (R) +DEF rPCM34 EQU $ff77 ; Channels 3 & 4 Amplitude (R) DEF rIE EQU $ffff ; Interrupt Enable (R/W) |
