mirror of
https://github.com/cc65/cc65.git
synced 2025-08-15 21:27:43 +00:00
Renamed the DEINSTALL vector to UNINSTALL.
Added a comment regarding usage of the driver when it is linked statically to the application. git-svn-id: svn://svn.cc65.org/cc65/trunk@1952 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
;
|
||||
; Standard joystick driver for the Atari
|
||||
; Standard joystick driver for the Atari. May be used multiple times when linked
|
||||
; to the statically application.
|
||||
;
|
||||
; Ullrich von Bassewitz, 2002-12-21
|
||||
; Using the readjoy code from Christian Groessler
|
||||
@@ -38,7 +39,7 @@
|
||||
; Jump table.
|
||||
|
||||
.word INSTALL
|
||||
.word DEINSTALL
|
||||
.word UNINSTALL
|
||||
.word COUNT
|
||||
.word READJOY
|
||||
|
||||
@@ -68,11 +69,11 @@ INSTALL:
|
||||
; rts ; Run into DEINSTALL instead
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
; DEINSTALL routine. Is called before the driver is removed from memory.
|
||||
; UNINSTALL routine. Is called before the driver is removed from memory.
|
||||
; Can do cleanup or whatever. Must not return anything.
|
||||
;
|
||||
|
||||
DEINSTALL:
|
||||
UNINSTALL:
|
||||
rts
|
||||
|
||||
|
||||
|
@@ -1,5 +1,7 @@
|
||||
;
|
||||
; Standard joystick driver for the C128
|
||||
; Standard joystick driver for the C128. May be used multiple times when linked
|
||||
; to the statically application.
|
||||
|
||||
;
|
||||
; Ullrich von Bassewitz, 2002-12-21
|
||||
;
|
||||
@@ -37,7 +39,7 @@
|
||||
; Jump table.
|
||||
|
||||
.word INSTALL
|
||||
.word DEINSTALL
|
||||
.word UNINSTALL
|
||||
.word COUNT
|
||||
.word READ
|
||||
|
||||
@@ -67,11 +69,11 @@ INSTALL:
|
||||
; rts ; Run into DEINSTALL instead
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
; DEINSTALL routine. Is called before the driver is removed from memory.
|
||||
; UNINSTALL routine. Is called before the driver is removed from memory.
|
||||
; Can do cleanup or whatever. Must not return anything.
|
||||
;
|
||||
|
||||
DEINSTALL:
|
||||
UNINSTALL:
|
||||
rts
|
||||
|
||||
|
||||
|
@@ -1,5 +1,6 @@
|
||||
;
|
||||
; Standard joystick driver for the Plus/4
|
||||
; Standard joystick driver for the C16. May be used multiple times when linked
|
||||
; to the statically application.
|
||||
;
|
||||
; Ullrich von Bassewitz, 2002-12-21
|
||||
;
|
||||
|
@@ -1,5 +1,6 @@
|
||||
;
|
||||
; Standard joystick driver for the C64
|
||||
; Standard joystick driver for the C64. May be used multiple times when linked
|
||||
; to the statically application.
|
||||
;
|
||||
; Ullrich von Bassewitz, 2002-12-20
|
||||
;
|
||||
@@ -37,7 +38,7 @@
|
||||
; Jump table.
|
||||
|
||||
.word INSTALL
|
||||
.word DEINSTALL
|
||||
.word UNINSTALL
|
||||
.word COUNT
|
||||
.word READ
|
||||
|
||||
@@ -67,11 +68,11 @@ INSTALL:
|
||||
; rts ; Run into DEINSTALL instead
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
; DEINSTALL routine. Is called before the driver is removed from memory.
|
||||
; UNINSTALL routine. Is called before the driver is removed from memory.
|
||||
; Can do cleanup or whatever. Must not return anything.
|
||||
;
|
||||
|
||||
DEINSTALL:
|
||||
UNINSTALL:
|
||||
rts
|
||||
|
||||
|
||||
@@ -89,13 +90,13 @@ COUNT:
|
||||
;
|
||||
|
||||
READ: php
|
||||
sei ; disable IRQ
|
||||
sei ; disable IRQ
|
||||
lda $01
|
||||
pha
|
||||
lda #$35
|
||||
sta $01 ; enable I/O
|
||||
|
||||
tax ; Joystick number into X
|
||||
tax ; Joystick number into X
|
||||
bne joy2
|
||||
|
||||
; Read joystick 1
|
||||
|
@@ -1,5 +1,6 @@
|
||||
;
|
||||
; Standard joystick driver for the Plus/4
|
||||
; Standard joystick driver for the Plus/4. May be used multiple times when linked
|
||||
; to the statically application.
|
||||
;
|
||||
; Ullrich von Bassewitz, 2002-12-21
|
||||
;
|
||||
@@ -37,7 +38,7 @@
|
||||
; Jump table.
|
||||
|
||||
.word INSTALL
|
||||
.word DEINSTALL
|
||||
.word UNINSTALL
|
||||
.word COUNT
|
||||
.word READ
|
||||
|
||||
@@ -67,11 +68,11 @@ INSTALL:
|
||||
; rts ; Run into DEINSTALL instead
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
; DEINSTALL routine. Is called before the driver is removed from memory.
|
||||
; UNINSTALL routine. Is called before the driver is removed from memory.
|
||||
; Can do cleanup or whatever. Must not return anything.
|
||||
;
|
||||
|
||||
DEINSTALL:
|
||||
UNINSTALL:
|
||||
rts
|
||||
|
||||
|
||||
|
@@ -1,5 +1,6 @@
|
||||
;
|
||||
; Standard joystick driver for the VIC20
|
||||
; Standard joystick driver for the VIC20. May be used multiple times when linked
|
||||
; to the statically application.
|
||||
;
|
||||
; Ullrich von Bassewitz, 2002-12-20
|
||||
; Using code from Steve Schmidtke
|
||||
@@ -38,7 +39,7 @@
|
||||
; Jump table.
|
||||
|
||||
.word INSTALL
|
||||
.word DEINSTALL
|
||||
.word UNINSTALL
|
||||
.word COUNT
|
||||
.word READ
|
||||
|
||||
@@ -68,11 +69,11 @@ INSTALL:
|
||||
; rts ; Run into DEINSTALL instead
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
; DEINSTALL routine. Is called before the driver is removed from memory.
|
||||
; UNINSTALL routine. Is called before the driver is removed from memory.
|
||||
; Can do cleanup or whatever. Must not return anything.
|
||||
;
|
||||
|
||||
DEINSTALL:
|
||||
UNINSTALL:
|
||||
rts
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user