1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-12-23 23:30:22 +00:00
millfork/examples/a8/dli-example.mfk

24 lines
356 B
Plaintext
Raw Normal View History

2020-09-06 23:29:53 +00:00
const word dlAddr = $3000
const word dliAddr = $3100
const array(byte) dl @ dlAddr = [
$70,$70,$70,
$42,$00,$40,2,2,2,2,$f0,2,2,2,2,
2020-09-07 22:08:43 +00:00
$41,lo(dlAddr),hi(dlAddr)
2020-09-06 23:29:53 +00:00
]
word SDLST @ $230
interrupt void dli() @ dliAddr {
gtia_colpf2 = $de
antic_wsync = 1
}
void main() {
SDLST = dl.addr
os_VDSLST = dli.addr
antic_nmien = $c0
while true {}
}