diff options
author | ElectroDeoxys <ElectroDeoxys@gmail.com> | 2021-09-09 08:54:29 +0100 |
---|---|---|
committer | ElectroDeoxys <ElectroDeoxys@gmail.com> | 2021-09-09 08:54:29 +0100 |
commit | 0017fc2d171c87d7bab4c9be90e1069ae95a8071 (patch) | |
tree | c5a7b840c9b86c193b22f3de5317ff55c0a2a5aa /src/home/interrupt.asm | |
parent | 32b02147925566bac93bf71b002860335583574c (diff) |
Remove home bank address comments
Diffstat (limited to 'src/home/interrupt.asm')
-rw-r--r-- | src/home/interrupt.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/home/interrupt.asm b/src/home/interrupt.asm index 4b39271..19709c6 100644 --- a/src/home/interrupt.asm +++ b/src/home/interrupt.asm @@ -1,19 +1,19 @@ ; enable timer interrupt -EnableInt_Timer: ; 02dd (0:02dd) +EnableInt_Timer: ldh a, [rIE] or 1 << INT_TIMER ldh [rIE], a ret ; enable vblank interrupt -EnableInt_VBlank: ; 02e4 (0:02e4) +EnableInt_VBlank: ldh a, [rIE] or 1 << INT_VBLANK ldh [rIE], a ret ; enable lcdc interrupt on hblank mode -EnableInt_HBlank: ; 02eb (0:02eb) +EnableInt_HBlank: ldh a, [rSTAT] or 1 << STAT_MODE_HBLANK ldh [rSTAT], a @@ -25,7 +25,7 @@ EnableInt_HBlank: ; 02eb (0:02eb) ret ; disable lcdc interrupt and the hblank mode trigger -DisableInt_HBlank: ; 02fb (0:02fb) +DisableInt_HBlank: ldh a, [rSTAT] and ~(1 << STAT_MODE_HBLANK) ldh [rSTAT], a |