1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-22 12:30:41 +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:
cuz 2003-02-10 22:19:53 +00:00
parent c9f3497367
commit ee155a8553
6 changed files with 33 additions and 26 deletions

View File

@ -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

View File

@ -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
;
@ -8,7 +10,7 @@
.include "joy-kernel.inc"
.include "joy-error.inc"
.include "c128.inc"
.include "c128.inc"
.macpack generic
@ -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

View File

@ -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
;

View File

@ -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,18 +90,18 @@ 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
joy1:
joy1:
lda #$7F
sta cia1base
lda cia1base+1

View File

@ -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,12 +38,12 @@
; Jump table.
.word INSTALL
.word DEINSTALL
.word UNINSTALL
.word COUNT
.word READ
; ------------------------------------------------------------------------
; Constants
; Constants
JOY_COUNT = 2 ; Number of joysticks we support
@ -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

View File

@ -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