1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-08 13:04:52 +00:00
Commit Graph

943 Commits

Author SHA1 Message Date
cpg
99083a83db added diopp_xxx defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@387 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-20 21:57:50 +00:00
cpg
979700f2fe adapted to new calling parameters (_dhandle_t)
git-svn-id: svn://svn.cc65.org/cc65/trunk@384 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-18 23:54:27 +00:00
cpg
2690dfc172 now returns a pointer to the entry in sectsizetab
git-svn-id: svn://svn.cc65.org/cc65/trunk@383 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-18 23:51:29 +00:00
cpg
6b6e282283 adapted function prototype (comment)
git-svn-id: svn://svn.cc65.org/cc65/trunk@382 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-18 23:50:01 +00:00
cpg
e9e7fd4d31 adapted to new parameters
git-svn-id: svn://svn.cc65.org/cc65/trunk@381 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-18 23:47:42 +00:00
cpg
5747fcd976 sst_xxx defines for dio functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@380 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-18 23:43:25 +00:00
cpg
46dd4af601 put grmemusage table into rodata segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@377 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-18 00:01:13 +00:00
cpg
6f60139c57 _dio_open and _dio_close functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@374 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-16 23:24:24 +00:00
cpg
e32644afb0 get transfer size from sectsizetab
git-svn-id: svn://svn.cc65.org/cc65/trunk@373 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-16 23:23:22 +00:00
cpg
a35cafa626 diopncls.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@372 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-16 23:22:07 +00:00
cpg
87838bc53f implements _sio_call function, direct call to SIO handler
git-svn-id: svn://svn.cc65.org/cc65/trunk@365 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-12 21:03:53 +00:00
cpg
65006f5909 implements _dio_snum_to_chs (dummy on Atari)
git-svn-id: svn://svn.cc65.org/cc65/trunk@364 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-12 21:02:50 +00:00
cpg
068d2d3fb9 implements _dio_chs_to_snum function (dummy on Atari)
git-svn-id: svn://svn.cc65.org/cc65/trunk@363 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-12 21:02:24 +00:00
cpg
282b2946bd implements _dio_write_verify with the __sio_call function
git-svn-id: svn://svn.cc65.org/cc65/trunk@362 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-12 21:01:24 +00:00
cpg
3f71fcb293 now sets up SIO command and transfer direction; __sio_call now does the
real work


git-svn-id: svn://svn.cc65.org/cc65/trunk@361 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-12 21:00:19 +00:00
cpg
bf32739271 siocall.o, diowritev.o, dio_cts.o, dio_stc.o: new source files
git-svn-id: svn://svn.cc65.org/cc65/trunk@360 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-12 20:57:37 +00:00
cuz
cbf4fa5707 Make the all target build all libraries
git-svn-id: svn://svn.cc65.org/cc65/trunk@351 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-10 19:54:45 +00:00
cpg
84537ae937 added _dio_read() and _dio_write() handlers
git-svn-id: svn://svn.cc65.org/cc65/trunk@349 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-09 22:43:01 +00:00
cpg
c33f95f88e added dioread.o and diowrite.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@348 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-09 22:33:13 +00:00
cpg
d922c0ba26 added SIO_xxx command codes
git-svn-id: svn://svn.cc65.org/cc65/trunk@345 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-06 23:59:42 +00:00
cuz
c15fb9b50f Debugged the mouse routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@342 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-26 19:44:44 +00:00
cuz
9633ff1882 Started debugging the mouse routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@341 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-26 18:46:29 +00:00
cuz
d6fb2d94bf Rewrote memcmp. The old version was buggy, the new one is faster and
hopefully error free.


git-svn-id: svn://svn.cc65.org/cc65/trunk@330 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-15 17:23:19 +00:00
cuz
2e21552871 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@325 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-14 19:16:53 +00:00
cuz
e0a619ff90 Place the zero page variables into the ZEROPAGE segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@322 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-07 21:49:13 +00:00
cuz
dcc0fe91a2 Several type qualifier fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@283 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 22:16:40 +00:00
cuz
84f74b4393 Type qualifier fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@282 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 21:50:56 +00:00
cuz
114acc4d79 Fixed param type qualifiers in several function definitions
git-svn-id: svn://svn.cc65.org/cc65/trunk@278 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-13 16:16:49 +00:00
cuz
c70c5197e1 Ignore intermediate files
git-svn-id: svn://svn.cc65.org/cc65/trunk@277 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-12 12:27:17 +00:00
cpg
743b215bac fixed setting of errno
git-svn-id: svn://svn.cc65.org/cc65/trunk@276 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 22:14:21 +00:00
cpg
f756e60532 initial check-in of file positioning stdio functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@275 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:53:56 +00:00
cpg
d6a3b84948 initial check-in
git-svn-id: svn://svn.cc65.org/cc65/trunk@274 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:51:03 +00:00
cpg
43344ef154 fsetpos.o fgetpos.o rewind.o fseek.o ftell.o: new object files
git-svn-id: svn://svn.cc65.org/cc65/trunk@273 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:44:39 +00:00
cpg
f1a54412b7 lseek.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@266 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-07 22:43:31 +00:00
cuz
2ff5069436 Place data into RODATA, not CODE
git-svn-id: svn://svn.cc65.org/cc65/trunk@264 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-03 10:46:57 +00:00
cuz
2f65b8f5c6 Remove #pragmas to switch to the RODATA segment since the compiler will do
this now without help.


