drogon wrote:
floobydust wrote:
All valid points... but again, the changes made were for my own use. Also, as LOAD and SAVE were never really implemented in the base code, Lee suggested that intercepting the LIST command for SAVE would be his preferred method as it would be an ASCII file, which would be easier to examine, edit and LOAD into other BASIC implementations. But I understand your points and they're completely valid.
For my use, I ignored SAVE (and LOAD) and treated it as write-only, to the point that I use a text editor to write the small ehBasic programs I've written so-far, then *EXEC them into ehBasic. This is a command borrowed from Acorn land which allows keyboard input to come from a file. similarly, when I've made a few changes, then *SPOOL then list, then tweak it in a text editor...
floobydust wrote:
Also, on the EXIT vs QUIT (another valid point). As EhBasic doesn't have an EXIT command, picking EXIT was a choice, which can be easily changed.
Or *REBOOT in my system... (sorry - the advantages of having what might be considered an operating system vs. a "monitor")
-Gordon
I've also been using a text editor for simple basic programs. Using the Serial terminal program (OSX), I just can just copy and paste the program into the terminal window for loading. Doing a LIST, then copy/paste also allows saving a program as text. Enabling LOAD and SAVE seemed like a nice idea...
While my Monitor isn't considered an OS, it does provide a RESET function (does a cold start). It also has a large amount of function for a Monitor... which is pretty handy at times.
************************************************************
Memory Ops: [C]ompare, [D]isplay, [E]dit, [F]ill, [G]o Exec,
[H]ex Find, [I]nput Text, [M]ove, [T]ext Find
Register Ops: R,A,X,Y,S,P
Counter/Timer Ops: ,= set ms|mult, .= exe ms, /= exe ms*mult, \= exe (?)*ms*mult
[B]enchmark clear/start, [Q]uit benchmark/display elapsed time
Macro: (= Init )= Run
CTRL[?]: [A]ssemble, [B]asic, [D]isassemble, [E]dit EEPROM, [L]oad, [P]rogram,
[Q]uery Cmds ,[R]eset, [S]ave, [T]ime up, [V]ersion, [Z]ero RAM/Reset
************************************************************
Unfortunately, the Assembler isn't finished yet.... actually, I haven't started working on it yet, so that one is a place holder