moved cs8900a code from core to driver

git-svn-id: http://svn.code.sf.net/p/netboot65/code@288 93682198-c243-4bdb-bd91-e943c89aac3b
This commit is contained in:
jonnosan 2010-12-09 10:12:40 +00:00
parent b37e2a2e03
commit 0b221b77ad
6 changed files with 60 additions and 41 deletions

View File

@ -216,8 +216,10 @@ install_new_vectors_loop:
.byte "NO RR-NET FOUND - UNINSTALLING",0 .byte "NO RR-NET FOUND - UNINSTALLING",0
@init_ok: @init_ok:
; jsr $A644 ;do a "NEW" lda CHAIN_FLAG
; jmp $A474 ;"READY" prompt
jsr $A644 ;do a "NEW"
jmp $A474 ;"READY" prompt
rts ;so BASIC will LOAD & RUN INDEX.BAS rts ;so BASIC will LOAD & RUN INDEX.BAS
welcome_banner: welcome_banner:

View File

@ -1,4 +1,3 @@
# CA65 config for a M/L stub that will use memory from $6000..$A000 and $c010..$cfff
MEMORY { MEMORY {
IP65ZP: start = $A3, size = $12, type = rw; IP65ZP: start = $A3, size = $12, type = rw;

View File

@ -9,24 +9,32 @@ AFLAGS=
%.o: %.s %.o: %.s
$(AS) $(AFLAGS) $< $(AS) $(AFLAGS) $<
DRIVERS=\
apple2prog.lib \ DRIVERS=\
c64prog.lib \ apple2prog.lib \
# c64nb65.lib \ c64prog.lib \
# c64nb65.lib \
all: $(DRIVERS) all: $(DRIVERS)
apple2prog.lib: a2print.o uthernet.o a2timer.o a2kernal.o a2input.o a2charconv.o apple2prog.lib: a2print.o uthernet.o a2timer.o a2kernal.o a2input.o a2charconv.o cs8900a.o
ar65 a $@ $^ ar65 a $@ $^
c64prog.lib: c64print.o rr-net.o c64timer.o c64kernal.o c64inputs.o c64_disk_access.o c64charconv.o c64_vt100.o c64prog.lib: c64print.o rr-net.o c64timer.o c64kernal.o c64inputs.o c64_disk_access.o c64charconv.o c64_vt100.o cs8900a.o
ar65 a $@ $^
ar65 a $@ $^
c64wiznet.lib: c64print.o wiznet.o c64timer.o c64kernal.o c64inputs.o c64_disk_access.o c64charconv.o c64_vt100.o
#c64nb65.lib: c64print.o rr-net.o c64timer_nb65.o c64kernal.o c64inputs.o c64_disk_access.o c64charconv.o ar65 a $@ $^
# ar65 a $@ $^
#c64nb65.lib: c64print.o rr-net.o c64timer_nb65.o c64kernal.o c64inputs.o c64_disk_access.o c64charconv.o
# ar65 a $@ $^
clean: clean:
rm -f *.o rm -f *.o

View File

@ -7,52 +7,62 @@ AFLAGS=
$(CC) -c $(CFLAGS) $< $(CC) -c $(CFLAGS) $<
%.o: %.s %.o: %.s
$(AS) $(AFLAGS) $< $(AS) $(AFLAGS) $<
ETHOBJS= \ ETHOBJS= \
copymem.o \ copymem.o \
config.o \ config.o \
timer.o \ timer.o \
cs8900a.o \
eth.o \ eth.o \
arp.o \ arp.o \
udp.o \ udp.o \
ip65.o \ ip65.o \
printf.o \ printf.o \
debug.o \ debug.o \
http.o \ http.o \
httpd.o \ httpd.o \
dhcp.o \ dhcp.o \
dns.o \ dns.o \
dottedquad.o \ dottedquad.o \
output_buffer.o\ output_buffer.o\
tftp.o \ tftp.o \
sntp.o \ sntp.o \
parser.o \ parser.o \
string_utils.o \ string_utils.o \
telnet.o \ telnet.o \
xmodem.o \ xmodem.o \
url.o \ url.o \
arithmetic.o\ arithmetic.o\
all: ip65.lib ip65_tcp.lib all: ip65.lib ip65_tcp.lib
ip65.lib: $(ETHOBJS) function_dispatcher.s ip.s icmp.s ip65.lib: $(ETHOBJS) function_dispatcher.s ip.s icmp.s
$(AS) $(AFLAGS) function_dispatcher.s
$(AS) $(AFLAGS) ip.s $(AS) $(AFLAGS) function_dispatcher.s
$(AS) $(AFLAGS) ip.s
$(AS) $(AFLAGS) icmp.s $(AS) $(AFLAGS) icmp.s
ar65 a ip65.lib $(ETHOBJS) function_dispatcher.o ip.o icmp.o ar65 a ip65.lib $(ETHOBJS) function_dispatcher.o ip.o icmp.o
ip65_tcp.lib: tcp.o $(ETHOBJS) function_dispatcher.s ip.s tcp.s icmp.s
$(AS) $(AFLAGS) function_dispatcher.s -DTCP -DAPI_VERSION=2 ip65_tcp.lib: tcp.o $(ETHOBJS) function_dispatcher.s ip.s tcp.s icmp.s
$(AS) $(AFLAGS) ip.s -DTCP
$(AS) $(AFLAGS) icmp.s -DTCP $(AS) $(AFLAGS) function_dispatcher.s -DTCP -DAPI_VERSION=2
$(AS) $(AFLAGS) ip.s -DTCP
$(AS) $(AFLAGS) icmp.s -DTCP
ar65 a ip65_tcp.lib $(ETHOBJS) function_dispatcher.o ip.o tcp.o icmp.o ar65 a ip65_tcp.lib $(ETHOBJS) function_dispatcher.o ip.o tcp.o icmp.o
clean: clean:
rm -f *.o rm -f *.o
rm -f ip65.lib rm -f ip65.lib
rm -f ip65_tcp.lib rm -f ip65_tcp.lib
distclean: clean distclean: clean