X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libsrc%2Fc128%2Fmou%2Fc128-pot.s;h=2568445f1b5d9ec3f4c05b4ffba3f3a3ad5c9400;hb=f5e7e92a3512381c6bf5c2675c6cbc19d964bc13;hp=2713e3f4fd7f0179cf79521aba0d11da5d9e8914;hpb=85885001b133e2dc320b6f6459259afa69784ca8;p=cc65 diff --git a/libsrc/c128/mou/c128-pot.s b/libsrc/c128/mou/c128-pot.s index 2713e3f4f..2568445f1 100644 --- a/libsrc/c128/mou/c128-pot.s +++ b/libsrc/c128/mou/c128-pot.s @@ -23,7 +23,11 @@ HEADER: .byte $6d, $6f, $75 ; "mou" .byte MOUSE_API_VERSION ; Mouse driver API version number -; Jump table. +; Library reference + + .addr $0000 + +; Jump table .addr INSTALL .addr UNINSTALL @@ -42,6 +46,8 @@ HEADER: CHIDE: jmp $0000 ; Hide the cursor CSHOW: jmp $0000 ; Show the cursor +CPREP: jmp $0000 ; Prepare to move the cursor +CDRAW: jmp $0000 ; Draw the cursor CMOVEX: jmp $0000 ; Move the cursor to X coord CMOVEY: jmp $0000 ; Move the cursor to Y coord @@ -80,10 +86,11 @@ Buttons: .res 1 ; Button mask Temp: .res 1 -; Default values for above variables - .rodata +; Default values for above variables +; (We use ".proc" because we want to define both a label and a scope.) + .proc DefVars .word SCREEN_HEIGHT/2 ; YPos .word SCREEN_WIDTH/2 ; XPos @@ -292,7 +299,8 @@ IOCTL: lda #