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

70 Commits

Author SHA1 Message Date
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