Adopted your idea to just flip the high bit instead of adding/subtracting. I still don't encode 255 by default because it makes the file larger, but added an option that adds 255 to the unsafe list.

Added an option to generate a "poor man's trigger file" instead of either call or savem.

0READF:CLEAR2,F:DEFINTA-E:DEFSNGF-K:DEFSTRL-O:READF,A,J,G,N:E=128:M="!":C=0:I=F:H=F+A-1:K=0:D=0:CLS:?"Installing "N


1?@18,USING"###%";(I-F)*100/A:READL:FORC=1TOLEN(L):O=MID$(L,C,1):IFO=MTHEND=E:NEXT:ELSEB=ASC(O)XORD:POKEI,B:D=0:I=I+1:K=K+B:NEXT:IFI<=HTHEN1


2IFK<>GTHEN?"Bad Checksum":ELSE?@18,"100%":M=CHR$(34):L="X.DO":OPENLFOROUTPUTAS1:?#1,"0CLEAR0,"F":CALL"J:CLOSE1:?"Please type:":?"KILL"M""L:?"SAVE"M""N:LOADL


3DATA59346,3614,59346,454932,"ALTERN"


On 3/6/26 04:51, B 9 wrote:
It's not 100% complete yet, but I made a two-stage BASIC loader <https://github.com/hackerb9/co2do/blob/main/co2do> that includes a little 8085 routine <https://github.com/hackerb9/co2do/blob/main/ decode.asm> for speed. You just run ./co2do FOO.CO <http://FOO.CO> and it'll create a FOO.DO that can load speedily.
--
bkw

Reply via email to