jnharmon Posted February 1, 2019 Share Posted February 1, 2019 Is there a limitation in Atari Basic that prevents opening the C: tape device for output? I get an error 146 if I execute the following command: OPEN #1,8,0,"C:" This works for other devices including disk files, P:, E:, etc, but I'm unclear as to why this doesn't work for the C: device, which I would assume supports input and output. As an FYI, I'm doing this under Altirra. Thanks! Quote Link to comment Share on other sites More sharing options...
vitoco Posted February 1, 2019 Share Posted February 1, 2019 That is strange. It works for me. Is "C: patch" disabled in your Altirra configuration? Also, did you start the virtual tape before pressing a key after the double beep? Can you hear the recording carrier and data tones? Quote Link to comment Share on other sites More sharing options...
jnharmon Posted February 1, 2019 Author Share Posted February 1, 2019 Yeah, thanks. I have the tape control up and the record button pressed before I execute the statement. I've tried with the C: patch on and off and get the same results. I expect it will work with my real Atari 800 and 410. Must be some Altirra config issue but I'm not sure what. Quote Link to comment Share on other sites More sharing options...
jnharmon Posted February 1, 2019 Author Share Posted February 1, 2019 Found the issue. I had Altirra configured to use the Omniview OS, which seems to present problems under Altirra in this case - probably due to some OS patching incompatibility. Switching to the normal XL/XE OS fixed the issue. 1 Quote Link to comment Share on other sites More sharing options...
+CharlieChaplin Posted February 1, 2019 Share Posted February 1, 2019 Hmmm, I am not a programmer, but most Basic programs I have seen that use the Open command for tape do have a 128 in that line, so something like: OPEN #1,4,128,"C:" or OPEN #1,8,128,"C:" Quote Link to comment Share on other sites More sharing options...
vitoco Posted February 1, 2019 Share Posted February 1, 2019 Hmmm, I am not a programmer, but most Basic programs I have seen that use the Open command for tape do have a 128 in that line, so something like: OPEN #1,4,128,"C:" or OPEN #1,8,128,"C:" 128 in AUX2 means that short inter-record gaps (IRG) must be used at save, so the data could be continuously retrieved at the read, probably using USR I/O routines (CIOV). When data is to be read using INPUT #1,VAR in a (usually) slow loop, a normal (long) IRG should be used in order to allow delays without stopping the tape and avoid SYNC errors. 3 Quote Link to comment Share on other sites More sharing options...
Rybags Posted February 3, 2019 Share Posted February 3, 2019 For the most part, Atari Basic is too slow to use the short IRG effectively, especially for read operations. Quote Link to comment Share on other sites More sharing options...
phaeron Posted February 3, 2019 Share Posted February 3, 2019 Error 146 is the CIO error code for Not Supported. The reason this happens with the Omniview OS is that the cassette handler has been removed in that OS -- the entire C: device handler is just RTS calls. 3 Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted February 15, 2019 Share Posted February 15, 2019 146 - Function Not Implemented. That's like when my idiot 'employer' wants me to sweep the RUG with a BROOM instead of a Vacuum Cleaner (which is right there). You are asking a device to perform a function that it was not designed to do (or is incapable of doing). 1 Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted February 15, 2019 Share Posted February 15, 2019 (edited) no you must take the rug up from the floor and hang it from cables outside! Yes this what you MUST do, and then you must beat the rug and sweep it while hanging... yes, this you must do! only then can you truly appreciate how filthy and dirty a rug is, you will wear it as will all things within a city block of the beat down... Edited February 15, 2019 by _The Doctor__ 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.