Greetings, a newbie here.
Some decades ago I did a research project using an Osborne "portable" computer running CPM, using the old Basic language. I later transferred the programs into a pre-windows DOS computer, an old Leading Edge as I recall. By memory that was running an M-Basic or Q-Basic compiler. I reproduce some of the program text below, the older folk here will remember it probably. This was part of my university work, a research project, which I need to reconstruct and fire up to working condition once again, but of course the old floppy driven Osborne and Leading Edge are no longer in this world.
I went 100% to Macs some years after that, but saved all the old files and never used them since. Now I need to reconstruct that project, so I am looking around for a Mac compiler that would run those old programs, with minimal tweaking for identifications of locations for data files and printers.
Is this a lost cause? Or should I find a dos-based computer system? I don't even know if the Windows computers allow one to get rid of the windows and go back down to dos, or if they even use that anymore.
I also tried the RealBasic and that is a totally different animal, of no help so far as I could see.
Anyhow, whatever suggestions you could offer would be appreciated. I'll give the representative program below.
Thanks,
James
10 COMMON TRAITNAME$,LENGTH%,CARDNUM%,LOCATION%
20 DIM CODELIST$(100),CODESUM%(100)
30 YES%=1:NO%=0:DONE%=0:CS$=CHR$(26):B$=CHR$(7):COUNT%=0
40 OPEN "R",1,"A:VARIABLE.ASC",8+LENGTH%:FIELD 1,6+LENGTH% AS VAR$ 50 PRINT CS$;"PLEASE WAIT FOR CODELIST"
60 FOR I%=1 TO 100
70 CODELIST$(I%)="X"
80 CODESUM%(I%)=0
90 NEXT I%
100 PRINT".";
110 FOR J%=1 TO 1170:SEARCHING%=YES%:INCLUDE%=NO%:NUM%=1
120 GET #1,J%
130 IF J% MOD 25 = 0 THEN PRINT".";
140 VARIABLECODE$=MID$(VAR$,6,LENGTH%)
150 WHILE SEARCHING%
160 IF CODELIST$(NUM%)=VARIABLECODE$ THEN SEARCHING%=DONE%:CODESUM%(NUM%)=CODESUM%(NUM%)+1:GOTO 190 170 IF CODELIST$(NUM%)="X" THEN INCLUDE%=YES%:SEARCHING%=DONE%:GOTO 190 180 NUM%=NUM%+1
190 WEND
200 IF INCLUDE%=YES% THEN CODELIST$(NUM%)=VARIABLECODE$:CODESUM%(NUM%)=CODESUM%(NUM%)+1:COUNT%=COUNT%+1 210 NEXT J%
220 CLOSE #1
230 E%=1
240 PRINT CS$;"CODELIST NOW BEING SORTED ";E%:PRINT
250 MOVING%=YES%
260 WHILE MOVING%
270 MOVING%=NO%
280 FOR I%=1 TO COUNT%-1
290 X$=CODELIST$(I%)
300 Y$=CODELIST$(I%+1)
305 X#=VAL(X$):Y#=VAL(Y$)
310 IF X#";DUMMY$ 430 LPRINT TRAITNAME$
440 LPRINT"THE FOLLOWING CODES WERE DETECTED:":LPRINT
450 WHILE CODELIST$(NUM%)<>"X"
460 IF CODELIST$(NUM%)=" " THEN PRINT"b";:GOTO 500
470 IF CODELIST$(NUM%)=" 0" THEN PRINT"b0";:GOTO 500
480 PRINT CODELIST$(NUM%);"(";CODESUM%(NUM%);")";
490 LPRINT CODELIST$(NUM%);"(";CODESUM%(NUM%);")":LPRINT
500 PRINT", ";:NUM%=NUM%+1
510 IF NUM% MOD 28=0 THEN PRINT CS$;B$:INPUT"ADJUST PRINTER, GIVE ";D$ 520 WEND
530 PRINT CS$
540 INPUT"DO YOU WANT TO RUN THE WORLDMAP PROGRAM NOW?";QUEST$ 550 IF QUEST$="N" THEN PRINT CS$;"GOOD BYE!":GOTO 580
560 IF QUEST$<>"Y" THEN PRINT"WHAT???":GOTO 540
570 CHAIN "WORLDMAP"
580 END
