I wasn't aware that the unit numbers in the ProDOS device list contain device type identifiers in the low nibble. So if we can't use the device list entries as-is we can as well present the high nibble as low nibble to the user thus providing more meaningful device numbers.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5852 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -19,7 +19,7 @@ CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I ../apple2 -I ../../include
|
||||
#--------------------------------------------------------------------------
|
||||
# Rules
|
||||
|
||||
%.o: ../apple2/%.c
|
||||
%.o: ../apple2/%.c
|
||||
@$(CC) -o $(notdir $(*).s) $(CFLAGS) $<
|
||||
@$(AS) -o $@ $(AFLAGS) $(*).s
|
||||
|
||||
@@ -53,19 +53,19 @@ C_OBJS= closedir.o \
|
||||
rewinddir.o
|
||||
|
||||
S_OBJS= _scrsize.o \
|
||||
break.o \
|
||||
cclear.o \
|
||||
cgetc.o \
|
||||
chline.o \
|
||||
break.o \
|
||||
cclear.o \
|
||||
cgetc.o \
|
||||
chline.o \
|
||||
close.o \
|
||||
clrscr.o \
|
||||
color.o \
|
||||
cout.o \
|
||||
cputc.o \
|
||||
crt0.o \
|
||||
ctype.o \
|
||||
cvline.o \
|
||||
devicedir.o \
|
||||
clrscr.o \
|
||||
color.o \
|
||||
cout.o \
|
||||
cputc.o \
|
||||
crt0.o \
|
||||
ctype.o \
|
||||
cvline.o \
|
||||
devicedir.o \
|
||||
dioclose.o \
|
||||
diocommon.o \
|
||||
dioopen.o \
|
||||
@@ -78,43 +78,44 @@ S_OBJS= _scrsize.o \
|
||||
exehdr.o \
|
||||
filedes.o \
|
||||
filename.o \
|
||||
get_ostype.o \
|
||||
get_ostype.o \
|
||||
getdevice.o \
|
||||
gotoxy.o \
|
||||
gotoy.o \
|
||||
home.o \
|
||||
home.o \
|
||||
initcwd.o \
|
||||
iobuf.o \
|
||||
joy_stddrv.o \
|
||||
kbhit.o \
|
||||
mainargs.o \
|
||||
iobuf.o \
|
||||
isdevice.o \
|
||||
joy_stddrv.o \
|
||||
kbhit.o \
|
||||
mainargs.o \
|
||||
mcbdefault.o \
|
||||
mli.o \
|
||||
mouse_stddrv.o \
|
||||
mouse_stddrv.o \
|
||||
open.o \
|
||||
oserrlist.o \
|
||||
oserrlist.o \
|
||||
oserror.o \
|
||||
randomize.o \
|
||||
rdkey.o \
|
||||
read.o \
|
||||
reboot.o \
|
||||
revers.o \
|
||||
randomize.o \
|
||||
rdkey.o \
|
||||
read.o \
|
||||
reboot.o \
|
||||
revers.o \
|
||||
rwcommon.o \
|
||||
syschdir.o \
|
||||
sysmkdir.o \
|
||||
sysremove.o \
|
||||
sysrename.o \
|
||||
sysrmdir.o \
|
||||
systime.o \
|
||||
sysuname.o \
|
||||
systime.o \
|
||||
sysuname.o \
|
||||
textframe.o \
|
||||
tgi_colors.o \
|
||||
tgi_stddrv.o \
|
||||
toascii.o \
|
||||
videomode.o \
|
||||
vtabz.o \
|
||||
wherex.o \
|
||||
wherey.o \
|
||||
tgi_colors.o \
|
||||
tgi_stddrv.o \
|
||||
toascii.o \
|
||||
videomode.o \
|
||||
vtabz.o \
|
||||
wherex.o \
|
||||
wherey.o \
|
||||
write.o
|
||||
|
||||
S_EXTRA_OBJS= \
|
||||
@@ -146,5 +147,5 @@ all: $(C_OBJS) $(S_OBJS) $(S_EXTRA_OBJS) $(EMDS) $(JOYS) $(MOUS) $(SERS) $(TGIS
|
||||
clean:
|
||||
@$(RM) $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS) $(S_EXTRA_OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(MOUS:.mou=.o) $(SERS:.ser=.o) $(TGIS:.tgi=.o)
|
||||
|
||||
zap: clean
|
||||
zap: clean
|
||||
@$(RM) $(EMDS) $(JOYS) $(MOUS) $(SERS) $(TGIS)
|
||||
|
||||
Reference in New Issue
Block a user