git-svn-id: svn://svn.cc65.org/cc65/trunk@263 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-03 10:45:31 +00:00
cuz
f1453ff273 Changes from Maciej
git-svn-id: svn://svn.cc65.org/cc65/trunk@245 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-31 22:04:21 +00:00
cuz
2e3b545bdb Move store out of region with interrupts disabled to improve interrupt
latency.


git-svn-id: svn://svn.cc65.org/cc65/trunk@236 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 09:30:58 +00:00
cuz
dcb557517e Bug fixes from Maciej and Dirk
git-svn-id: svn://svn.cc65.org/cc65/trunk@235 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 09:28:54 +00:00
cpg
7fa0e2e8ee some small fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@227 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 21:25:43 +00:00
cuz
ab2b9d35e1 Added new clock module implementing clock() and _clocks_per_sec().
git-svn-id: svn://svn.cc65.org/cc65/trunk@195 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-25 20:06:34 +00:00
cuz
fa41731700 Replace a return value of 0 by 1 as expected by the C standard.
git-svn-id: svn://svn.cc65.org/cc65/trunk@189 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-22 18:26:31 +00:00
cuz
1627af5de8 Replace strdup by an assembler implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@186 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-22 11:10:34 +00:00
cuz
8db1fa3aa0 Rewrite _hadd in assembler (a huge speedup!) and integrate it with free
for even faster code. The old _hadd function is now also written in
assembler but does only setup variables and calls the internal function
that is part of free.


git-svn-id: svn://svn.cc65.org/cc65/trunk@182 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-21 21:36:06 +00:00
cuz
950a88d55e Replace malloc() by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@181 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-21 16:57:58 +00:00
cpg
02bbe5289b set default screen mode to 0
git-svn-id: svn://svn.cc65.org/cc65/trunk@177 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-21 09:20:09 +00:00
cpg
72294dc011 removed DIRECT_SCREEN define
git-svn-id: svn://svn.cc65.org/cc65/trunk@176 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-21 08:26:44 +00:00
cuz
bb4f3c4475 Use macpack for debugging, cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@171 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-19 09:23:51 +00:00
cuz
e3a6f3b6e1 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@166 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-18 21:30:48 +00:00
cpg
badf78999f added PAL/NTSC check for 1200xl + XL/XE systems
git-svn-id: svn://svn.cc65.org/cc65/trunk@162 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-17 00:30:01 +00:00
cuz
bc320797c6 Replaced free.c by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@158 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-16 22:09:58 +00:00
cuz
c6546592b6 newline is used elsewhere and must be exported
git-svn-id: svn://svn.cc65.org/cc65/trunk@157 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-16 20:54:53 +00:00
cuz
f3605c162b Fixed a bug in LF handling for the CBM machines
git-svn-id: svn://svn.cc65.org/cc65/trunk@156 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-16 20:24:10 +00:00
cpg
fed0a0a52d determines OS version
git-svn-id: svn://svn.cc65.org/cc65/trunk@146 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-10 23:38:14 +00:00
cpg
49df1600cb ostype.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@143 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-10 23:14:14 +00:00
cpg
0c85406f52 replaced multiple lines of "rm" commands with a single "rm" line in the
clean target. on some rm lines the argument was empty which caused the
NetBSD rm command to complain...


