comments
This commit is contained in:
@@ -252,7 +252,7 @@ Start:
|
|||||||
|
|
||||||
; enable v-blank and lcd stat interrupt for h-blank
|
; enable v-blank and lcd stat interrupt for h-blank
|
||||||
; rendering routine is too slow for lcdc right now so disabled
|
; rendering routine is too slow for lcdc right now so disabled
|
||||||
ld a, IEF_VBLANK; | IEF_LCDC
|
ld a, IEF_VBLANK ;| IEF_LCDC
|
||||||
ld [rIE], a
|
ld [rIE], a
|
||||||
xor a
|
xor a
|
||||||
ei
|
ei
|
||||||
@@ -482,7 +482,8 @@ LCDStatInterruptHandler:
|
|||||||
; copy one byte
|
; copy one byte
|
||||||
ld a, [hl+]
|
ld a, [hl+]
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc e
|
inc e ; it will never overflow since it only increments
|
||||||
|
; up to 20 bytes starting on 32 byte boundaries
|
||||||
|
|
||||||
; loop while there are tiles to render
|
; loop while there are tiles to render
|
||||||
dec c
|
dec c
|
||||||
|
|||||||
Reference in New Issue
Block a user