Re: [cc65] CBM POSIX I/O - USR Files

From: Oliver Schmidt <ol.sc1web.de>
Date: 2010-03-29 17:37:02
Hi,

First of all thanks for all the helpful feedback so far...

> PRG is probably more special as it has (ar rather is being
> expected to have) two bytes loading address at the beginning of the file.

I see. So if I type LOAD on a PRG file without a valid loading address
the result will be (more or less) undefined. What happens if I type
LOAD on an USR file? The same?

And what about LOAD,* ? Does it load the first PRG file or load the
first <whatever> file?

Sorry for not trying myself but I don't have access to my PC right now...

>> I found a hint that both PRG and SEQ are limited in size,
>> maybe USR not?
>
> I think there is no real difference in the limits. REL files have different
> limits but they are generally different.

I was refering to http://www.c64-wiki.com/index.php/VC-1541 which says:

PRG program files (maximum filesize approximately 200 blocks)
SEQ sequential files (only usable with computer applications; max.
filesize 168.656 Bytes)
USR user-files (special format of a sequential file)

That sort of led my to the idea of different size limitations...

>> All this leaves me (as a non-CBM insider) quite puzzled: If non-PRG
>> files play a significant role, then why does a supposed-to-be-mature
>> tool like 1541 not support them ?!?
>
> ? Of course it does.. ;-)
> [...]
> c1541 #8> write .profile profiles,s
> [...]
> c1541 #8> write .profile profileu,u

Thank you for that information. Now I understand that the C1541
doesn't need to say something about it as it is part of the DOS
command syntax - hopefully getting it right now...

Regards, Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Mar 29 17:37:09 2010

This archive was generated by hypermail 2.1.8 : 2010-03-29 17:37:11 CEST