]> git.sur5r.net Git - cc65/commitdiff
Renamed the DEINSTALL vector to UNINSTALL.
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 10 Feb 2003 22:19:53 +0000 (22:19 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 10 Feb 2003 22:19:53 +0000 (22:19 +0000)
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

libsrc/atari/atari-stdjoy.s
libsrc/c128/c128-stdjoy.s
libsrc/c16/c16-stdjoy.s
libsrc/geos/devel/geos-stdjoy.s
libsrc/plus4/plus4-stdjoy.s
libsrc/vic20/vic20-stdjoy.s

index 597159ec40d1402d6074cfb6f010bd6e62a63a30..b0f9c0cdd317c9d581e82e88edeb6455409d693c 100644 (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
 
 
index 811779a01e9f47b10a4ca249a29c7b8d1acfc524..ba00187012590ba38e52a2217a19126628ca3e0d 100644 (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
 
 
index 67816909b1c14495642fa57d89cbb8102e717206..506ebaa23a798ce56a0f0075c42d1f44835dee14 100644 (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
 ;
index b161495454c84270cc839d7c0e81343a210dbaf5..56fb3179c9dfd69985e4efdb02569f97e29241e9 100644 (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
index 5011397d48e8d258e3b214972abfd3f63cb2437b..ed5af58ebfebcba8c7149c2379ef28c0275b17db 100644 (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
 ;
 ; 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
 
 
index 6d725a702433c78d51bb9910a5a6136330096b05..313f69410ce3fbc68050e423d360db3e7794af29 100644 (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