Skip to content

Commit

Permalink
Break FORTH TFTP script
Browse files Browse the repository at this point in the history
  • Loading branch information
highlander-robotics committed Jan 9, 2024
1 parent b3f6c79 commit fa94f4c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
18 changes: 18 additions & 0 deletions src/tftp4th
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

# FORTH and scripts
echo "SYS/PLFORTH"; atftp --option "disable windowsize" $1 --put -l rel/PLFORTH#FE1000 -r $2/SYS/PLFORTH#FE1000
echo "SYS/HRFORTH"; atftp --option "disable windowsize" $1 --put -l rel/HRFORTH#FE1000 -r $2/SYS/HRFORTH#FE1000
echo "SYS/HR2FORTH"; atftp --option "disable windowsize" $1 --put -l rel/HR2FORTH#FE1000 -r $2/SYS/HR2FORTH#FE1000
echo "SCRIPTS/CONIO.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/conio.4th -r $2/SYS/SCRIPTS/CONIO.4TH#040000
echo "SCRIPTS/FILEIO.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/fileio.4th -r $2/SYS/SCRIPTS/FILEIO.4TH#040000
echo "SCRIPTS/FPU.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/fpu.4th -r $2/SYS/SCRIPTS/FPU.4TH#040000
echo "SCRIPTS/GRLIB.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/grlib.4th -r $2/SYS/SCRIPTS/GRLIB.4TH#040000
echo "SCRIPTS/HGRLIB.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/hgrlib.4th -r $2/SYS/SCRIPTS/HGRLIB.4TH#040000
echo "SCRIPTS/INT32.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/int32.4th -r $2/SYS/SCRIPTS/INT32.4TH#040000
echo "SCRIPTS/PLASMA.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/plasma.4th -r $2/SYS/SCRIPTS/PLASMA.4TH#040000

# Sample scripts
echo "SCRIPTS/BOUNCE.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/bounce.4th -r $2/SCRIPTS/BOUNCE.4TH#040000
echo "SCRIPTS/HRBOUNCE.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/hrbounce.4th -r $2/SCRIPTS/HRBOUNCE.4TH#040000
echo "SCRIPTS/ROD.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/rod.4th -r $2/SCRIPTS/ROD.4TH#040000
14 changes: 1 addition & 13 deletions src/tftpbld
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,4 @@ echo "BLD/SAMPLES/LZ4CAT.PLA"; atftp --option "disable windowsize" $1 --put -
echo "BLD/SAMPLES/SFM.PLA"; atftp --option "disable windowsize" $1 --put -l samplesrc/sfm.pla -r $2/BLD/SAMPLES/SFM.PLA#040000
echo "BLD/SAMPLES/SFMSPRT.PLA"; atftp --option "disable windowsize" $1 --put -l samplesrc/sfmsprt.pla -r $2/BLD/SAMPLES/SFMSPRT.PLA#040000
echo "BLD/SAMPLES/FPPOW.PLA"; atftp --option "disable windowsize" $1 --put -l samplesrc/fppow.pla -r $2/BLD/SAMPLES/FPPOW.PLA#040000
echo "BLD/SAMPLES/MON.PLA"; atftp --option "disable windowsize" $1 --put -l utilsrc/apple/mon.pla -r $2/BLD/SAMPLES/MON.PLA#040000

# Scripts
echo "SCRIPTS/BOUNCE.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/bounce.4th -r $2/SCRIPTS/BOUNCE.4TH#040000
echo "SCRIPTS/HRBOUNCE.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/hrbounce.4th -r $2/SCRIPTS/HRBOUNCE.4TH#040000
echo "SCRIPTS/CONIO.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/conio.4th -r $2/SCRIPTS/CONIO.4TH#040000
echo "SCRIPTS/FILEIO.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/fileio.4th -r $2/SCRIPTS/FILEIO.4TH#040000
echo "SCRIPTS/FPU.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/fpu.4th -r $2/SCRIPTS/FPU.4TH#040000
echo "SCRIPTS/GRLIB.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/grlib.4th -r $2/SCRIPTS/GRLIB.4TH#040000
echo "SCRIPTS/HGRLIB.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/hgrlib.4th -r $2/SCRIPTS/HGRLIB.4TH#040000
echo "SCRIPTS/INT32.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/int32.4th -r $2/SCRIPTS/INT32.4TH#040000
echo "SCRIPTS/ROD.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/rod.4th -r $2/SCRIPTS/ROD.4TH#040000
echo "SCRIPTS/PLASMA.4TH"; atftp --option "disable windowsize" $1 --put -l scripts/plasma.4th -r $2/SCRIPTS/PLASMA.4TH#040000
echo "BLD/SAMPLES/MON.PLA"; atftp --option "disable windowsize" $1 --put -l utilsrc/apple/mon.pla -r $2/BLD/SAMPLES/MON.PLA#040000
4 changes: 0 additions & 4 deletions src/tftpsys
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,3 @@ echo "SYS/SNDSEQ"; atftp --option "disable windowsize" $1 --put -l rel/apple/S
echo "SYS/PORTIO"; atftp --option "disable windowsize" $1 --put -l rel/apple/PORTIO#FE1000 -r $2/SYS/PORTIO#FE1000
echo "SYS/UTHERNET2";atftp --option "disable windowsize" $1 --put -l rel/apple/UTHERNET2#FE1000 -r $2/SYS/UTHERNET2#FE1000
echo "SYS/UTHERNET"; atftp --option "disable windowsize" $1 --put -l rel/apple/UTHERNET#FE1000 -r $2/SYS/UTHERNET#FE1000
echo "SYS/PLFORTH"; atftp --option "disable windowsize" $1 --put -l rel/PLFORTH#FE1000 -r $2/SYS/PLFORTH#FE1000
echo "SYS/HRFORTH"; atftp --option "disable windowsize" $1 --put -l rel/HRFORTH#FE1000 -r $2/SYS/HRFORTH#FE1000
echo "SYS/HR2FORTH"; atftp --option "disable windowsize" $1 --put -l rel/HR2FORTH#FE1000 -r $2/SYS/HR2FORTH#FE1000

0 comments on commit fa94f4c

Please sign in to comment.