The maker of "cbmbasic-1.0-win32" says that it is 100% compatible with the Commodore 64, but as it is by itself, it doesn't seem to be, no peeks nor pokes, nor graphics, nor colors, Etc.
Anyhow it works on a DOS window, you can type program lines on the screen and or you can paste the text of the program's lines onto the DOS window, put the cursor on the very top of the window and Rth Click on the Mouse, then goto Edit and then to Paste and in this way you can first copy programs listings and then paste them onto the "cbmbasic-1.0-win32" DOS window and then either RUN them LIST them or SAVE them:
SAVE "NAME OF PROGRAM"
And once a program is saved into the same folder as the program is, you can then later at any-time LOAD it into the program:
LOAD "NAME OF PROGRAM"
Once a program is loaded it can be:
Remember for the program to work ok, limited as it is by itself, the "Caps Lock" must always be on.
There is "Direct Mode" Such as entering commands onto the DOS window without line numbers:
Then press the return key and get:
Press Return and get:
Program Mode is when you use Line Numbers and the program is not executed until you first enter RUN and then press the Enter key, the Enter key works as the RETURN Key.
10 PRINT 4+9
10 PRINT "CAR"
This has also shown some the basic keyword command PRINT.
So program lines begin with numbers, it seems as if you can even start with line # 0 at least with this particular Basic Interpreter.
0 PRINT "WHATEVER"
A KeyWord or Command gives instructions to the computer, that is, it tells the computer what to do.
Each Basic Interpreter program has a list of words that is used for giving the computer instructions.
The KeyWord or Command REM is or means REMARK, it is used for putting remarks or notes on the program, that is all that it does, that is, it doesn't do much of anything at all.
1 REM How to Substract numbers
2 PRINT 55-25
By the way to:
Add use +
Substract use -
Multiply use *, if you try to use X, you will see that it doesn't work, at least not with this Commodore 64 interpreter.
Divide use /
That is all on this for today, I am also more or less learning or on some things relearning as I type these things.
Since I can't seem to make this fully work as a regular C-64 then we are so far limited to only using a portion of the full set of basic commands.
If we were talking about a Commodore 64 emulator then we could use all or at least most of the C-64 keywords commands-instructions.
I might talk some about Commodore emulators later, maybe or maybe not.
Anyhow, some more about the Commodore basic commands later as I can make time for.
The set of Commodore basic commands is more or less about the same as those of some old basic interpreters, that is the basic-basic keywords, some keywords are more or less the same, but each interpreter has its own set of commands, only some of the commands might be shared among many or most of the old basic interpreters.
Now this is really all for Today.