3 ms·
I might, very rarely, do some maintenance of a BASIC program these days. And that would be because the program I am using might require some minor tweaking. Bu
by simonblack 7y ago
I might, very rarely, do some maintenance of a BASIC program these days. And that would be because the program I am using might require some minor tweaking.
But invariably, I do all my new programming in C.
The flavor of BASIC I used to use is North Star Disk BASIC, very similar to HP BASIC.
A few lines from an old project:
1 REM*** THIS PROGRAM CONVERTS A 8080 PROGRAM INTO AN ASMB LISTING*****
10 DIM A7(256),B7(256),A7$(512),B7$(10*256),B8(256)
15 DIM K7$(20)
20 A7$=""\B7$=""
30 !\!" FILECRAK: Disassembles 8080 opcode programs"\!
50 FOR M=1 TO 256
60 READ A,A$,B,B$
70 B8(M)=LEN(B$)
80 B$=B$+" "
90 A7$=A7$+A$\B7$=B7$+B$
100 A7(M)=A\B7(M)=B
110 NEXT M
120 INPUT " File name of 8080 program:",V$\!
130 CLOSE#1\ OPEN#1%1,V$,L6
135 OPEN#5,"ASSEMBLE"
140 L6=L6*256
150 INPUT " 8080 op-codes begin at:",L$
160 INPUT " Begin disassembling at:",J$
170 !
180 INPUT " Output to printer? ",H9$