> MkDEFB : 12/08/1992 JGH: Make assembler data from binary file : (4A$=_OS_GetEnv:in%=0:out%=0:def$="DEFB":eol$=10 2A A$="":"Input file: "f1$:"Output file: "f2$:A$=f1$+" "+f2$ <6 A$<2: "Syntax: MkDEFB ( )": F'I%=A$," "):f1$=A$,I%):f2$=A$,I%) P :Close: : Z+in%=(f1$): in%=0 "Can't open ";f1$: d9out%=(f2$): out%=0 "Can't save ";f2$:#in%:in%=0: n #out%,"{":#out%," ":x%=0 x!:;100*#in% #in%;"%";13;  x%=0:wr(out%,def$)  x%>0:wr(out%,",") wr(out%,Ú#in%) &x%=x%+1: x%>7:x%=0:wr(out%,eol$) ! #in%:: x%:wr(out%,eol$) #out%:out%=0 #in%:in%=0  : wr(o%,A$): A$="": #o%,A$:A$=A$,2):A$="": : Close  out%:A%=out%:out%=0:#A%  in%:A%=in%:in%=0:#A%  ": ,`ݤ_OS_GetEnv:>&FFFF:<&FFFF:ș"OS_GetEnv"A$:=A$,1+A$," ",1+A$," ",1+A$," ")))) =""