10
20 :
30
40
50
60 :
70 :
80
90
100
110
120 :
130 DEFPROCBFont_Load(A$,S%):LOCALin%,A%:in%=OPENIN(A$):IFin%=0:ENDPROC
140 REPEAT:IFA%=0:IFS%:VDU23,S%:S%=S%+1
150 VDUBGET#in%:A%=(A%+1)AND7:UNTILEOF#in%:CLOSE#in%:ENDPROC
160 :
170 :
180
190
200
210
220
230
240 :
250 DEFPROCBFont_Save(A$,S%,E%,R%):LOCALout%,L%,X%,Y%,A%:out%=OPENOUT(A$):IFout%=0:ENDPROC
260 DIMX%-1:Y%=X%DIV256:A%=10:REPEAT:?X%=S%:CALL&FFF1:IFR%=0:BPUT#out%,23:BPUT#out%,S%
270 FORL%=1TO8:BPUT#out%,X%?L%:NEXT:S%=S%+1:UNTILS%>E%:CLOSE#out%:ENDPROC