Hi, thanks for the elaboration! On Mon, Oct 25, 2010 at 11:19:11AM +0200, Spiro Trikaliotis wrote: > The addresses for other Commodore computers are: > > C64 VIC20 C128 PLUS4 > - mOPEN: $F377 $F437 $EFDF $EF7B > - mCLOSE: $F29D $F356 $F194 $EE6B > - mCHKIN: $F21B $F2D4 $F10E $F219 > - mCHKOUT: $F25D $F316 $F154 $ED6B That means jumps to the kernal ROM outside of the official entry points. I'm sure this will work, but it may also cause incompatibilities with third party kernals (JiffyDOS, SpeedDOS, ...) or different kernal versions. The current code for the CBM-II machines cannot access random ROM locations, only "official" entry points are supported. I doubt that there are enough advantages to justify the change. Using one lfn and one table entry that is internally rewritten by the cc65 library does also need machine dependent code, but it doesn't need to jump to arbitrary ROM locations, so this seems to be more portable to me. Anyway: Having working opendir/readdir/closedir routines for the CBMs will remove most needs to use CBM file I/O at all, so I see this as the preferred way to get rid of the problem. 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 Oct 25 21:55:30 2010
This archive was generated by hypermail 2.1.8 : 2010-10-25 21:55:33 CEST