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

Date view Thread view Subject view

From: Shawn Jefferson (sjefferson_at_sd62.bc.ca)
Date: 2002-05-16 18:51:25


>The feof() works fine here on both DOSes (like you said in your last
>mail), but with my test, writing after reaching eof did not work in
>AtariDOS but did work with SpartaDOS.

I ran your test program Chris, and I don't understand it.  Every version of SpartaDOS that I tried (3.2f, 3.3a) would not catch feof and just kept reading and printing 0x00 0x00 over and over...

This is what I am running:

cc65 v.2.8.0
Atari800Win 3.0 Beta (tried Atari800Win 2.8 too)
SpartaDOS v3.3a, v3.2f

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? 

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!

Thanks for all your work on this so far!



----------------------------------------------------------------------
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-16 18:52:14 CEST