gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 39ab4450fd2b96406e9b80438ddf231491fd23e7 parent 96aa69d11f480fcc8ba0861404e683c813392552 Author: Toxa <untoxa@mail.ru> Date: Mon, 10 Jan 2022 14:53:42 +0300 unify PSG masks definition style Diffstat:
| M | gbdk-lib/include/sms/hardware.h | 14 | +++++++------- |
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/gbdk-lib/include/sms/hardware.h b/gbdk-lib/include/sms/hardware.h @@ -34,15 +34,15 @@ static volatile SFR AT(0x7E) VCOUNTER; static volatile SFR AT(0x7F) PSG; -#define PSGLatch 0x80 -#define PSGData 0x40 +#define PSG_LATCH 0x80 +#define PSG_DATA 0x40 -#define PSGChannel0 0b00000000 -#define PSGChannel1 0b00100000 -#define PSGChannel2 0b01000000 -#define PSGChannel3 0b01100000 +#define PSG_CH0 0b00000000 +#define PSG_CH1 0b00100000 +#define PSG_CH2 0b01000000 +#define PSG_CH3 0b01100000 -#define PSGVolumeData 0b00010000 +#define PSG_VOLUME 0b00010000 static volatile SFR AT(0x7F) HCOUNTER;
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.