bullmuscle Posted March 10, 2014 Share Posted March 10, 2014 Hi, I loaded Atari800Win Lite4 and have it configured to typical settings. I have setup and activated Drive 1 (D1) with a virtual formatted .atr. I am getting "ERROR- SAVE D1: TEST.BAS" when I try to save a file to D1. Am I doing something wrong? Let me know Thanks Joe Quote Link to comment Share on other sites More sharing options...
mgr_inz_rafal Posted March 10, 2014 Share Posted March 10, 2014 (edited) Try with quotation marks: SAVE "D1:TEST.BAS" Please note that you also need DOS to be loaded. Edited March 10, 2014 by mgr_inz_rafal Quote Link to comment Share on other sites More sharing options...
Mclaneinc Posted March 10, 2014 Share Posted March 10, 2014 (edited) In the original post there's also a space in the name at the start where there should not be , ie D1: test, not so obvious with capitals, and the quotes will help too Edited March 10, 2014 by Mclaneinc Quote Link to comment Share on other sites More sharing options...
Mathy Posted March 10, 2014 Share Posted March 10, 2014 Hello guys Try with quotation marks: SAVE "D1:TEST.BAS" Please note that you also need DOS to be loaded. I'm not sure if it works with every DOS, but you can often leave the last quotation mark off. In that case SAVE "D1:TEST.BAS should do the trick Sincerely Mathy Quote Link to comment Share on other sites More sharing options...
mgr_inz_rafal Posted March 10, 2014 Share Posted March 10, 2014 It should work with every DOS. If I'm not mistaken this is caused by a bug in BASIC interpreter. Quote Link to comment Share on other sites More sharing options...
thorfdbg Posted March 11, 2014 Share Posted March 11, 2014 I'm not sure if it works with every DOS, but you can often leave the last quotation mark off. In that case SAVE "D1:TEST.BAS should do the trick That's not a matter of the DOS, but a matter of the BASIC interpreter, and Atari Basic requires at least a single double quote in front of the D, i.e. SAVE "D1:TEST.BAS does the trick. However, there is a popular version of a basic extension, DISKIO (Os++ comes with a version of it) which allows you to ommit the quotes, and the D:. That is, with DISKIO loaded, the above simplifies to SAVE TEST.BAS However, as said, this is a BASIC extension and not part of Atari Basic as it comes. Quote Link to comment Share on other sites More sharing options...
atarixle Posted March 11, 2014 Share Posted March 11, 2014 (edited) for lazy fingers: S."D:TEST.BAS (The BASIC Interpreter looks for the first shortcut that fits S., which is the SAVE command. Commands later placed in the BASIC-ROM need more than one letter to be specified exactly, like e.g. SE. => SETCOLOR). The quots are obligatory in BASIC, cuz SAVE is a commant that wants a string as an argument (except you have those extensions which most of us don't have). So you also can do it like that: DIM F$(15):F$="D1:TEST.BAS":SAVE F$ Same is for LOAD or RUN files: LOAD "D1:TEST.BAS" and RUN "D1:TEST.BAS" Edited March 11, 2014 by atarixle Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.