From c0ddb5d1973df1ba79b1d2fd0718ea4890e11132 Mon Sep 17 00:00:00 2001 From: David Schmenk Date: Mon, 23 Apr 2018 13:46:08 -0700 Subject: [PATCH] Add TFTPD to release 1 --- PLASMA-SYS1.PO | Bin 143360 -> 143360 bytes src/libsrc/etherip.pla | 2 +- src/makefile | 7 ++++++- src/mkrel | 1 + 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/PLASMA-SYS1.PO b/PLASMA-SYS1.PO index b198a9ccb38120eb15e5c53b7da3287201e7f550..242907704d705e95e0b8928b0a95efc99dc006bb 100644 GIT binary patch delta 4954 zcmbtX33yXg7C!gpzL%HKrZ15KY72ovE00nNf?_{qfG&Vd)7XSkD#H{=A`~pOlv3*w zAByY97}2SNdvK!T;93eU;D%Ljiqr*0#|>pfT*2{k15D?CNn1)Q-{&`zFaP_`J@>qG z?>+atyIi$TxoV&C_!u!NBfq48di`XDtfZ<`Fw&uB(0)>zM`kCl^N7)|u^!hnZ^^VA z?_961u!N}dRI<Ve9PY9codzl|>x3=;Msb!!t&X%FJqE{0NI~g0-h8MDz&l@6(Ny z8MHksInlAWcp7msXAPWIHlufUV=iLUmKaXYxQc01eyMv_Y2t0;8FQ0FS?2htdzobv z%qSy5``y2o7k2J`b|VXB=6kwrz_AJvG+gTIZbab;lSr|7-v&Swz+r^Ys=$lzsHmj%MSP0WH!O~+E7ckbMSr(AovjYM{rDXgmfm8E&v4>0N4NrFhZtq zmh8}Tz~kjKeIod5a31(P@KkU;jj9%fPe272pfO^T7+ie(*)$YVgJ2TJQ>) zr8OTr$WCwGGn38X8&cOXzB_UkH(hh>b%}(yPedN(;`$qJ`eVG@!XE9E5{WP$iI8&h zpKb}?y6(2y|J;1XU)JAw*A_OJeaoT?nKPQrxar>eBk{MQxlBZU;Fb-4jXwC$-yZ(^ zMreOzkt1rTm=03rjIwD(vnqP>IrbQG{!qVVVB{=!p|8gXIo|>^bH7hx@cE^4r_Zje z?6!<;#!|Ml-%>W%RqCE`eyHU5GO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5dAMcAm&x;-*2A`cz~g_0tcLPL?vLxqmldNK$H@JXJ*ghL3QBFrKjK{$#qm(WCL zCbSUR2pxolgcAuT5l$tXPB@Ej4&gk)1%&0i_b88x+4gRg$Sz6ysF5FkvMbog1IUS0 zjH|BM^C>0h@z};oYmfy@;^%r|6UOiTY`^co!9)Jf4)4pYX>g;e!-u7Rh{d z>U2duyvP6Hj<=S7S0g dht;_M>udp_dst) for i = 1 to MAX_UDP_NOTIFIES if port=>notify_port == lclport - port=>notify_func(@iphdr=>ip_src,swab(rxptr=>udp_src),rxptr+t_udphdr,swab(rxptr=>udp_len),port=>notify_parm) + port=>notify_func(@iphdr=>ip_src,swab(rxptr=>udp_src),rxptr+t_udphdr,swab(rxptr=>udp_len)-t_udphdr,port=>notify_parm) break fin port = port + t_notify diff --git a/src/makefile b/src/makefile index ed475b1..0404c33 100755 --- a/src/makefile +++ b/src/makefile @@ -36,6 +36,7 @@ ETHERIP = rel/ETHERIP\#FE1000 INET = rel/INET\#FE1000 DHCP = rel/DHCP\#FE1000 HTTPD = rel/HTTPD\#FE1000 +TFTPD = rel/TFTPD\#FE1000 DGR = rel/apple/DGR\#FE1000 GRAFIX = rel/apple/GRAFIX\#FE1000 GFXDEMO = rel/apple/GFXDEMO\#FE1000 @@ -75,7 +76,7 @@ TXTTYPE = .TXT #SYSTYPE = \#FF2000 #TXTTYPE = \#040000 -apple: $(PLVMZP_APL) $(PLASM) $(PLVM) $(PLVM01) $(PLVM02) $(PLVM802) $(PLVM03) $(CMD) $(PLASMAPLASM) $(CODEOPT) $(ARGS) $(MEMMGR) $(MEMTEST) $(FIBER) $(FIBERTEST) $(LONGJMP) $(ED) $(MON) $(SOS) $(ROD) $(SIEVE) $(UTHERNET2) $(UTHERNET) $(ETHERIP) $(INET) $(DHCP) $(HTTPD) $(ROGUE) $(ROGUEMAP) $(ROGUECOMBAT) $(GRAFIX) $(GFXDEMO) $(DGR) $(DGRTEST) $(FILEIO_APL) $(CONIO_APL) $(JOYBUZZ) $(PORTIO) $(SPIPORT) $(SDFAT) $(FATCAT) $(FATGET) $(FATPUT) $(FATWDSK) $(FATRDSK) $(SANE) $(FPSTR) $(FPU) $(SANITY) $(RPNCALC) $(SNDSEQ) $(PLAYSEQ) +apple: $(PLVMZP_APL) $(PLASM) $(PLVM) $(PLVM01) $(PLVM02) $(PLVM802) $(PLVM03) $(CMD) $(PLASMAPLASM) $(CODEOPT) $(ARGS) $(MEMMGR) $(MEMTEST) $(FIBER) $(FIBERTEST) $(LONGJMP) $(ED) $(MON) $(SOS) $(ROD) $(SIEVE) $(UTHERNET2) $(UTHERNET) $(ETHERIP) $(INET) $(DHCP) $(HTTPD) $(TFTPD) $(ROGUE) $(ROGUEMAP) $(ROGUECOMBAT) $(GRAFIX) $(GFXDEMO) $(DGR) $(DGRTEST) $(FILEIO_APL) $(CONIO_APL) $(JOYBUZZ) $(PORTIO) $(SPIPORT) $(SDFAT) $(FATCAT) $(FATGET) $(FATPUT) $(FATWDSK) $(FATRDSK) $(SANE) $(FPSTR) $(FPU) $(SANITY) $(RPNCALC) $(SNDSEQ) $(PLAYSEQ) -rm vmsrc/plvmzp.inc c64: $(PLVMZP_C64) $(PLASM) $(PLVM) $(PLVMC64) @@ -260,6 +261,10 @@ $(HTTPD): samplesrc/httpd.pla $(PLVM02) $(PLASM) ./$(PLASM) -AMOW < samplesrc/httpd.pla > samplesrc/httpd.a acme --setpc 4094 -o $(HTTPD) samplesrc/httpd.a +$(TFTPD): samplesrc/tftpd.pla $(PLVM02) $(PLASM) + ./$(PLASM) -AMOW < samplesrc/tftpd.pla > samplesrc/tftpd.a + acme --setpc 4094 -o $(TFTPD) samplesrc/tftpd.a + $(UTHERNET): libsrc/apple/uthernet.pla $(PLVM02) $(PLASM) ./$(PLASM) -AMOW < libsrc/apple/uthernet.pla > libsrc/apple/uthernet.a acme --setpc 4094 -o $(UTHERNET) libsrc/apple/uthernet.a diff --git a/src/mkrel b/src/mkrel index 687e882..b9bc46e 100755 --- a/src/mkrel +++ b/src/mkrel @@ -59,6 +59,7 @@ cp samplesrc/APPLE3.PIX#060000 prodos/demos/apple3/APPLE3.PIX.BIN mkdir prodos/demos/net cp rel/HTTPD#FE1000 prodos/demos/net/HTTPD.REL cp samplesrc/index.html prodos/demos/net/INDEX.HTML.TXT +cp rel/TFTPD#FE1000 prodos/sys/TFTPD.REL mkdir prodos/demos/music cp rel/apple/PLAYSEQ#FE1000 prodos/demos/music/PLAYSEQ.REL