diff options
Diffstat (limited to 'init.gbasm')
-rw-r--r-- | init.gbasm | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -71,6 +71,20 @@ Empty_VRAM: ; (Clear screen) LD A, $40 LD $reg_lcd_status, A + ; Window position + LD A, $ff + LD $reg_window_pos_x, A + +Initialize_Window_GUI: + LD HL, $9c20 + Initialize_Window_GUI.loop: + LD A, $10 + LD (HL+), A + + LD A, L + CP $40 + JR NZ, =Initialize_Window_GUI.loop + Copy_OAM_DMA_Transfer_Routine_To_HRAM: LD HL, $OAM_DMA_Transfer_routine LD DE, =OAM_DMA_Transfer_routine_src |