mirror of
https://github.com/KarolS/millfork.git
synced 2025-01-01 06:29:53 +00:00
dli example
This commit is contained in:
parent
06e5da4e66
commit
19de4085d7
23
examples/a8/dli-example.mfk
Normal file
23
examples/a8/dli-example.mfk
Normal 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 {}
|
||||
}
|
Loading…
Reference in New Issue
Block a user