compyx
dade099b9d
CBM kernal call SECOND, update cbm.h
2018-05-23 17:37:48 +02:00
compyx
30ada49458
Add CBM kernal call TKSA to CBM library
...
This adds the CBM kernal call TKSA as cbm_k_tksa() to the CBM library.
2018-05-22 14:16:00 +02:00
Oliver Schmidt
935f68f686
Harmonized the style of including headers from headers.
...
We surely don't care about some file I/O on host machines in 2018 ;-)
2018-02-02 12:28:22 +01:00
Oliver Schmidt
06794b221d
Made cbm_k_untlk() available.
2017-11-13 20:38:41 +01:00
Oliver Schmidt
4aa19494f5
Removed dysfunctional kbrepeatdelay() and kbrepeatrate().
...
As discussed in https://github.com/cc65/cc65/pull/452 after my premature merge the two functions in question don't work as expected.
Additionally I adjusted several style deviations in the pull request in question.
2017-08-30 16:37:59 +02:00
Oliver Schmidt
b5a4e5667a
Merge pull request #452 from mrdudz/kbrepeat
...
kbrepeatdelay and kbrepeatrate for cbm targets
2017-08-20 14:15:37 +02:00
mrdudz
960957075f
use fastcall
2017-08-19 19:14:24 +02:00
Oliver Schmidt
7f52a770d9
Removed joy_masks array.
...
So far the joy_masks array allowed several joystick drivers for a single target to each have different joy_read return values. However this meant that every call to joy_read implied an additional joy_masks lookup to post-process the return value.
Given that almost all targets only come with a single joystick driver this seems an inappropriate overhead. Therefore now the target header files contain constants matching the return value of the joy_read of the joystick driver(s) on that target.
If there indeed are several joystick drivers for a single target they must agree on a common return value for joy_read. In some cases this was alredy the case as there's a "natural" return value for joy_read. However a few joystick drivers need to be adjusted. This may cause some overhead inside the driver. But that is for sure smaller than the overhead introduced by the joy_masks lookup before.
!!! ToDo !!!
The following three joystick drivers become broken with this commit and need to be adjusted:
- atrmj8.s
- c64-numpad.s
- vic20-stdjoy.s
2017-08-19 19:11:28 +02:00
Bob Andrews
5dcebbccb6
Merge branch 'master' into kbrepeat
2017-08-06 20:22:52 +02:00
mrdudz
99e6dd18d6
resolve conflict
2017-08-06 20:20:22 +02:00
mrdudz
bd9208879e
added prototypes and proposed constants
2017-08-06 18:09:40 +02:00
Pascal de Bruijn
c802c9c946
joy: refactor generic joy_masks array indices and macros
2017-07-23 23:45:52 +02:00
Oliver Schmidt
6002e59c28
Merge pull request #453 from mrdudz/waitvsync
...
waitvblank for cbm targets
2017-07-18 15:38:27 +02:00
mrdudz
fe850fece8
implement waitvsync for plus4/c16
2017-07-17 23:55:18 +02:00
mrdudz
33791c6efd
added prototype to cbm.h
2017-07-17 23:43:08 +02:00
Greg King
2c03b9a1bc
Added C-code interfaces for the CBM Kernal functions SCNKEY and UDTIM.
2016-08-07 15:50:10 -04:00
Greg King
66d79da3c2
Made cbm_load() be a fastcall function.
2015-03-13 05:46:40 -04:00
Greg King
a798b1d648
Made __fastcall__ be the default calling convention for non-variadic functions.
2015-03-10 05:53:52 -04:00
Greg King
0390c34e88
Changed multi-line C comments into another style.
...
The left side doesn't look unbalanced.
2014-06-30 16:51:07 -04:00
Oliver Schmidt
85885001b1
Removed (pretty inconsistently used) tab chars from source code base.
2013-05-09 13:57:12 +02:00
ol.sc
8b26ed2a69
Implemented __syschdir on CBM. As getcwd returns a cached directory any direct access to __curunit would cause inconsistencies. Therefore __curunit was renamed to curunit to prohibit user access.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5857 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-16 21:39:40 +00:00
uz
511b826dfd
Use 's' as default file type instead of 'u'.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5756 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-01 18:24:01 +00:00
uz
ec8234c521
Fixed naming of cbm_clall.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5752 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-01 12:45:26 +00:00
uz
e03feeefae
Unified names of CBM kernal level functions and completed the list of
...
functions in the cbm.h header file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5750 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-01 12:36:44 +00:00
uz
5bc67cdaee
Move definitions for CBM file types into its own header file, since these
...
definitions are needed for file type macros in dirent.h. Unify names for the
include files.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5735 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-24 13:52:06 +00:00
uz
2f87dbc27e
Allow a third, optional filename argument for cbm_opendir.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5683 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-04 18:32:38 +00:00
uz
ebca2991a3
Moved most of the file type detection from cbm_dir.c into a new function
...
called _cbm_filetype().
Added an assembler include file with the file type definitions from cbm.h.
Added a first implementation of readdir() for the CBMs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5669 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-02 22:56:14 +00:00
uz
e531e5abd1
Removed __fastcall__ declarations for functions without parameters.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5073 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-07 20:19:35 +00:00
uz
79fad36b41
Use slightly optimized character translation settings for the CBM machines.
...
Suggested by Greg King.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5054 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-06-13 12:13:08 +00:00
uz
ba2a945417
Changes by Greg King:
...
Made cbm_readdir() report a disk's format-code and more file-access modes.
Added more definitions to <cbm.h> for cbm_readdir(). And, improved the
header's comments. Added some ASCII-to-PetSCII character-mappings.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4986 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-16 12:28:06 +00:00
ol.sc
8c0c1e1ed9
According to a recent discussion CH_ENTER should generally *not* be defined based on '\n'.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4825 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-10-02 21:20:25 +00:00
uz
a86d23a63c
Change calling convention of cbm_save() to __fastcall__.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4709 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-04 10:25:53 +00:00
uz
d54a1ba3d2
Improved cbm_dir routines by Thomas Giesel.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4264 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 22:01:58 +00:00
cuz
9043e10165
TV_OTHER and availability for more platforms
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3255 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-16 19:32:07 +00:00
cuz
90f47ed007
CBM directory routines by Josef Soucek
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1920 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-02 13:18:40 +00:00
cuz
f47648ecfb
Moved CH_ESC back to cbm.h
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1768 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-14 16:55:17 +00:00
cuz
41f6d32cfd
Fix parameters to cbm_load and cbm_save
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1757 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-13 00:30:40 +00:00
cuz
0dc85c727b
Fixed escape and stop key definitions for the commodore machines
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1741 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-12 21:01:34 +00:00
cuz
8dc9619d2e
Define CH_ENTER
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1730 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-09 21:44:33 +00:00
cuz
df956f4628
Added get_tv for several platforms
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1709 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-03 22:19:21 +00:00
cuz
ab25c627c8
Added file variables, other cosmetic changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1688 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-01 23:39:11 +00:00
cuz
e41c0adbb2
New target c16
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1563 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 21:22:26 +00:00
cuz
fc81b379d8
cbm_write is not __fastcall__
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1525 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-15 18:42:06 +00:00
cuz
f0d89e09bc
Added VIC20 port changes from Steve Schmidtke
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1376 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-07 05:18:13 +00:00
cuz
dcbd059858
Change calling conventions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1321 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-22 11:17:33 +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
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
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
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
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