mirror of
https://github.com/cc65/cc65.git
synced 2025-02-21 20:29:17 +00:00
Renamed DEINSTALL -> UNINSTALL, fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@1969 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
e3faea3fa2
commit
11e16317b3
@ -69,7 +69,7 @@ pages: .byte 1 ; Number of screens available
|
|||||||
; primitives - for example ploting a line by using calls to SETPIXEL.
|
; primitives - for example ploting a line by using calls to SETPIXEL.
|
||||||
|
|
||||||
.word INSTALL
|
.word INSTALL
|
||||||
.word DEINSTALL
|
.word UNINSTALL
|
||||||
.word INIT
|
.word INIT
|
||||||
.word DONE
|
.word DONE
|
||||||
.word GETERROR
|
.word GETERROR
|
||||||
@ -263,19 +263,19 @@ settestadr2:
|
|||||||
jmp VDCSetSourceAddr
|
jmp VDCSetSourceAddr
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
; DEINSTALL routine. Is called before the driver is removed from memory. May
|
; UNINSTALL routine. Is called before the driver is removed from memory. May
|
||||||
; clean up anything done by INSTALL but is probably empty most of the time.
|
; clean up anything done by INSTALL but is probably empty most of the time.
|
||||||
;
|
;
|
||||||
; Must set an error code: NO
|
; Must set an error code: NO
|
||||||
;
|
;
|
||||||
|
|
||||||
DEINSTALL:
|
UNINSTALL:
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
; INIT: Changes an already installed device from text mode to graphics
|
; INIT: Changes an already installed device from text mode to graphics
|
||||||
; mode. The number of the graphics mode is passed to the function in A.
|
; mode.
|
||||||
; Note that INIT/DONE may be called multiple times while the driver
|
; Note that INIT/DONE may be called multiple times while the driver
|
||||||
; is loaded, while INSTALL is only called once, so any code that is needed
|
; is loaded, while INSTALL is only called once, so any code that is needed
|
||||||
; to initializes variables and so on must go here. Setting palette and
|
; to initializes variables and so on must go here. Setting palette and
|
||||||
@ -375,7 +375,7 @@ CONTROL:
|
|||||||
; Must set an error code: NO
|
; Must set an error code: NO
|
||||||
;
|
;
|
||||||
|
|
||||||
CLEAR:
|
CLEAR:
|
||||||
lda #0
|
lda #0
|
||||||
ldy SCRBASE
|
ldy SCRBASE
|
||||||
jsr VDCSetSourceAddr
|
jsr VDCSetSourceAddr
|
||||||
@ -838,7 +838,7 @@ LINE:
|
|||||||
ldx PB+1
|
ldx PB+1
|
||||||
jmp @L025B
|
jmp @L025B
|
||||||
; } else { x1 = x1 + ay
|
; } else { x1 = x1 + ay
|
||||||
@L017B:
|
@L017B:
|
||||||
lda X1
|
lda X1
|
||||||
clc
|
clc
|
||||||
adc AY
|
adc AY
|
||||||
@ -909,7 +909,7 @@ BAR:
|
|||||||
; Must set an error code: NO
|
; Must set an error code: NO
|
||||||
;
|
;
|
||||||
|
|
||||||
CIRCLE:
|
CIRCLE:
|
||||||
lda RADIUS
|
lda RADIUS
|
||||||
bne @L1
|
bne @L1
|
||||||
jmp SETPIXELCLIP ; Plot as a point
|
jmp SETPIXELCLIP ; Plot as a point
|
||||||
|
@ -70,7 +70,7 @@ pages: .byte 0 ; Number of screens available
|
|||||||
; primitives - for example ploting a line by using calls to SETPIXEL.
|
; primitives - for example ploting a line by using calls to SETPIXEL.
|
||||||
|
|
||||||
.word INSTALL
|
.word INSTALL
|
||||||
.word DEINSTALL
|
.word UNINSTALL
|
||||||
.word INIT
|
.word INIT
|
||||||
.word DONE
|
.word DONE
|
||||||
.word GETERROR
|
.word GETERROR
|
||||||
@ -268,19 +268,19 @@ settestadr2:
|
|||||||
jmp VDCSetSourceAddr
|
jmp VDCSetSourceAddr
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
; DEINSTALL routine. Is called before the driver is removed from memory. May
|
; UNINSTALL routine. Is called before the driver is removed from memory. May
|
||||||
; clean up anything done by INSTALL but is probably empty most of the time.
|
; clean up anything done by INSTALL but is probably empty most of the time.
|
||||||
;
|
;
|
||||||
; Must set an error code: NO
|
; Must set an error code: NO
|
||||||
;
|
;
|
||||||
|
|
||||||
DEINSTALL:
|
UNINSTALL:
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
; INIT: Changes an already installed device from text mode to graphics
|
; INIT: Changes an already installed device from text mode to graphics
|
||||||
; mode. The number of the graphics mode is passed to the function in A.
|
; mode.
|
||||||
; Note that INIT/DONE may be called multiple times while the driver
|
; Note that INIT/DONE may be called multiple times while the driver
|
||||||
; is loaded, while INSTALL is only called once, so any code that is needed
|
; is loaded, while INSTALL is only called once, so any code that is needed
|
||||||
; to initializes variables and so on must go here. Setting palette and
|
; to initializes variables and so on must go here. Setting palette and
|
||||||
@ -384,7 +384,7 @@ CONTROL:
|
|||||||
; Must set an error code: NO
|
; Must set an error code: NO
|
||||||
;
|
;
|
||||||
|
|
||||||
CLEAR:
|
CLEAR:
|
||||||
lda #0
|
lda #0
|
||||||
tay
|
tay
|
||||||
jsr VDCSetSourceAddr
|
jsr VDCSetSourceAddr
|
||||||
@ -836,7 +836,7 @@ LINE:
|
|||||||
ldx PB+1
|
ldx PB+1
|
||||||
jmp @L025B
|
jmp @L025B
|
||||||
; } else { x1 = x1 + ay
|
; } else { x1 = x1 + ay
|
||||||
@L017B:
|
@L017B:
|
||||||
lda X1
|
lda X1
|
||||||
clc
|
clc
|
||||||
adc AY
|
adc AY
|
||||||
@ -907,7 +907,7 @@ BAR:
|
|||||||
; Must set an error code: NO
|
; Must set an error code: NO
|
||||||
;
|
;
|
||||||
|
|
||||||
CIRCLE:
|
CIRCLE:
|
||||||
lda RADIUS
|
lda RADIUS
|
||||||
bne @L1
|
bne @L1
|
||||||
jmp SETPIXELCLIP ; Plot as a point
|
jmp SETPIXELCLIP ; Plot as a point
|
||||||
|
@ -58,7 +58,7 @@ pages: .byte 1 ; Number of screens available
|
|||||||
; primitives - for example ploting a line by using calls to SETPIXEL.
|
; primitives - for example ploting a line by using calls to SETPIXEL.
|
||||||
|
|
||||||
.word INSTALL
|
.word INSTALL
|
||||||
.word DEINSTALL
|
.word UNINSTALL
|
||||||
.word INIT
|
.word INIT
|
||||||
.word DONE
|
.word DONE
|
||||||
.word GETERROR
|
.word GETERROR
|
||||||
@ -241,19 +241,19 @@ settestadr2:
|
|||||||
jmp VDCSetSourceAddr
|
jmp VDCSetSourceAddr
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
; DEINSTALL routine. Is called before the driver is removed from memory. May
|
; UNINSTALL routine. Is called before the driver is removed from memory. May
|
||||||
; clean up anything done by INSTALL but is probably empty most of the time.
|
; clean up anything done by INSTALL but is probably empty most of the time.
|
||||||
;
|
;
|
||||||
; Must set an error code: NO
|
; Must set an error code: NO
|
||||||
;
|
;
|
||||||
|
|
||||||
DEINSTALL:
|
UNINSTALL:
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
; INIT: Changes an already installed device from text mode to graphics
|
; INIT: Changes an already installed device from text mode to graphics
|
||||||
; mode. The number of the graphics mode is passed to the function in A.
|
; mode.
|
||||||
; Note that INIT/DONE may be called multiple times while the driver
|
; Note that INIT/DONE may be called multiple times while the driver
|
||||||
; is loaded, while INSTALL is only called once, so any code that is needed
|
; is loaded, while INSTALL is only called once, so any code that is needed
|
||||||
; to initializes variables and so on must go here. Setting palette and
|
; to initializes variables and so on must go here. Setting palette and
|
||||||
@ -266,7 +266,6 @@ DEINSTALL:
|
|||||||
;
|
;
|
||||||
|
|
||||||
INIT:
|
INIT:
|
||||||
; ignore passed parameter
|
|
||||||
ldx #$01
|
ldx #$01
|
||||||
stx BITMASK ; solid black as pattern
|
stx BITMASK ; solid black as pattern
|
||||||
lda #1
|
lda #1
|
||||||
@ -352,7 +351,7 @@ CONTROL:
|
|||||||
; Must set an error code: NO
|
; Must set an error code: NO
|
||||||
;
|
;
|
||||||
|
|
||||||
CLEAR:
|
CLEAR:
|
||||||
lda curPattern
|
lda curPattern
|
||||||
pha
|
pha
|
||||||
lda #0
|
lda #0
|
||||||
@ -664,7 +663,7 @@ BAR:
|
|||||||
; Must set an error code: NO
|
; Must set an error code: NO
|
||||||
;
|
;
|
||||||
|
|
||||||
CIRCLE:
|
CIRCLE:
|
||||||
lda RADIUS
|
lda RADIUS
|
||||||
bne @L1
|
bne @L1
|
||||||
jmp SETPIXELCLIP ; Plot as a point
|
jmp SETPIXELCLIP ; Plot as a point
|
||||||
|
Loading…
x
Reference in New Issue
Block a user