Jump to content
IGNORED

atari basic XIO address handling


Recommended Posts

So, I'm trying to pass an address of a string variable in an XIO command, like so :

 

10 DIM A$(64)

20 XIO 13,#2,0,0,ADR(A$)

 

The number I am getting in bytes 4 and 5 of the IOCB is *not* the address of the variable. It points to a spot that has what looks like a second pointer to someplace sorta close to the variable, but about 200 bytes or so earlier.

 

Anybody have any clues?

Link to comment
Share on other sites

I don't think XIO works "properly" as in the way it sets up buffer length for the CIO call.

I can remember trying to use it in a copy program but having to resort to asm routines via USR calls.

 

For the straightforward stuff though like doing Dos rename and other commands it shoud be OK.

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...