1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-08 06:25:17 +00:00

Renamed DEINSTALL to UNINSTALL

git-svn-id: svn://svn.cc65.org/cc65/trunk@1960 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-02-10 22:59:45 +00:00
parent 749298f340
commit 993f6a5a16
3 changed files with 22 additions and 20 deletions

View File

@@ -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 !!! ; Ullrich von Bassewitz, 2002-12-09 !!! UNTESTED !!!
; ;
@@ -26,7 +27,7 @@
; Jump table. ; Jump table.
.word INSTALL .word INSTALL
.word DEINSTALL .word UNINSTALL
.word PAGECOUNT .word PAGECOUNT
.word MAP .word MAP
.word USE .word USE
@@ -43,10 +44,9 @@ OFFS = 2
; ------------------------------------------------------------------------ ; ------------------------------------------------------------------------
; Data. ; Data.
.data
curpage: .byte $FF ; Current page number (invalid)
.bss .bss
curpage: .res 1 ; Current page number
window: .res 256 ; Memory "window" window: .res 256 ; Memory "window"
pagecount: .res 1 ; Number of available pages pagecount: .res 1 ; Number of available pages
@@ -62,6 +62,7 @@ pagecount: .res 1 ; Number of available pages
INSTALL: INSTALL:
lda #$FF lda #$FF
sta curpage ; Invalidate the current page
ldx UsrMemTop+2 ldx UsrMemTop+2
cpx #RAMBANK ; Top of memory in bank 2? cpx #RAMBANK ; Top of memory in bank 2?
@@ -75,11 +76,11 @@ INSTALL:
rts 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. ; Can do cleanup or whatever. Must not return anything.
; ;
DEINSTALL: UNINSTALL:
rts rts

View File

@@ -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 !!! ; Ullrich von Bassewitz, 2002-12-09 !!! UNTESTED !!!
; ;
@@ -26,7 +27,7 @@
; Jump table. ; Jump table.
.word INSTALL .word INSTALL
.word DEINSTALL .word UNINSTALL
.word PAGECOUNT .word PAGECOUNT
.word MAP .word MAP
.word USE .word USE
@@ -43,10 +44,9 @@ OFFS = 2
; ------------------------------------------------------------------------ ; ------------------------------------------------------------------------
; Data. ; Data.
.data
curpage: .byte $FF ; Current page number (invalid)
.bss .bss
curpage: .res 1 ; Current page number
window: .res 256 ; Memory "window" window: .res 256 ; Memory "window"
pagecount: .res 1 ; Number of available pages pagecount: .res 1 ; Number of available pages
@@ -62,6 +62,7 @@ pagecount: .res 1 ; Number of available pages
INSTALL: INSTALL:
lda #$FF lda #$FF
sta curpage ; Invalidate the current page
ldx UsrMemTop+2 ldx UsrMemTop+2
cpx #RAMBANK ; Top of memory in bank 2? cpx #RAMBANK ; Top of memory in bank 2?
@@ -75,11 +76,11 @@ INSTALL:
rts 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. ; Can do cleanup or whatever. Must not return anything.
; ;
DEINSTALL: UNINSTALL:
rts rts

View File

@@ -1,7 +1,7 @@
; ;
; Extended memory driver for the VDC RAM available on all C128 machines ; 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) ; version for GEOS enters safe I/O config on C64 (transparent on C128)
; ;
; Maciej 'YTM/Elysium' Witkowiak <ytm@elysium.pl> ; Maciej 'YTM/Elysium' Witkowiak <ytm@elysium.pl>
; 06,20,25.12.2002 ; 06,20,25.12.2002
@@ -27,7 +27,7 @@
; Jump table. ; Jump table.
.word INSTALL .word INSTALL
.word DEINSTALL .word UNINSTALL
.word PAGECOUNT .word PAGECOUNT
.word MAP .word MAP
.word USE .word USE
@@ -152,11 +152,11 @@ settestadr2:
jmp vdcsetsrcaddr 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. ; Can do cleanup or whatever. Must not return anything.
; ;
DEINSTALL: UNINSTALL:
;on C128 restore font and clear the screen? ;on C128 restore font and clear the screen?
rts rts
@@ -284,7 +284,7 @@ COPYFROM:
jsr setup jsr setup
beq @L2 ; Skip if no full pages beq @L2 ; Skip if no full pages
; Copy full pages ; Copy full pages
@L1: jsr transferin @L1: jsr transferin
inc ptr1+1 inc ptr1+1
@@ -328,7 +328,7 @@ COPYTO:
jsr setup jsr setup
beq @L2 ; Skip if no full pages beq @L2 ; Skip if no full pages
; Copy full pages ; Copy full pages
@L1: jsr transferout @L1: jsr transferout
inc ptr1+1 inc ptr1+1