Jump to content
IGNORED

Atari Basic Error 146 When Opening Tape for Output


Recommended Posts

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

  • Like 3
Link to comment
Share on other sites

  • 2 weeks later...

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 by _The Doctor__
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...