File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2828;* Rev 4.0 - 03-May-21 : Updated to use RGBDS 0.5.0 syntax, changed IEF_LCDC to IEF_STAT (Eievui)
2929;* Rev 4.1 - 16-Aug-21 : Added more flags, bit number defines, and offset constants for OAM and window positions (rondnelson99)
3030;* Rev 4.2 - 04-Sep-21 : Added CH3- and CH4-specific audio registers flags (ISSOtm)
31+ ;* Rev 4.3 - 07-Nov-21 : Deprecate VRAM address constants (Eievui)
3132
3233IF __RGBDS_MAJOR__ == 0 && __RGBDS_MINOR__ < 5
3334 FAIL "This version of 'hardware.inc' requires RGBDS version 0.5.0 or later."
@@ -47,9 +48,6 @@ MACRO rev_Check_hardware_inc
4748ENDM
4849
4950DEF _VRAM EQU $8000 ; $8000->$9FFF
50- DEF _VRAM8000 EQU _VRAM
51- DEF _VRAM8800 EQU _VRAM+$800
52- DEF _VRAM9000 EQU _VRAM+$1000
5351DEF _SCRN0 EQU $9800 ; $9800->$9BFF
5452DEF _SCRN1 EQU $9C00 ; $9C00->$9FFF
5553DEF _SRAM EQU $A000 ; $A000->$BFFF
955953; Deprecated constants. Please avoid using.
956954
957955DEF IEF_LCDC EQU %00000010 ; LCDC (see STAT)
956+ DEF _VRAM8000 EQU _VRAM
957+ DEF _VRAM8800 EQU _VRAM+$800
958+ DEF _VRAM9000 EQU _VRAM+$1000
958959
959960 ENDC ;HARDWARE_INC
You can’t perform that action at this time.
0 commit comments