git-svn-id: svn://svn.cc65.org/cc65/trunk@135 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-03 21:03:41 +00:00
cuz
a992dd05a0 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@128 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 13:17:26 +00:00
cpg
1d934b205f provides default value for __graphmode_used variable
git-svn-id: svn://svn.cc65.org/cc65/trunk@125 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 01:50:43 +00:00
cpg
6f05785aa9 adapt reserved memory with _graphmode_used variable (user settable)
git-svn-id: svn://svn.cc65.org/cc65/trunk@124 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 01:45:30 +00:00
cpg
4a27cbd9a7 graphuse.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@123 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 01:43:36 +00:00
cpg
695f260449 renamed fd_table, fd_index to __fd_table and __fd_index (C naming)
git-svn-id: svn://svn.cc65.org/cc65/trunk@122 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 01:40:29 +00:00
cuz
9468b05231 Separated _maperrno and _errno
git-svn-id: svn://svn.cc65.org/cc65/trunk@121 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-24 09:10:16 +00:00
cuz
48f1d0ad28 Fixed errno handling
git-svn-id: svn://svn.cc65.org/cc65/trunk@120 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-24 09:02:08 +00:00
cpg
668c031c32 full-screen scroll routine (up and down)
git-svn-id: svn://svn.cc65.org/cc65/trunk@119 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-23 22:10:25 +00:00
cpg
e51b5c8b59 multiply by 40 routine
git-svn-id: svn://svn.cc65.org/cc65/trunk@118 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-23 22:06:37 +00:00
cpg
7b944cae11 use mul40 routine instead of doing the multiplication myself
git-svn-id: svn://svn.cc65.org/cc65/trunk@117 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-23 22:05:59 +00:00
cpg
70dbbb542f sroll.o, mul40.o: new object files
git-svn-id: svn://svn.cc65.org/cc65/trunk@116 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-23 22:03:57 +00:00
cpg
7198329ce3 setcolor, getcolor and setcolor_low functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@93 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 00:42:26 +00:00
cpg
564eed1a2d setcolor.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@92 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 00:39:59 +00:00
cuz
ea2f5c1309 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@88 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-19 06:14:44 +00:00
cuz
a66cf46549 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@86 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-15 18:06:18 +00:00
cpg
3b63322f99 stupid: put local vars of newfd function into .bss instead of .data
git-svn-id: svn://svn.cc65.org/cc65/trunk@59 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-12 00:16:21 +00:00
cpg
af33f993e1 allocate local vars in .data, don't use the stack (we don't need to
be reentrant here :-)


git-svn-id: svn://svn.cc65.org/cc65/trunk@55 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-11 23:21:30 +00:00
cuz
269ae9606d Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@54 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-11 16:49:00 +00:00
cuz
c8193d6364 Remove/rename more code
git-svn-id: svn://svn.cc65.org/cc65/trunk@49 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:13:50 +00:00
cuz
78b07cc6f4 Renamed module, part of code no longer needed
git-svn-id: svn://svn.cc65.org/cc65/trunk@48 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:11:27 +00:00
cuz
61ca3a4abe Routines no longer used
git-svn-id: svn://svn.cc65.org/cc65/trunk@47 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:06:05 +00:00
cuz
6481395a94 Minor optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@46 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:05:59 +00:00
cuz
66e7d9cd1b Minor optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@45 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 15:48:54 +00:00
cuz
01b788b1fc Remove value test code (no longer needed)
git-svn-id: svn://svn.cc65.org/cc65/trunk@44 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 15:48:44 +00:00
cuz
4744e3602c Added the capability to search for the terminating zero of the given string.
Don't know what the standard says about it, but the feature seems reasonable
and other compilers handle it this way.


git-svn-id: svn://svn.cc65.org/cc65/trunk@42 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-09 12:07:53 +00:00
cuz
ca815af077 iscntrl was not mentioned in the Makefile and therefor not built.
Change the isxxx functions to correctly handle values outside of character
range.


git-svn-id: svn://svn.cc65.org/cc65/trunk@33 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 18:35:04 +00:00
cuz
874b728ecd Fixed cr/lf handling
git-svn-id: svn://svn.cc65.org/cc65/trunk@30 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 18:02:13 +00:00
cpg
e8c6996e00 don't import newline
git-svn-id: svn://svn.cc65.org/cc65/trunk@28 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-07 22:32:12 +00:00
cpg
87fa3e147f fixed it and saved 1 byte
git-svn-id: svn://svn.cc65.org/cc65/trunk@27 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-07 22:10:45 +00:00
cpg
68cf78c01d adapted for atari
git-svn-id: svn://svn.cc65.org/cc65/trunk@26 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-07 21:22:30 +00:00
cpg
ca35829405 first working version (with filenames at least, devices not tested yet)
git-svn-id: svn://svn.cc65.org/cc65/trunk@18 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-30 22:28:30 +00:00
cpg
d1d9ebe9e7 initialze stdin/stdout/stderr correctly
git-svn-id: svn://svn.cc65.org/cc65/trunk@17 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-30 22:21:40 +00:00
cpg
247c29f7a5 don't use INVFLG but our own variable to indicate revers - the
INVFLG is changed by the Atari key


git-svn-id: svn://svn.cc65.org/cc65/trunk@16 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-30 22:20:01 +00:00
cpg
285c097fdb fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@11 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 21:54:19 +00:00
cpg
5e3b46a37f first hack at newfd function: compiles but doesn't work yet
git-svn-id: svn://svn.cc65.org/cc65/trunk@10 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 21:53:09 +00:00
cpg
62d883157a added support for fd indirection
git-svn-id: svn://svn.cc65.org/cc65/trunk@9 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 21:51:06 +00:00
uz
53dd513176 This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 13:40:48 +00:00