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

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2010-03-29 09:16:35
On Sun, Mar 28, 2010 at 11:16:07PM +0200, Oliver Schmidt wrote:
> If I use cc65's POSIX I/O functions on the C64 to create a file, it
> has the file type USR. According to what I found out this file type is
> quite special - PRG ans SEQ are much more common. So my question is:
> Why USR? I found a hint that both PRG and SEQ are limited in size,
> maybe USR not?

All these file types are represented identically on the disk, so there is no
difference regarding size or something else. PRG is used for program files and
does usually contain a 2 byte load address, so I decided against that. 

You can change the type of the generated file easily by assignment to the
_filetype variable.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
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 09:16:47 2010

This archive was generated by hypermail 2.1.8 : 2010-03-29 09:16:50 CEST