Two module splits
git-svn-id: svn://svn.cc65.org/cc65/trunk@396 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
623fd3e103
commit
826a9545e4
5 changed files with 37 additions and 18 deletions
|
@ -15,7 +15,12 @@
|
|||
|
||||
C_OBJS =
|
||||
|
||||
S_OBJS = cputs.o cursor.o cputhex.o scrsize.o
|
||||
S_OBJS = _cursor.o \
|
||||
_scrsize.o \
|
||||
cputhex.o \
|
||||
cputs.o \
|
||||
cursor.o \
|
||||
scrsize.o
|
||||
|
||||
all: $(C_OBJS) $(S_OBJS)
|
||||
|
||||
|
|
13
libsrc/conio/_cursor.s
Normal file
13
libsrc/conio/_cursor.s
Normal file
|
@ -0,0 +1,13 @@
|
|||
;
|
||||
; Ullrich von Bassewitz, 26.10.2000
|
||||
;
|
||||
; Cursor related variables
|
||||
;
|
||||
|
||||
.export cursor
|
||||
|
||||
.bss
|
||||
|
||||
cursor: .res 1
|
||||
|
||||
|
15
libsrc/conio/_scrsize.s
Normal file
15
libsrc/conio/_scrsize.s
Normal file
|
@ -0,0 +1,15 @@
|
|||
;
|
||||
; Ullrich von Bassewitz, 26.10.2000
|
||||
;
|
||||
; Screen size variables
|
||||
;
|
||||
|
||||
.export xsize, ysize
|
||||
|
||||
.bss
|
||||
|
||||
xsize: .res 1
|
||||
ysize: .res 1
|
||||
|
||||
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
;
|
||||
|
||||
.export _cursor
|
||||
.export cursor
|
||||
.import cursor
|
||||
|
||||
|
||||
.proc _cursor
|
||||
|
@ -18,9 +18,3 @@
|
|||
|
||||
.endproc
|
||||
|
||||
|
||||
.bss
|
||||
|
||||
cursor: .res 1
|
||||
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
;
|
||||
|
||||
.export _screensize
|
||||
.export xsize, ysize
|
||||
|
||||
.import popax
|
||||
.import xsize, ysize
|
||||
.importzp ptr1, ptr2
|
||||
|
||||
.proc _screensize
|
||||
|
@ -26,13 +26,5 @@
|
|||
sta (ptr1),y
|
||||
rts
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
.bss
|
||||
|
||||
xsize: .res 1
|
||||
ysize: .res 1
|
||||
|
||||
|
||||
.endproc
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue