1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00
Commit Graph

474 Commits

Author SHA1 Message Date
cpg
d198ba0e26 added Atari defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1138 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-10 22:47:07 +00:00
cuz
f2967f26fc Update from Piotr
git-svn-id: svn://svn.cc65.org/cc65/trunk@1124 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-18 20:05:57 +00:00
cuz
834eff684f calloc is now written in assembler and a fastcall function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1120 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-15 21:53:31 +00:00
cuz
c053b91f7a Added zlib.h header file
git-svn-id: svn://svn.cc65.org/cc65/trunk@1118 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-13 20:12:19 +00:00
mrintsch
babcf84f17 Changed the parameters of cbm_load and cbm_save to a more "C-like" way.
The API should be stable now.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1018 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-10 20:35:07 +00:00
cpg
fc253be753 add graphics() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1014 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-06 23:14:29 +00:00
cuz
63b2c252a5 Added/updated header blocks
git-svn-id: svn://svn.cc65.org/cc65/trunk@1000 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-02 18:48:54 +00:00
cuz
a29167709f Removed the JAM opcode
git-svn-id: svn://svn.cc65.org/cc65/trunk@993 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-02 08:10:44 +00:00
cuz
3dc0fb59bc Check for wrong header file inclusions, add CBM510 stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@948 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-19 08:46:07 +00:00
cuz
0dd35700c9 Added peekxsys functions for the 6509 machines
git-svn-id: svn://svn.cc65.org/cc65/trunk@917 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-14 08:41:16 +00:00
cuz
cce379324d Add support for the CBM 510
git-svn-id: svn://svn.cc65.org/cc65/trunk@916 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-14 07:53:34 +00:00
cuz
7f88d979f6 Added support for the Commodore 510 aka P500
git-svn-id: svn://svn.cc65.org/cc65/trunk@912 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 21:27:32 +00:00
cuz
7856dae4b2 Remove the port parameter to mouse_init
git-svn-id: svn://svn.cc65.org/cc65/trunk@903 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 15:35:24 +00:00
cuz
9e80491acb Remove sprite param to mouse_init
git-svn-id: svn://svn.cc65.org/cc65/trunk@893 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-12 13:49:08 +00:00
izydorst
490e3b8c0f dio bugfix, added get_tv and get_ostype functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@889 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-10 21:43:15 +00:00
cuz
cfc2e3766d Use the new __asm__ syntax
git-svn-id: svn://svn.cc65.org/cc65/trunk@886 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-09 21:19:05 +00:00
cuz
fee7b6dc3b Minor changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@874 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 20:04:21 +00:00
cuz
d6569bc230 Finished the mouse stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@872 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 15:44:48 +00:00
cuz
6e29f555d2 Use && and || in preprocessor #if statements. Other minor changes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@866 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 14:39:01 +00:00
cuz
229438fbf9 API update
git-svn-id: svn://svn.cc65.org/cc65/trunk@851 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-20 12:16:53 +00:00
izydorst
2a57280a11 functions that do not modify data take const char* as argument
git-svn-id: svn://svn.cc65.org/cc65/trunk@848 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-15 16:09:35 +00:00
cuz
4203682943 First version of graphics.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@846 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-13 19:29:07 +00:00
izydorst
8e97e1f4b7 own versions of some common routines, fillram and movedata equal to memset
and memcpy


git-svn-id: svn://svn.cc65.org/cc65/trunk@789 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-15 16:09:50 +00:00
izydorst
ebce3ebbc3 errno/oserrno stuff is cleaned up, saved some bytes in dialog box functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@775 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-04 22:08:13 +00:00
mrintsch
b2e0ed603e cbm_write() added
changed/added some comments
all cbm_* IO functions are using _oserror now


git-svn-id: svn://svn.cc65.org/cc65/trunk@682 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-30 18:18:40 +00:00
cuz
e7b80c4e8d va_start has also changed since the address of a fixed parameter is now
calculated by the compiler.


