| | crunchit | | Build a crunched BAS | | © 1998 Straylight | Set Alias$x echo %%*0|m%%*0 | --- Initial processing --- | | I want to do some preprocessing with `sed', which means that BAS has | got to be converted to text. exec scripts.execit basic -load b.bas | saves work.bastext as text and work.basconst x sed -f scripts.preproc -f work.basconst work.bastext >work.stage-1 | --- Crunching --- | | Now I've got to convert the text file back to BASIC binary format and | compress it. basic -load work.stage-1 | saves work.stage-2 back as basic x ccrunch -r2 -xscripts.exports work.stage-2 work.stage-3 | --- Set up the magic number --- | | I now need to set the length word in the header, and word-align the | result. basic -load work.stage-3 | saves bc.bas Unset Alias$x