ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
909 B

  1. 1 MERGE "MERGE.BAS"
  2. :GOSUB 32000
  3. 3100 REM
  4. 3110 TN = 1
  5. 3120 HN = 1
  6. 3130 F = 0
  7. 3140 V(1) = 1
  8. 3150 OPEN "O",1,PI$
  9. :WRITE #1,TN,HN,F
  10. :FOR N=1 TO TN-1
  11. : WRITE #1,V(N)
  12. :NEXT
  13. :CLOSE 1
  14. 3200 REM
  15. 3210 OPEN "R",2,PD$
  16. 3230 JR = 1: HR = 1
  17. 3240 FIELD 2, 19 AS FD$, ZINT AS FQ$, ZSNG AS FC$, ZSNG AS FP$, 10 AS FL$, ZINT AS FR$, ZINT AS FA$, ZINT AS FO$, 8 AS FM$, 6 AS FV$, ZINT AS P1$, ZINT AS P2$
  18. 3250 LSET FD$=ID$:RSET FQ$=MKI$(IQ%):RSET FC$=MKS$(IC)
  19. 3260 RSET FP$=MKS$(IP):LSET FL$=IL$:RSET FR$=MKI$(IR%):RSET FA$=MKI$(IN%)
  20. 3270 RSET FO$=MKI$(IO%):LSET FM$=IM$:LSET FV$=IV$:RSET P1$=MKI$(P1):RSET P2$=MKI$(P2)
  21. 3280 PUT 2,JR:CLOSE 2
  22. 3300 REM
  23. 3310 OPEN "O",3,PT$:WRITE #3,TC#,TP#,TR#,TI,HI:CLOSE 3
  24. 3400 REM
  25. 3410 OPEN "R",3,PS$:FIELD 3, 10 AS N$:LSET N$=IS$:PUT 3,JR:CLOSE 3
  26. 3500 REM
  27. 3510 OPEN "R",1,PR$:FIELD 1,10 AS H1$,ZINT AS H2$:LSET H1$=HA$:RSET H2$=MKI$(HB):PUT 1,HR:CLOSE 1
  28. 9999 END