blob: 7057f75536ad2a55ae6d571c18adc9052feb966b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
LCDC:: ; 15ac (0:15ac)
push af
ld a,[hLCDCPointer] ; doubles as enabling byte
and a
jr z,.noLCDCInterrupt
push hl
ld a,[rLY]
ld l,a
ld h,$c7
ld h,[hl] ; h != not part of pointer
ld a,[hLCDCPointer]
ld l,a
ld a,h
ld h,$ff
ld [hl],a
pop hl
.noLCDCInterrupt
pop af
reti
|