1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-07 04:29:01 +00:00
cc65/libsrc/cbm
uz a9990fbcf3 Changed priorities of destructors so atexit will be called before open files
are closed on exit, so atexit handlers may close the files themselves or
whatever is necessary for a clean shutdown.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4939 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-01-28 10:55:03 +00:00
..
c_acptr.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
c_basin.s Fixes/improvements from Stefan Haubenthal 2004-01-09 17:39:55 +00:00
c_bsout.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
c_chkin.s Fixed two more function that didn't clear the high byte of the function result. 2009-08-23 21:40:36 +00:00
c_ciout.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
c_ckout.s Fixed two more function that didn't clear the high byte of the function result. 2009-08-23 21:40:36 +00:00
c_clall.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
c_close.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
c_clrch.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
c_iobase.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
c_listen.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
c_load.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
c_open.s Fixes/improvements from Stefan Haubenthal 2004-01-09 17:39:55 +00:00
c_readst.s Fixes/improvements from Stefan Haubenthal 2004-01-09 17:39:55 +00:00
c_save.s Fixed an error in cbm_k_save (on which cbm_save is based): The X register was 2009-08-23 21:38:11 +00:00
c_setlfs.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
c_setnam.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
c_talk.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
c_unlsn.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
c_untlk.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
cbm_close.s Added comments to cbm.h. 2001-03-20 21:06:04 +00:00
cbm_dir.c Cosmetic change. Formatting was lost because of cut&paste. 2009-10-10 20:50:15 +00:00
cbm_load.c Fix parameters to cbm_load and cbm_save 2002-12-13 00:30:40 +00:00
cbm_open.s Rewrote cbm_open and cbm_read in assembler saving about 80 bytes total. 2002-06-22 10:58:24 +00:00
cbm_read.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
cbm_save.c Change calling convention of cbm_save() to __fastcall__. 2010-06-04 10:25:53 +00:00
cbm_write.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
cbm.inc Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
cclear.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
chline.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
clock.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
close.s Fixed sources to use the new __mappederrno and __directerrno functions, and 2010-06-26 11:28:44 +00:00
ctype.s Improved ctype.s from Greg King 2003-05-05 09:04:36 +00:00
cvline.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
diskcmd.s Comment additions and changes. 2009-02-22 14:42:32 +00:00
exehdr.s Added a module that contains a small basic stub (SYS header) that starts 2010-11-14 11:50:38 +00:00
filedes.inc Working on the CBM file functions 2002-11-17 22:45:55 +00:00
filedes.s Finally: Commodore file I/O 2002-11-16 23:45:15 +00:00
filename.s Removed the code that checks for valid/invalid chars in a filename. Actually 2010-11-15 21:50:58 +00:00
filevars.s Initialize _curunit from the zeropage value DEVNUM (aka First Address) in a constructor with a very high priority to be called before DEVNUM gets overwritten by other constructors. 2010-02-14 23:12:54 +00:00
gotox.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
gotoxy.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
gotoy.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
initcwd.s Added initcwd.s from Stefan Haubenthal which initializes _cwd on startup. 2005-07-24 13:20:49 +00:00
loadaddr.s New module that contains the load address expected by the Commodore machines 2010-11-13 16:56:42 +00:00
Makefile Added a module that contains a small basic stub (SYS header) that starts 2010-11-14 11:50:38 +00:00
open.s Changed priorities of destructors so atexit will be called before open files 2011-01-28 10:55:03 +00:00
oserrlist.s Finally: Commodore file I/O 2002-11-16 23:45:15 +00:00
oserror.s No need to import __oserror. 2010-06-10 19:14:42 +00:00
read.s Fixed sources to use the new __mappederrno and __directerrno functions, and 2010-06-26 11:28:44 +00:00
rwcommon.s Fixed sources to use the new __mappederrno and __directerrno functions, and 2010-06-26 11:28:44 +00:00
scratch.s Moved some code from scratch.s into a new subroutine named writefndiskcmd in 2009-02-22 14:02:52 +00:00
sysremove.s fnparse will return zero flag according to error (ZF=1 means no error). 2009-02-22 13:54:03 +00:00
sysrename.s Be sure to read disk errors after sending the command on the command channel. 2009-07-27 18:42:37 +00:00
toascii.s The X register must be zero on return. 2009-11-02 16:24:26 +00:00
wherex.s Use direct access to the position variables, since gotoxy uses them also. 2003-12-27 15:51:11 +00:00
wherey.s Use direct access to the position variables, since gotoxy uses them also. 2003-12-27 15:51:11 +00:00
write.s Fixed sources to use the new __mappederrno and __directerrno functions, and 2010-06-26 11:28:44 +00:00