Re[2]: [cc65] Atari file i/o functions

Date view Thread view Subject view

From: groepaz (groepaz_at_gmx.net)
Date: 2002-04-24 12:46:13


Hello Christian,

CG> I order to provide a generic fseek function which uses the file
CG> offset, one whould have to re-read the whole file to get to the
CG> correct position, since there is no easy way to find the sector
CG> number from file offset. An optimization idea I had, was to modify the
CG> read/write functions to always split the read/write sizes to sector
CG> sizes and make a NOTE call after every read/write and generate a file
CG> offset <-> sector table in RAM. But this will further reduce
CG> read/write speed.

thats basically the key-problem with cbm-machines aswell (hard to tell
filepointer and really hard to move it around without making it
ridiculously slowish ;/)

-- 
Best regards,
 groepaz                            mailto:groepaz_at_gmx.net


----------------------------------------------------------------------
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-04-24 12:47:04 CEST