mirror of
https://github.com/cc65/cc65.git
synced 2024-10-02 21:54:47 +00:00
some cleanup/rework
This commit is contained in:
parent
e54ad81ce8
commit
f712e9448a
@ -51,8 +51,3 @@
|
|||||||
.import soft80_screensize
|
.import soft80_screensize
|
||||||
.export screensize := soft80_screensize
|
.export screensize := soft80_screensize
|
||||||
|
|
||||||
;-------------------------------------------------------------------------------
|
|
||||||
; force the init constructor to be imported
|
|
||||||
|
|
||||||
.import soft80_init
|
|
||||||
conio_init = soft80_init
|
|
||||||
|
@ -67,3 +67,9 @@ invertcursor:
|
|||||||
|
|
||||||
.rodata
|
.rodata
|
||||||
nibble: .byte $f0, $0f
|
nibble: .byte $f0, $0f
|
||||||
|
|
||||||
|
;-------------------------------------------------------------------------------
|
||||||
|
; force the init constructor to be imported
|
||||||
|
|
||||||
|
.import soft80_init
|
||||||
|
conio_init = soft80_init
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
|
|
||||||
.importzp tmp1, tmp2
|
.importzp tmp1, tmp2
|
||||||
|
|
||||||
.import soft80_checkchar
|
|
||||||
|
|
||||||
.include "c64.inc"
|
.include "c64.inc"
|
||||||
.include "soft80.inc"
|
.include "soft80.inc"
|
||||||
|
|
||||||
@ -107,3 +105,9 @@ __textcolor:
|
|||||||
.res 1
|
.res 1
|
||||||
__bgcolor:
|
__bgcolor:
|
||||||
.res 1
|
.res 1
|
||||||
|
|
||||||
|
;-------------------------------------------------------------------------------
|
||||||
|
; force the init constructor to be imported
|
||||||
|
|
||||||
|
.import soft80_init
|
||||||
|
conio_init = soft80_init
|
||||||
|
@ -410,8 +410,6 @@ soft80_putcolor:
|
|||||||
|
|
||||||
rts
|
rts
|
||||||
|
|
||||||
;.export soft80_checkchar
|
|
||||||
|
|
||||||
; test if there is a space or a character at current position
|
; test if there is a space or a character at current position
|
||||||
; in: y must be $00
|
; in: y must be $00
|
||||||
; out: CLC: space SEC: character
|
; out: CLC: space SEC: character
|
||||||
|
@ -62,3 +62,8 @@ _bitmaphi:
|
|||||||
.byte >(soft80_bitmap+(row*40*8))
|
.byte >(soft80_bitmap+(row*40*8))
|
||||||
.endrepeat
|
.endrepeat
|
||||||
|
|
||||||
|
;-------------------------------------------------------------------------------
|
||||||
|
; force the init constructor to be imported
|
||||||
|
|
||||||
|
.import soft80_init
|
||||||
|
conio_init = soft80_init
|
||||||
|
@ -7,3 +7,9 @@ soft80_screensize:
|
|||||||
ldy #screenrows
|
ldy #screenrows
|
||||||
ldx #charsperline
|
ldx #charsperline
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
;-------------------------------------------------------------------------------
|
||||||
|
; force the init constructor to be imported
|
||||||
|
|
||||||
|
.import soft80_init
|
||||||
|
conio_init = soft80_init
|
||||||
|
Loading…
Reference in New Issue
Block a user