From 993f6a5a16ed40f0e21f20173be7c76de76f677f Mon Sep 17 00:00:00 2001 From: cuz Date: Mon, 10 Feb 2003 22:59:45 +0000 Subject: [PATCH] Renamed DEINSTALL to UNINSTALL git-svn-id: svn://svn.cc65.org/cc65/trunk@1960 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/cbm510/cbm510-ram.s | 15 ++++++++------- libsrc/cbm610/cbm610-ram.s | 15 ++++++++------- libsrc/geos/devel/geos-vdc.s | 12 ++++++------ 3 files changed, 22 insertions(+), 20 deletions(-) diff --git a/libsrc/cbm510/cbm510-ram.s b/libsrc/cbm510/cbm510-ram.s index 885e0f5ff..3b91f0bb9 100644 --- a/libsrc/cbm510/cbm510-ram.s +++ b/libsrc/cbm510/cbm510-ram.s @@ -1,5 +1,6 @@ ; -; Extended memory driver for the CBM510 additional RAM banks +; Extended memory driver for the CBM510 additional RAM banks. Driver works +; without problems when linked statically. ; ; Ullrich von Bassewitz, 2002-12-09 !!! UNTESTED !!! ; @@ -26,7 +27,7 @@ ; Jump table. .word INSTALL - .word DEINSTALL + .word UNINSTALL .word PAGECOUNT .word MAP .word USE @@ -43,10 +44,9 @@ OFFS = 2 ; ------------------------------------------------------------------------ ; Data. -.data -curpage: .byte $FF ; Current page number (invalid) - .bss +curpage: .res 1 ; Current page number + window: .res 256 ; Memory "window" pagecount: .res 1 ; Number of available pages @@ -62,6 +62,7 @@ pagecount: .res 1 ; Number of available pages INSTALL: lda #$FF + sta curpage ; Invalidate the current page ldx UsrMemTop+2 cpx #RAMBANK ; Top of memory in bank 2? @@ -75,11 +76,11 @@ INSTALL: rts ; ------------------------------------------------------------------------ -; 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 diff --git a/libsrc/cbm610/cbm610-ram.s b/libsrc/cbm610/cbm610-ram.s index 79a496df3..2798f83ad 100644 --- a/libsrc/cbm610/cbm610-ram.s +++ b/libsrc/cbm610/cbm610-ram.s @@ -1,5 +1,6 @@ ; -; Extended memory driver for the CBM610 additional RAM banks +; Extended memory driver for the CBM610 additional RAM banks. Driver works +; without problems when linked statically. ; ; Ullrich von Bassewitz, 2002-12-09 !!! UNTESTED !!! ; @@ -26,7 +27,7 @@ ; Jump table. .word INSTALL - .word DEINSTALL + .word UNINSTALL .word PAGECOUNT .word MAP .word USE @@ -43,10 +44,9 @@ OFFS = 2 ; ------------------------------------------------------------------------ ; Data. -.data -curpage: .byte $FF ; Current page number (invalid) - .bss +curpage: .res 1 ; Current page number + window: .res 256 ; Memory "window" pagecount: .res 1 ; Number of available pages @@ -62,6 +62,7 @@ pagecount: .res 1 ; Number of available pages INSTALL: lda #$FF + sta curpage ; Invalidate the current page ldx UsrMemTop+2 cpx #RAMBANK ; Top of memory in bank 2? @@ -75,11 +76,11 @@ INSTALL: rts ; ------------------------------------------------------------------------ -; 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 diff --git a/libsrc/geos/devel/geos-vdc.s b/libsrc/geos/devel/geos-vdc.s index 1265fc457..6318ff88c 100644 --- a/libsrc/geos/devel/geos-vdc.s +++ b/libsrc/geos/devel/geos-vdc.s @@ -1,7 +1,7 @@ ; ; Extended memory driver for the VDC RAM available on all C128 machines ; version for GEOS enters safe I/O config on C64 (transparent on C128) -; +; ; Maciej 'YTM/Elysium' Witkowiak ; 06,20,25.12.2002 @@ -27,7 +27,7 @@ ; Jump table. .word INSTALL - .word DEINSTALL + .word UNINSTALL .word PAGECOUNT .word MAP .word USE @@ -152,11 +152,11 @@ settestadr2: jmp vdcsetsrcaddr ; ------------------------------------------------------------------------ -; 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: ;on C128 restore font and clear the screen? rts @@ -284,7 +284,7 @@ COPYFROM: jsr setup beq @L2 ; Skip if no full pages -; Copy full pages +; Copy full pages @L1: jsr transferin inc ptr1+1 @@ -328,7 +328,7 @@ COPYTO: jsr setup beq @L2 ; Skip if no full pages -; Copy full pages +; Copy full pages @L1: jsr transferout inc ptr1+1 -- 2.39.5