danwinslow Posted February 7, 2015 Share Posted February 7, 2015 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? Quote Link to comment Share on other sites More sharing options...
danwinslow Posted February 7, 2015 Author Share Posted February 7, 2015 gah, never mind, thats a string argument obviously. Perhaps if I just passed the string. Quote Link to comment Share on other sites More sharing options...
Rybags Posted February 8, 2015 Share Posted February 8, 2015 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. 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.