I've had ago with your information and I have found out that your UFIA can be anywhere well at least below &8000 but the completed UFIA is sent to &4B50. Not what the good old Technical Manual said. Also it looks like with SAMDOS you can't load files using the Load a block of data hook code(161). So I'm back to the drawing board.

Thanks for the help.

Dave
----- Original Message ----- From: "Edwin Blink" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, November 21, 2007 5:31 AM
Subject: Re: SAMDOS


As far as I remember SAMDOS uses fixed adresses for IX/UIFA.
UIFA must be equal &4B00 (I think).

Edwin

----- Original Message ----- From: David Brant
To: [email protected]
Sent: Tuesday, November 20, 2007 10:30 PM
Subject: SAMDOS


Hi All

Can anyone tell me why the following code works with master DOS but not in SAMDOS. The code should give the completed UFIA at IX+80 but samdos just returns.

              LD   IX,UFIA
              RST  8
              DEFB GETHEADER   ;get file header
              RET
UFIA:
              DEFB 19
              DEFM "object    "


GETHEADER:     EQU  129

Reply via email to