1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-06-01 03:41:34 +00:00

Prepare install script

This commit is contained in:
David Schmenk 2024-01-23 10:37:28 -08:00
parent 3fcbf48665
commit d0fc4120c9
2 changed files with 42 additions and 0 deletions

BIN
images/apple/PLFORTH.PO Executable file → Normal file

Binary file not shown.

42
src/scripts/hdinstall.4th Normal file
View File

@ -0,0 +1,42 @@
SRC" plasma.4th"
SRC" conio.4th"
: RESUME ;
: ?EXEC
NOT IF
1 >R
BEGIN
BL WORD FIND IF
CASE
' RESUME OF
R> 1- -DUP 0= IF EXIT THEN
>R
ENDOF
' ?EXEC OF
R> 1+ >R
ENDOF
ENDCASE
ELSE DROP
THEN
AGAIN
THEN
;
HOME
." Copying system files to /RAM4..." CR
COPY" -R PLVM16 CMD128 SYS /RAM4"
." Copy demos (Y/N)?"
KEY CR TOUPPER CHAR Y = ?EXEC
COPY" -R DEMOS /RAM4"
RESUME
." Copy build tools (Y/N)?"
KEY CR TOUPPER CHAR Y = ?EXEC
NEWDIR" /RAM4/BLD
COPY" BLD/PLASM BLD/CODEOPT /RAM4/BLD"
COPY" -R BLD/INC /RAM4/BLD"
." Copy sample code (Y/N)?"
KEY CR TOUPPER CHAR Y = ?EXEC
COPY" -R BLD/SAMPLES /RAM4/BLD"
RESUME
RESUME
." Done" CR
BYE