1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-30 05:30:41 +00:00
Commit Graph

80 Commits

Author SHA1 Message Date
izydorst
2edcb9d73b fixes in structs, added common cc65 color definitions, cgetc laces cursor in
correct line, interrupts are enabled before jumping into _main


git-svn-id: svn://svn.cc65.org/cc65/trunk@1217 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-06 17:37:12 +00:00
cuz
fe1f354fe8 Added scanf familiy of functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1200 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-17 17:18:19 +00:00
izydorst
438444cdd6 added declarations for cpputs and cpputsxy
git-svn-id: svn://svn.cc65.org/cc65/trunk@1182 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:53:02 +00:00
izydorst
81407526bf enabled mouse support for GEOS
git-svn-id: svn://svn.cc65.org/cc65/trunk@1173 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:42:16 +00:00
cuz
208c40eaf7 Two prototypes had a const qualifier missing
git-svn-id: svn://svn.cc65.org/cc65/trunk@1166 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-06 06:58:24 +00:00
cuz
0de448df64 AD2 was missing - thanks to groepaz for the hint
git-svn-id: svn://svn.cc65.org/cc65/trunk@1149 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-02-12 09:46:45 +00:00
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