mirror of
https://github.com/cc65/cc65.git
synced 2026-04-26 13:18:31 +00:00
Removed initialization code to set the screen size and replaced it by a
separate module that contains a module constructor. In some cases, the code was even unnecessary, since the screen size is known in advance. git-svn-id: svn://svn.cc65.org/cc65/trunk@476 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
+17
-3
@@ -13,12 +13,26 @@
|
||||
|
||||
C_OBJS =
|
||||
|
||||
S_OBJS = break.o clrscr.o cclear.o cgetc.o chline.o color.o \
|
||||
cputc.o crt0.o ctype.o \
|
||||
cvline.o kbhit.o read.o revers.o where.o write.o
|
||||
S_OBJS= _scrsize.o \
|
||||
break.o \
|
||||
cclear.o \
|
||||
cgetc.o \
|
||||
chline.o \
|
||||
clrscr.o \
|
||||
color.o \
|
||||
cputc.o \
|
||||
crt0.o \
|
||||
ctype.o \
|
||||
cvline.o \
|
||||
kbhit.o \
|
||||
read.o \
|
||||
revers.o \
|
||||
where.o \
|
||||
write.o
|
||||
|
||||
all: $(C_OBJS) $(S_OBJS)
|
||||
|
||||
clean:
|
||||
@rm -f $(C_OBJS:.c=.s) $(C_OBJS) $(S_OBJS) crt0.o
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 26.10.2000
|
||||
;
|
||||
; Screen size variables
|
||||
;
|
||||
|
||||
.export xsize, ysize
|
||||
|
||||
.rodata
|
||||
|
||||
xsize: .byte 40
|
||||
ysize: .byte 24
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user