git-svn-id: svn://svn.cc65.org/cc65/trunk@655 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 20:07:42 +00:00
cuz
7e6005c999 The va_fix macro is no longer needed
git-svn-id: svn://svn.cc65.org/cc65/trunk@653 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 19:19:02 +00:00
cuz
1bc86c9c78 Last checkin was a cr/lf converted version:-(
git-svn-id: svn://svn.cc65.org/cc65/trunk@648 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 10:30:02 +00:00
cuz
5b68ec1591 Use the new __argsize__ pseudo variable
git-svn-id: svn://svn.cc65.org/cc65/trunk@647 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 10:28:11 +00:00
mrintsch
787ca6a9dd completed and testet cbm_read()
git-svn-id: svn://svn.cc65.org/cc65/trunk@639 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-21 20:59:27 +00:00
mrintsch
fb76e97575 Added comments to cbm.h.
load/save returns oserror code.
Added open/close and read (which is not tested yet).


git-svn-id: svn://svn.cc65.org/cc65/trunk@637 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-20 21:06:04 +00:00
mrintsch
16fded6d0c Loading and saving memory areas on cbm platforms
git-svn-id: svn://svn.cc65.org/cc65/trunk@625 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-13 22:48:19 +00:00
cpg
4413c9dc6e changed get_ostype defines for new return parameters; added get_tv
function prototype


git-svn-id: svn://svn.cc65.org/cc65/trunk@544 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-04 20:17:11 +00:00
cuz
d0e2ffcf57 vcprintf() does now have __fastcall__ calling conventions
git-svn-id: svn://svn.cc65.org/cc65/trunk@522 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-02 09:16:07 +00:00
cuz
4d23c7a3e6 New asm function have __fastcall__ calling conventions
git-svn-id: svn://svn.cc65.org/cc65/trunk@519 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 22:57:56 +00:00
cpg
5ad8b34061 added definition for DCB
git-svn-id: svn://svn.cc65.org/cc65/trunk@446 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-19 01:53:29 +00:00
cuz
8f6b114bb8 Changed mouse_down --> mouse_buttons, added MOUSE_BTN_LEFT define, changed
return code of mouse_init.


git-svn-id: svn://svn.cc65.org/cc65/trunk@439 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-16 23:40:09 +00:00
cpg
f681d0fdad added mouse type defines; added mouse_down() prototype
git-svn-id: svn://svn.cc65.org/cc65/trunk@438 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-16 23:05:00 +00:00
cpg
94c6fb5c4b added explanation of return codes
git-svn-id: svn://svn.cc65.org/cc65/trunk@437 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-16 21:42:38 +00:00
cpg
e9a67d0abd removed leading _ from dio functions and types; added small explanation of
each function


git-svn-id: svn://svn.cc65.org/cc65/trunk@436 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-16 21:38:00 +00:00
cpg
bfff0af539 removed _dio_format prototype
git-svn-id: svn://svn.cc65.org/cc65/trunk@433 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-14 21:16:10 +00:00
cuz
cb762d9d7c Added type parameter to mouse_init
git-svn-id: svn://svn.cc65.org/cc65/trunk@417 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 18:15:46 +00:00
cpg
7bd394a7dc made the input parameters of _dio_log_to_phys and _dio_phys_to_log const
git-svn-id: svn://svn.cc65.org/cc65/trunk@403 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-29 00:31:31 +00:00
cpg
e804c35e59 added _dio_phys_pos structure and renamed the translation functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@386 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-20 15:55:46 +00:00
cpg
b296a66b3b adapted to new parameters (_dhandle_t)
git-svn-id: svn://svn.cc65.org/cc65/trunk@379 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-18 23:41:03 +00:00
cpg
2986692f60 write functions now get a const void *buffer
git-svn-id: svn://svn.cc65.org/cc65/trunk@375 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-17 21:47:24 +00:00
cpg
c68d27d930 _dio_open and _dio_close are now real functions on Atari
git-svn-id: svn://svn.cc65.org/cc65/trunk@371 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-16 23:05:53 +00:00
cpg
354605c751 _dio_setup and _dio_finish are now called _dio_open and _dio_close; for
the Atari target they're both dummies


git-svn-id: svn://svn.cc65.org/cc65/trunk@359 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-12 20:52:23 +00:00
cpg
dcdfc7460c fixed POKEY and GTIA defines: now there are different defines for read
and write access


git-svn-id: svn://svn.cc65.org/cc65/trunk@358 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-11 14:30:09 +00:00
cuz
1174e5dbe3 Fixed two problems that weren't obvious with the old type casts.
git-svn-id: svn://svn.cc65.org/cc65/trunk@356 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-10 20:42:05 +00:00
cpg
e40995c889 dio.h - low-level disk-io functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@347 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-09 22:31:57 +00:00
cuz
d9180676fd Fixed return value of CmpString and CmpFString
git-svn-id: svn://svn.cc65.org/cc65/trunk@346 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-08 16:49:19 +00:00
cpg
bc40b008d0 fixed 2 typos: one in a comment, the other one in the CH_EOL definition
git-svn-id: svn://svn.cc65.org/cc65/trunk@344 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-06 23:35:56 +00:00
cpg
41b0d8f5d0 cosmetic change
git-svn-id: svn://svn.cc65.org/cc65/trunk@272 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:38:43 +00:00
cpg
6fe95eb3c3 added off_t type and lseek() prototype
git-svn-id: svn://svn.cc65.org/cc65/trunk@271 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:37:44 +00:00
cpg
3412342249 added file positioning functions (fseek etc.)
git-svn-id: svn://svn.cc65.org/cc65/trunk@270 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:34:28 +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
cpg
a08257b851 added standard copyright header
git-svn-id: svn://svn.cc65.org/cc65/trunk@228 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 21:41:06 +00:00
cuz
319059d46d Added Atari stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@196 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-25 20:10:29 +00:00
cuz
da224eb851 Changed decl order
git-svn-id: svn://svn.cc65.org/cc65/trunk@194 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-22 19:08:22 +00:00
cuz
a17dee1a1c Added standard copyright headers
git-svn-id: svn://svn.cc65.org/cc65/trunk@193 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-22 19:03:03 +00:00
cuz
b062c9c96e Added standard copyright header, always define isblank, since it is part
of ISO-9899-1999.


git-svn-id: svn://svn.cc65.org/cc65/trunk@192 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-22 19:02:52 +00:00
cuz
6524692f3d Added standard copyright header, fixed a wrong macro name.
git-svn-id: svn://svn.cc65.org/cc65/trunk@191 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-22 19:01:53 +00:00
cuz
b841f794cf Added va_copy
git-svn-id: svn://svn.cc65.org/cc65/trunk@190 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-22 18:29:43 +00:00
cuz
7dd7b024a0 strdup is now a fastcall function
git-svn-id: svn://svn.cc65.org/cc65/trunk@187 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-22 11:11:23 +00:00
cuz
80243ae63b _hadd is now a fastcall function
git-svn-id: svn://svn.cc65.org/cc65/trunk@183 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-21 21:36:24 +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
854e34e227 fixed a type with AT_OS_TYPE_MINOR
git-svn-id: svn://svn.cc65.org/cc65/trunk@161 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-17 00:29:01 +00:00
cuz
27be2dcb2b free() is now an assembler function
git-svn-id: svn://svn.cc65.org/cc65/trunk@159 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-16 22:10:47 +00:00
cpg
27bef5100f added get_ostype() function and related defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@145 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-10 23:31:44 +00:00
cpg
04539c46aa added declarations for scroll(), savevecs() and restvecs()
git-svn-id: svn://svn.cc65.org/cc65/trunk@115 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-23 21:36:21 +00:00
cuz
5453c45d8f Add the atari target
git-svn-id: svn://svn.cc65.org/cc65/trunk@104 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 12:42:37 +00:00
cpg
29f57b3196 GTIA color defines; added c64 compatibility color defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@94 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 00:50:05 +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