On Samstag 15 Januar 2011, you wrote: > > lseek is quite hard to do on cbm drives (without writing an entire custom > > dos) > > That's exactly what I was trying to express above - sorry if I wasn't > clear enough. that said, a *working* lseek isnt hard (skip forward by reading until desired position, skip backwards by reopening the file and seeking forward) is not the problem - "only" an efficient one is :) > Are you saying you posted code for opendir() - or are you saying you > posted that it is (too) hard to implement? The last thing I know about > the topic was this result: > http://www.cc65.org/mailarchive/2010-10/8694.html http://hitmen.c02.at/files/cc65/dirtest.c ... i posted that back in 2003 :) here: http://hitmen.c02.at/temp/directory.c is the one i am currently using, it still needs a bit of rework perhaps to work in the lib under all conditions (notice that i only ever tested it with my "os" kernel, not the regular cc65 runtime) :) > Do you happen to know if dio code for the CBMs was already provided? no idea. looks easy enough to implement though (a first version could be knocked up in C by using cbm_ drive functions) -- http://www.hitmen-console.org http://magicdisk.untergrund.net http://www.pokefinder.org http://ftp.pokefinder.org warning: madenmann is the stalking pervert of the scene. if you post on pouet, he floods you with your own irclogs and slengpung pictures. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sat Jan 15 15:44:07 2011
This archive was generated by hypermail 2.1.8 : 2011-01-15 15:44:09 CET