The disk handling routine at 15619 will look ahead in the currently-executing BASIC line to see what command needs to be performed. As Ross Ridge observes, it evidently doesn't modify the BASIC interpreter's internal state when doing this, and so when the RANDOMIZE USR 15619 call returns, the interpreter will continue at the next statement. If the REM wasn't ...
A quick and easy way to crash Applesoft Basic (or at least put it in an unstable, glitchy state, requiring a press of the Reset button to fix) was:
POKE 33, 0
This sets the width of the screen (zero page location $21) to 0. Other random POKEing would probably accomplish it, too, but this was easy and guaranteed.
I can't speak to BASIC09 specifically, but there's quite a difference between an "i-code" and a tokenized form.
At a minimum, the i-code, in the end, need not look at all like the source code, whereas the tokenized form effectively IS the source code.
Many BASICs, when you type LIST, simply parrot back out the tokenized data in long form. With i-code, you ...
Well this certainly isn't exhaustive, but from what I can see the answer is no.
I still find it fascinating that the Soviet basic school computer was a PDP-11 in a micro format. It makes me wonder what our systems of the era would have been like given a similar CPU. In any event, this is also a rather limiting factor. Porting MS BASIC from one 8-bit ...
I think the earliest BASIC dialects on micros to use these constructs for strings were North Star BASIC and Apple Integer BASIC in 1977, both presumably influenced by HP BASIC. The Apple lineage isn’t surprising since Steve Wozniak worked at HP.
The origin of this approach to substring addressing could be FORTRAN, which uses a syntax of the form A(I:L).
The personal computing market for which BASIC was a lingua franca was a pioneering one, in which it was important for individual computer users to learn to program in order to be able to put their computers to some productive use. When the commercial software industry evolved to the point of being able to serve all of the needs of an increasing share of ...
BASIC is/was a good language for simple computational tasks, good for simple business problems and even science/math work. BASIC is also more accessible for novice programmers than more sophisticated languages like C or C++. Where BASIC ran up against its limits was user interface and doing interesting/engaging things with sound or graphics (too slow or ...
It wouldn't happen to be the one that the listing starts/ends like this, would it?
10 'EXPANDED APRIL 1977 BY W.A. BURTON
20 'PIRATED JAN. 1978 BY ZOSO
30 DIM G(8,8),S(8,8),K(3,3)
50 GOSUB 5460
6350 IF Q8<0 OR Q8>S THEN GOTO 6340
6370 PRINT E;" UNITS OF ENERGY NOW - TRY AGAIN."
Basic interpreters saved the code in a tokenised form to save space. I found this description of the format used by GW-Basic, a later version of MBASIC. I don't know if the file format changed between the versions, though.
It wouldn't be too hard to write a bit of code to convert from the byte-...
M-BASIC-80 knows the modifier "A" for the SAVE command - So, you should be able to create a readable ASCII file directly on the Kaypro computer by doing
If you don't want to mess with old disks on a modern computer (I recommend you don't even start to look into this), your best bet would be to set up a serial RS-...