gb_test2

view hw.inc @ 4:216bdbc75cf4

optionally use the generated chessboard instead of the logo to fit in my 2k test ROM
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 10 Jan 2019 06:38:13 +0200
parents cacfa0888410
children
line source
1 ; vi:ft=rgbasm:
2 REG_P1 equ $ff00
3 REG_LCDC equ $ff40
4 REG_STAT equ $ff41
5 REG_SCY equ $ff42
6 REG_SCX equ $ff43
7 REG_LY equ $ff44
8 REG_LYC equ $ff45
9 REG_BGP equ $ff47
10 REG_OBP0 equ $ff48
11 REG_OBP1 equ $ff49
12 REG_WY equ $ff4a
13 REG_WX equ $ff4b
15 P1_RIGHT equ $01
16 P1_A equ $01
17 P1_LEFT equ $02
18 P1_B equ $02
19 P1_UP equ $04
20 P1_SELECT equ $04
21 P1_DOWN equ $08
22 P1_START equ $08
23 P1_DPAD equ $20
24 P1_BUTTONS equ $10
26 LCDC_BGON equ $01
27 LCDC_OBJON equ $02
28 LCDC_OBJ16 equ $04
29 LCDC_BGMAP_9C00 equ $08
30 LCDC_CHAR_8000 equ $10
31 LCDC_WON equ $20
32 LCDC_WMAP_9C00 equ $40
33 LCDC_DISPON equ $80
35 STAT_MODE_MASK equ $03
36 STAT_LYC equ $04
37 STAT_IE_HBLANK equ $08
38 STAT_IE_VBLANK equ $10
39 STAT_IE_OAM equ $20
40 STAT_IE_LYC equ $40