Re: [cc65] Atari file i/o more info

Date view Thread view Subject view

From: Christian Groessler (cpg_at_aladdin.de)
Date: 2002-05-18 23:00:43


Hi,

On 05/16/2002 09:51:25 AM MST "Shawn Jefferson" wrote:
>
>aha!  I just replicated your results... here is how I did it.
>
>My executable (your test program) is on a AtariDOS 2.5 formatted
>diskette, I load SpartaDOS and then run the executable from the
>AtariDOS formatted diskette.  If I put my executable on a SpartaDOS
>diskette, it doesn't seem to find the EOF.  Can you verify that?

Not the disk where the executable resides, but the disk on which the
file it works on is, is making the difference.

>This may be the problem you are having with note and point too... I
>seem to recall that SpartaDOS will behave differently when accessing
>a AtariDOS diskette.  Try a SpartaDOS formatted diskette for your
>executable and data file!

Yes, Note and Point work normally (file offset) on SpartaDOS format
disks and like AtariDOS on those disks. Ok, since the AtariDOS on-disk
structures don't give this information, it's clear that it does not
work there. By why did the SpartaDOS authors not use different XIO
function codes for the improved version?

Now I'm kinda stuck. I need a way to find out the DOS format
(Sparta/non-Sparta) of a file at runtime.
Anyone got any ideas (Atari experts on the list)?

regards,
chris

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-05-18 23:02:37 CEST