1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-06-12 06:29:34 +00:00

dli example

This commit is contained in:
zbyti 2020-09-07 01:29:53 +02:00
parent 06e5da4e66
commit 19de4085d7

View File

@ -0,0 +1,23 @@
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,
$41,$00,$30
]
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 {}
}