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

151 Commits

Author SHA1 Message Date
cuz
545df804bb Renamed setoserror to seterrnofromoserror to avoid clashes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3838 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-04-15 06:55:35 +00:00
cuz
3293330f31 New entry point setoserror
git-svn-id: svn://svn.cc65.org/cc65/trunk@3835 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-04-13 17:35:15 +00:00
cuz
feae688346 Oliver Schmidt updated the graphics drivers and part of the C library for the
Apple machines.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3816 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-16 09:37:22 +00:00
cuz
878dcf4aa7 Fixed a problem when loading joystick drivers: When an install error occurred,
the driver wasn't removed from memory.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3752 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-04 10:15:18 +00:00
cuz
e941b34947 Fixed an error in the load routine: The driver was not removed from memory
when the install routine failed.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3750 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-04 10:01:33 +00:00
cuz
c1a38ce8f4 Fixed a problem in mouse_load_driver: The driver was not removed from memory
when the load failed.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3748 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-04 09:48:14 +00:00
cuz
d93f31777c Addition warning in comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3747 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-05-31 21:18:44 +00:00
cuz
4b8d90d2de Changed the mouse API: Introduced a new flag byte that contains information
about the driver, the mouse kernel needs to know. Current supported: Two flags
to enable interrupts before or after calling the driver INSTALL routine.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3741 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-05-21 11:25:31 +00:00
cpg
94a4a843f5 typo fixes from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3690 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-03 20:08:17 +00:00
cuz
6448e4cf51 Fixed FILENAME_MAX
git-svn-id: svn://svn.cc65.org/cc65/trunk@3469 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 13:15:52 +00:00
cuz
0994a1cbd2 Add some changes from stdio.h, FILENAME_MAX
git-svn-id: svn://svn.cc65.org/cc65/trunk@3464 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 11:23:54 +00:00
cuz
08808c0ec9 Renamed O65_OS_CC65_MODULE -> O65_OS_CC65 as in the C header.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3446 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-01 08:24:22 +00:00
cuz
9afcff6020 Fixed two typos
git-svn-id: svn://svn.cc65.org/cc65/trunk@3383 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:39:46 +00:00
cuz
e55a4bcfd4 Changed the way, used blocks are managed
git-svn-id: svn://svn.cc65.org/cc65/trunk@3340 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-19 23:09:38 +00:00
cuz
c67ed28f9b Added O_EXCL
git-svn-id: svn://svn.cc65.org/cc65/trunk@3306 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 15:18:33 +00:00
cpg
cae4f9b1e8 SIZEP2 was misnamed (SIZEF2) - noticed by Fatih Aygün
git-svn-id: svn://svn.cc65.org/cc65/trunk@3298 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-23 21:45:25 +00:00
cuz
71669b5ae3 Make _mouse_geterrormsg public
git-svn-id: svn://svn.cc65.org/cc65/trunk@3293 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 13:00:29 +00:00
cuz
cbacbb5222 Add constant for number of error codes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3290 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 12:42:30 +00:00
cuz
b1afca6bb3 Use a structure for the TGI header as with other drivers.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3285 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 11:30:45 +00:00
cuz
59d2e4e1f4 Make _joy_masks global
git-svn-id: svn://svn.cc65.org/cc65/trunk@3278 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:09:17 +00:00
cuz
0ad0a2e138 Added IRQ entry point, bumped the version number
git-svn-id: svn://svn.cc65.org/cc65/trunk@3275 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:01:15 +00:00
cuz
3a70b3bc2f Some renaming
git-svn-id: svn://svn.cc65.org/cc65/trunk@3269 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 21:03:47 +00:00
cuz
f0775b3845 New module
git-svn-id: svn://svn.cc65.org/cc65/trunk@3256 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-16 19:35:05 +00:00
cuz
ca1cefa000 _tgi_ioctl is a global symbol
git-svn-id: svn://svn.cc65.org/cc65/trunk@3253 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-15 21:25:48 +00:00
cuz
9994e60b49 Started to add lynx files contributed by Karri Kaksonen <karri@sipo.fi>
with minor modifications.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3222 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-08 18:14:19 +00:00
cuz
aa0c3bbf81 New function tgi_geterrormsg
git-svn-id: svn://svn.cc65.org/cc65/trunk@3125 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-15 09:08:39 +00:00
cuz
191801d7a1 Use enum, declare count of errors
git-svn-id: svn://svn.cc65.org/cc65/trunk@3124 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-15 09:08:31 +00:00
cuz
a2ac5ec13c Export __seterrno
git-svn-id: svn://svn.cc65.org/cc65/trunk@3040 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-14 09:44:42 +00:00
cuz
424e9fedc8 Mouse position no longer contained in the header
git-svn-id: svn://svn.cc65.org/cc65/trunk@3029 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-12 13:17:34 +00:00
cuz
d2351bba49 Added pushback char to struct FILE
git-svn-id: svn://svn.cc65.org/cc65/trunk@3028 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-12 13:16:36 +00:00
cuz
5e79761321 Added a missing export statement
git-svn-id: svn://svn.cc65.org/cc65/trunk@2977 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-08 17:48:55 +00:00
cuz
3bfbaee6a6 Working on loadable mouse drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2953 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-21 22:12:06 +00:00
cuz
703cde460f Working...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2899 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-05 18:34:44 +00:00
cuz
fb17cf5e0f New ioctl function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2858 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-30 08:18:40 +00:00
cuz
8d4c661c75 Make mouse driver loadable
git-svn-id: svn://svn.cc65.org/cc65/trunk@2852 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-28 21:26:11 +00:00
cuz
bfc4e54c41 Use structs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2778 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-16 22:38:28 +00:00
cuz
30577253b1 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2776 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-16 22:23:45 +00:00
cuz
5e3a3eaed1 Use structs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2774 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-16 21:08:24 +00:00
cuz
ba079ae6a1 Added an IRQ vector
git-svn-id: svn://svn.cc65.org/cc65/trunk@2753 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-14 17:39:22 +00:00
cuz
b483311390 Fixed SER_API_VERSION
git-svn-id: svn://svn.cc65.org/cc65/trunk@2736 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-13 11:01:28 +00:00
cuz
bac72d6b60 Add SER_API_VERSION
git-svn-id: svn://svn.cc65.org/cc65/trunk@2735 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-12 23:28:58 +00:00
cuz
1e2d7a03ff New modes, use .enum
git-svn-id: svn://svn.cc65.org/cc65/trunk@2713 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-05 18:29:46 +00:00
cuz
298767d71a Use structs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2711 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 20:54:43 +00:00
cuz
a1092ca7da Use structs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2710 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 20:23:09 +00:00
cuz
4fa1f8ba97 Use structs/enums
git-svn-id: svn://svn.cc65.org/cc65/trunk@2709 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 19:57:27 +00:00
cuz
c15fd58d3b Use structs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2707 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 10:15:33 +00:00
cuz
4fcf5c6bde Use an enum for the error codes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2705 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 09:21:01 +00:00
cuz
756de64bd5 Make stuff global
git-svn-id: svn://svn.cc65.org/cc65/trunk@2660 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-13 09:28:43 +00:00
cuz
7cafe5bbde Removed the HORLINE entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@2646 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 15:54:41 +00:00
cuz
9409de20a6 New mode for the apple ][
git-svn-id: svn://svn.cc65.org/cc65/trunk@2645 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 15:46:00 +00:00
cuz
37393c645e Removed tgi_emu_bar
git-svn-id: svn://svn.cc65.org/cc65/trunk@2608 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-04 10:09:34 +00:00
cuz
50d1e69609 Added TGI_API_VERSION
git-svn-id: svn://svn.cc65.org/cc65/trunk@2565 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 09:04:39 +00:00
cuz
b32e1cf906 New CT_NONE
git-svn-id: svn://svn.cc65.org/cc65/trunk@2500 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:00:08 +00:00
cuz
296b417502 API changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2406 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-22 11:23:48 +00:00
cuz
09c208ee67 Baud rate #define changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2331 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 21:22:58 +00:00
cuz
3302bfc108 _em_unload was not exported
git-svn-id: svn://svn.cc65.org/cc65/trunk@2309 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-14 12:27:20 +00:00
cpg
6e37953f52 added here from libsrc/atari
git-svn-id: svn://svn.cc65.org/cc65/trunk@2293 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:52:00 +00:00
cuz
fd8e2bd2c6 New field lengths
git-svn-id: svn://svn.cc65.org/cc65/trunk@2285 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 16:57:10 +00:00
cuz
ae7c80a3d1 New include file
git-svn-id: svn://svn.cc65.org/cc65/trunk@2277 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 14:17:14 +00:00
cuz
20e805a124 New error code ERANGE
git-svn-id: svn://svn.cc65.org/cc65/trunk@2274 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 13:48:45 +00:00
cuz
81b37f5443 Move FOPEN_MAX from _file.inc into stdio.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@2135 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-03 08:49:35 +00:00
cuz
67e9818e50 New file stdio.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@2131 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 15:59:30 +00:00
cuz
fa849031d8 Working on the new serial code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2070 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-20 22:49:32 +00:00
cuz
a07cc4a4c1 Working on new serial API
git-svn-id: svn://svn.cc65.org/cc65/trunk@2069 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-18 16:29:51 +00:00
cuz
13ff905946 Signals implemented
git-svn-id: svn://svn.cc65.org/cc65/trunk@2020 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-14 00:09:21 +00:00
cpg
295631d06b added RS_ERR_INIT_FAILED
git-svn-id: svn://svn.cc65.org/cc65/trunk@2004 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-07 00:12:28 +00:00
cuz
8ecdf9d6b7 Renamed ..._deinstall -> ..._uninstall.
Rename tgi_setup to tgi_install.
Make tgi_install and tgi_deinstall user callable.
More cosmetic changes.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1966 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-11 12:37:46 +00:00
cuz
bdf867bd54 Renamed the deinstall vector to uninstall
git-svn-id: svn://svn.cc65.org/cc65/trunk@1955 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-10 22:30:44 +00:00
cuz
3aee15b6ce Make joy_install, joy_uninstall user callable functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1950 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-10 22:11:12 +00:00
cuz
3f45fe8bd6 More o65 definitions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1934 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-07 11:03:12 +00:00
cuz
581c12ce40 Move _heap.h to the compiler include dir.
Create heap.inc and use that from the assembler code.
Rename heap related _h... variables to _heap...
Add _heapmaxavail and _heapmemavail functions.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1912 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-01 12:22:09 +00:00
cuz
e525cd2515 tgi_mode -> tgi_gmode
git-svn-id: svn://svn.cc65.org/cc65/trunk@1861 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-29 20:59:34 +00:00
izydorst
578443610d new TGI driver for interlaced VDC 640x480 mode
git-svn-id: svn://svn.cc65.org/cc65/trunk@1830 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-23 14:15:46 +00:00
izydorst
8397a1d8aa tgi driver for C128 VDC, changed order of things in libsrc/tgi/tgi-kernel.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@1826 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-22 22:50:17 +00:00
cuz
a75591573c Add signal bitmasks
git-svn-id: svn://svn.cc65.org/cc65/trunk@1799 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 21:02:57 +00:00
cuz
a143f26061 New joystick API
git-svn-id: svn://svn.cc65.org/cc65/trunk@1798 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 21:02:35 +00:00
cuz
2f8cdf9db9 Added signal.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@1774 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-15 14:57:04 +00:00
cuz
f7244c4e19 Added em_use
git-svn-id: svn://svn.cc65.org/cc65/trunk@1719 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-05 18:57:53 +00:00
cuz
0c38839e79 Replaced em_mapclean by em_commit
git-svn-id: svn://svn.cc65.org/cc65/trunk@1682 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-01 18:06:57 +00:00
cuz
4c4e5def21 New extended memory API
git-svn-id: svn://svn.cc65.org/cc65/trunk@1678 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-29 14:46:56 +00:00
cuz
f65039f490 Add declaration of __errno
git-svn-id: svn://svn.cc65.org/cc65/trunk@1553 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 18:14:53 +00:00
cuz
be10b3374c Moved fmode.inc -> fcntl.inc, add new constants
git-svn-id: svn://svn.cc65.org/cc65/trunk@1528 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-16 16:35:15 +00:00
cuz
7fffd12f11 Started to add tgi text output functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1428 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 11:18:49 +00:00
cuz
e2f95ebca5 Add tgi_horline
git-svn-id: svn://svn.cc65.org/cc65/trunk@1336 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-07 11:12:41 +00:00
cuz
104ce990cb More work on the graphics subsystem
git-svn-id: svn://svn.cc65.org/cc65/trunk@1334 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-07 10:30:31 +00:00
cuz
207c4a9e56 Working on the TGI library
git-svn-id: svn://svn.cc65.org/cc65/trunk@1325 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-22 21:53:58 +00:00
cuz
bf944755dd Working on the TGI library
git-svn-id: svn://svn.cc65.org/cc65/trunk@1323 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-22 21:40:24 +00:00
cuz
74b9e4831a Working
git-svn-id: svn://svn.cc65.org/cc65/trunk@1317 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 21:15:46 +00:00
cuz
579e1ae267 TGI Implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1315 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 16:25:56 +00:00
cuz
7fc24b058a TGI Implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1314 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 14:16:32 +00:00
cuz
e50b24d46a Implementing TGI
git-svn-id: svn://svn.cc65.org/cc65/trunk@1311 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 12:46:52 +00:00
cuz
18af56060d Added TGI files
git-svn-id: svn://svn.cc65.org/cc65/trunk@1308 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 12:00:45 +00:00
cuz
bf42f56500 Fixed zero page segment size
git-svn-id: svn://svn.cc65.org/cc65/trunk@1306 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-15 11:25:10 +00:00
cuz
9556117f0f zpspace cannot be an external symbol
git-svn-id: svn://svn.cc65.org/cc65/trunk@1289 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-26 08:32:47 +00:00
cuz
a1a147ee08 Added module with zero page locations
git-svn-id: svn://svn.cc65.org/cc65/trunk@1288 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-26 08:29:31 +00:00
cuz
25c317dcc3 New o65 defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1279 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-18 21:38:30 +00:00
cpg
f25f2196dd fixed O_CREAT, O_TRUNC, O_APPEND to match the C headers
git-svn-id: svn://svn.cc65.org/cc65/trunk@1270 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-16 15:14:04 +00:00
cuz
5c4205b284 Struct cleanup
git-svn-id: svn://svn.cc65.org/cc65/trunk@1259 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-24 18:46:49 +00:00
cuz
5d567426cb Removed duplicate defs
git-svn-id: svn://svn.cc65.org/cc65/trunk@1256 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-23 19:51:25 +00:00
cuz
0876496d44 Added mod_free
git-svn-id: svn://svn.cc65.org/cc65/trunk@1251 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-21 14:26:18 +00:00