diff options
author | Astatin <[email protected]> | 2024-08-06 18:45:46 +0900 |
---|---|---|
committer | Astatin <astatin@redacted> | 2024-08-06 18:45:46 +0900 |
commit | a993a0f632dfddcd5bf55bd4219492a66f22d5d1 (patch) | |
tree | 778bc1a390e8c56ddede1467c047e5c8751f41ff /init.gbasm | |
parent | e20e0ce42d1c1fc65cea1a655d64f2c9b2efc17a (diff) |
Bunny now change direction and F O L I A G E
Diffstat (limited to 'init.gbasm')
-rw-r--r-- | init.gbasm | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -19,7 +19,7 @@ Checksum: ; The bytes 0x134-0x14d need to add up to 0xe7 (= 0xff - 0x19) .DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$e7 Empty_VRAM: ; (Clear screen) - LD hl, $8000 ; We set the HL register to the start of VRAM + LD hl, $VRAM_start ; We set the HL register to the start of VRAM Empty_VRAM.loop: XOR A @@ -29,24 +29,20 @@ Empty_VRAM.loop: JR NZ, =Empty_VRAM.loop ; BG Palette - LD DE, $ff47 LD A, $e4 - LD (DE), A + LD $reg_bg_palette, A ; OBJ0 Palette - LD DE, $ff48 LD A, $e4 - LD (DE), A + LD $reg_obj0_palette, A ; LCDC - LD DE, $ff40 - LD A, (DE) + LD A, $reg_lcd_controller OR $06 - LD (DE), A + LD $reg_lcd_controller, A ; Interrupts - LD DE, $ffff LD A, $01 - LD (DE), A + LD $reg_interrupt_enable, A JP =Entrypoint |