home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Glitch Apple Disk Collection
/
2014.glitch.apple.collection.zip
/
indexed
/
LOC1.DSK
/
LL.txt
< prev
next >
Wrap
Text File
|
2014-09-09
|
2KB
|
70 lines
FORGET T1
VARIABLE PZ
VARIABLE FILE
: DIE RND 11 MOD ADD1 ZR DO RND DROP LOOP RND SWAP MOD ;
: DMO? 24418 PEEK ;
: PKENT 41728 22965 POKEW 41731 22969 POKEW ZR 22967 POKE ZR 22971 POKE ;
: PHASE PZ PZ 24567 POKE ;
VARIABLE RESFLG
: LEV2 24427 PEEK ;
: DSPORDR 19336 CALL ;
: XEQBIN 39936 CALL ZR ;
: SKIP? 8 DIE N4 = 24413 PEEK N2 < AND DUP
IF CR 132 PUTC PRINT " BLOADTT,D1 " CR 47104 CALL CLRSTK N1
THEN ;
: LDSHP CR 132 PUTC PRINT " BLOADSHIP.BIN,D1 " CR ;
: INTC N1 -> FILE N1 ;
: ATT 14 HTAB PRINT " CONQUEST " PKENT
SLO? IF CR 132 PUTC PRINT " BLOADZZ,D1 " CR THEN
RESFLG IF ZR -> RESFLG LDSHP THEN
CR 132 PUTC PRINT " BLOADH,D1 " CR 36608 CALL AREG ;
: SHIP 14 HTAB PRINT " SHIPMENT " PKENT LDSHP SKIP?
IF ZR
ELSE SLO? IF 24429 PEEK IF CR 132 PUTC PRINT " BLOADHH " CR CR 132 PUTC PRINT " BLOADKK " CR THEN THEN XEQBIN
THEN ;
: TRADE 15 HTAB PRINT " TRADE " SKIP? IF ZR ELSE CR 132 PUTC PRINT " BLOADS,D1 " CR PKENT XEQBIN THEN ;
: PROD 13 HTAB PRINT " PRODUCTION "
SLO? IF CR 132 PUTC PRINT " BLOADSLOP1.BIN,D1 " CR THEN SKIP? IF ZR ELSE
CR 132 PUTC PRINT " BLOADF,D1 " CR
PKENT XEQBIN THEN ;
: DEV 12 HTAB PRINT " DEVELOPMENT " PKENT CR 132 PUTC PRINT " BLOADVV,D1 " CR
SLO? IF
CR 132 PUTC PRINT " BLOADFF " CR 20 VTAB 43816 CALL
THEN XEQBIN ;
: MWIN 19342 CALL ;
: MMRD READ " MAINMENU,D1 " ;
: TMRD ;
: ICRD READ " V,D1 " ;
VARIABLE SSAV
: RSETSLO SSAV 24442 POKE ;
: UTIL ZR 24575 POKE ZR -> FILE PHASE N4 = -> RESFLG 39936 CALL N2 -> FILE ;
: MAIN FILE N2 <>
IF N2 -> FILE
BEGIN 24575 PEEK
IF REF DSPORDR UTIL
ELSE MWIN ZR 24566 POKE PHASE INC PHASE PHASE N2 = NP N2 = AND
IF PHASE INC PHASE
THEN DSPORDR 17656 CALL PHASE 5 <
IF 22 VTAB 10 HTAB PRINT " PRESS BUTTON TO " CR 10 HTAB PRINT " SAVE GAME / ETC " ZR SLO? -> SSAV ZR 24442 POKE
BEGIN 22100 CALL AREG 128 >
IF CR 132 PUTC PRINT " BLOADG " CR RSETSLO UTIL DROP 3500
THEN ADD1 DMO?
IF 1000
ELSE 1600
THEN OVER <
UNTIL DROP RSETSLO
THEN
THEN 20 CLRWIN PHASE CASE: DEV PROD TRADE SHIP ATT INTC THEN
UNTIL
THEN FILE CASE: TMRD ICRD MMRD THEN ;
: LOAD ZR 24575 POKE 24560 PEEK
IF READ " Z "
ELSE READ " I "
THEN ;
CLOSE RUN