Hello Shawn, On Wed, 23 Mar 2005, Shawn Jefferson wrote: > CC65 built executables do not work running from > cartridge. When the cartridge runs, almost everything > has been setup, except that E: has not been opened. > I've worked around this by opening E: myself in a > custom crt0. > > Is there any chance that the default crt0 can open E: > ? Would this be a "bad" thing? I think that we would > have to assume that E: is at IOCB zero. The Atari target already is quite bloated, therefore I'm reluctant to put more magic into the part of the runtime lib which gets linked in by default. Can't you initialize the E: device manually as first action of main()? I've attached a function to do this - it opens E: if it isn't already initialized. Can you please check whether it works with the cartridge? Simply add a call to _txtinit() at the start of your program and link with the attached file. If it works I could add this function to the Atari runtime lib. regards, chris ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.8 : 2005-03-28 03:38:28 CEST