1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-03 10:07:02 +00:00
Commit Graph

385 Commits

Author SHA1 Message Date
Christian Groessler
a14d4c803d remove TABs 2013-06-10 13:26:56 +02:00
Christian Groessler
56e330a4d7 Use symbolic names for all CIO commands. 2013-06-10 12:45:51 +02:00
Christian Groessler
b03913370c Use symbolic names for all CIO commands. 2013-06-08 00:35:07 +02:00
Christian Groessler
2823bc1e66 Merge remote-tracking branch 'upstream/master' 2013-06-04 10:54:34 +02:00
Greg King
66ca781bb1 Added library reference address to lightpen driver header. 2013-06-03 06:09:22 -04:00
Oliver Schmidt
b0dd6c614f Added library reference tgi_libref to TGI interface. 2013-06-01 12:42:00 +02:00
Oliver Schmidt
ae409e4978 Added library reference ser_libref to SER interface. 2013-06-01 11:03:14 +02:00
Oliver Schmidt
744abda24f Added library reference mouse_libref to MOU interface. 2013-06-01 00:53:17 +02:00
Oliver Schmidt
23650cb946 Added library reference joy_libref to JOY interface. 2013-06-01 00:36:08 +02:00
Oliver Schmidt
619b215260 Added library reference em_libref to EMD interface.
Occasionally dynamically drivers suffer from not being to refer to
content in the C library. Therefore I added a mechanism to allow
a C library for a certian target to define a symbol that will be
handed over to dynamic drivers for that target. Then the drivers
can use their refernce to that symbol to access content in the C
library.
2013-06-01 00:11:31 +02:00
Christian Groessler
c1468f11b2 rename CIOV and SIOV to CIOV_org and SIOV_org for atarixl target 2013-05-31 01:37:40 +02:00
Greg King
051c21726b Added Inkwell lightpen drivers for the C64 and the C128.
They use the mouse driver programming interface.

Added a test program for lightpen drivers.  Now, it knows about only those two drivers; it will need updating when others are added.
2013-05-29 20:02:29 -04:00
Oliver Schmidt
98c47d1877 Introduced target 'atarixl'.
The target 'atarixl' is to be used for Atari XL (and better) machines.
It will disable the OS ROM and enable the Shadow RAM available on
those machine.

Note: This commit is only the inital step towards for this goal that just
replicates the target 'atari' as a starting point!
2013-05-28 21:56:37 +02:00
Oliver Schmidt
85885001b1 Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
Greg King
7d1d929391 Added two useful opcode mnemonic aliases.
bnz - jump if not zero.
bze - jump if zero.
2013-05-08 00:03:44 -04:00
Greg King
662aef4efa Made CBM scrcode assembly-macro properly handle all 256 codes.
And, made it smaller.
2013-04-25 14:28:01 -04:00
Oliver Schmidt
54299fae5a Replaced builtin macro packages with .mac files that are included like ordinary .inc files.
The benefits are:
- Independency of ca65 build from perl
- More transparent behaviour
2013-04-08 00:11:05 +02:00
uz
bf91be8790 Small fixes by Christian Krüger.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5960 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-07 20:25:45 +00:00
karri
b939a22f68 Define timer 7 for sound
git-svn-id: svn://svn.cc65.org/cc65/trunk@5945 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-12-11 05:56:59 +00:00
uz
673b982b22 Change imports from "import" to "global", so the file can be used from
zeropage.s


git-svn-id: svn://svn.cc65.org/cc65/trunk@5908 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-04 13:54:06 +00:00
uz
c07f1ccde6 Add some more definitions for the zero page variables used by the compiler.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5907 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-04 13:52:41 +00:00
ol.sc
50a884d530 Removed reference to old rs232 framework.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5896 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-01 20:43:28 +00:00
ol.sc
72f456536f Turned the 'ST' status byte into a symbol resolved by the linker in order to allow to use it from code living in the 'cbm' directory.
Moved getdevice.s from 'c64'/'c128' to 'cbm' making use of the new 'ST' setup.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5837 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-02 16:41:40 +00:00
ol.sc
58c8db7c75 Have _em_load_driver exported here now that it is an asm function.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5799 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-31 21:37:07 +00:00
uz
dcff1d0774 An already loaded driver is an error in ser_load_driver, because the library
cannot know if it was dynamically loaded or statically linked.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5794 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-22 19:54:04 +00:00
uz
e7ed3b374f Rewrote em_load_driver in assembler fixing a possible memory leak.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5793 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-22 11:36:09 +00:00
uz
975a06c2ee Rewrote tgi_load_driver in assembler and fixed a possible memory leak when
doing so. Changed the behaviour in case a driver is already loaded: Since the
library cannot know if this driver was linked statically or loaded
dynamically, an already installed driver is considered an error. It must be
removed before calling tgi_load_driver.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5790 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-22 11:07:46 +00:00
uz
b7325f7abe According to Greg King, Vorpal files are regular files.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5755 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-01 18:10:57 +00:00
uz
7aefd9b4e7 Added classification macros for file types from struct dirent.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5736 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-24 14:23:33 +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
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
a0d3f0c180 Renamed smc.mac to smc.inc.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5537 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-21 20:05:36 +00:00
uz
0d4b9c59f3 Added a macro package for writing self modyfying code. By Christian Krüger.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5536 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-21 20:02:20 +00:00
cpg
ae39e1c0af recognize XDOS -- patch from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@5524 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-11 08:35:54 +00:00
uz
edca940a86 Declaration of tgi_settextdir() added.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5101 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-31 22:17:21 +00:00
uz
9c55586569 Renamed tgi_textheight -> tgi_gettextheight, tgi_textwidth -> tgi_gettextwidth
tgi_textstyle -> tgi_settextstyle and tgi_textscale -> tgi_settextscale.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5090 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-17 18:36:12 +00:00
uz
928f675e4b Small change in the vector font format.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5088 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-17 17:15:54 +00:00
uz
4026a28c60 Added a new flags byte to the TGI headers. Bumped the API version.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5083 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-17 11:23:27 +00:00
uz
f40c977623 Added (again) IRQ support for the Oric Atmos by Stefan Haubenthal. This time
with the correct patch for atmos.inc.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5039 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-06-07 21:22:02 +00:00
uz
bc9e55cbab _tgi_getaspectratio was declared global twice, while tgi_setaspectratio was
missing (Greg King).


git-svn-id: svn://svn.cc65.org/cc65/trunk@5018 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-05-02 19:18:38 +00:00
ol.sc
4aa00e84e1 Removed tgi_load() and all corresponding infrastructure. The idea behind tgi_load() was to be able to describe a TGI mode in a target-neutral way by resolution and colordepth. However it turned out that there arn't any cc65 targets sharing any resolution. As a result the only working target-independent approach for a TGI program is to call tgi_loaddriver(tgi_stddrv); and then look up the resolution provided - and to adapt to that resolution.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5016 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-05-02 10:38:48 +00:00
uz
a507605a89 New TGI routines tgi_getaspectratio/tgi_setaspectratio.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5009 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-05-01 18:40:38 +00:00
ol.sc
a27eee5718 Minimal source reformatting.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4998 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-28 13:05:12 +00:00
ol.sc
f9b25bad48 Added TGI mode tables for Atmos and Lynx
git-svn-id: svn://svn.cc65.org/cc65/trunk@4997 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-25 19:05:43 +00:00
ol.sc
5e37ed1a16 Target-specific black & white values for use by the target-shared TGI kernel
git-svn-id: svn://svn.cc65.org/cc65/trunk@4993 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-25 17:11:23 +00:00
cpg
bfb8dd8f95 add Antic opcodes (submitted by Christian Krueger)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4968 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-02-06 20:57:14 +00:00
uz
ce886f4c5e Removed the header files for the rs232 API since it has been replaced by
loadable serial drivers and serial.h a long time ago.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4744 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-07-11 16:43:31 +00:00
uz
131a5cad09 Renamed oserrcheck to __mappederrno. Added an additional function named
__directerrno and moved both to errno.s. Changed several sources to use these
functions. Needs testing.
                         


git-svn-id: svn://svn.cc65.org/cc65/trunk@4718 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-10 18:10:53 +00:00
uz
a08b75c02b Remove __maperrno symbol, since the function is no longer used and has been
deleted.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4710 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-04 10:30:55 +00:00
uz
d877aac5f4 Added EBADF since this is required for fileno().
git-svn-id: svn://svn.cc65.org/cc65/trunk@4696 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-03 21:12:23 +00:00
uz
28736e9a17 The C16 is not really a separate machine, but identical to the Plus/4, so
the include file must just include the file for the Plus/4.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4610 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-03-06 15:17:08 +00:00
uz
38a1690968 Replaced '=' by ':=' where applicable and moved the atmos specific assembler
include into the asminc directory.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4609 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-28 10:22:26 +00:00
uz
a284d8ffeb Moved the pet.inc file into the asminc subdirectory. Added definitions for the
6522 VIA and fixed the assignments for addresses to use ':=' instead of '='.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4603 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-28 09:55:12 +00:00
uz
4cf5b40849 Removed pet.inc, since the real file is still in the pet directory and this
one was added erronously.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4602 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-28 09:53:04 +00:00
uz
2469af49d7 Added definitions for the 6522 VIA.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4601 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-28 09:47:32 +00:00
uz
b256d6fb46 Made Olivers devnum patch (r4588) work with the PET-II models. On these
machines, the program runs in a separate 64K bank, and zeropage variables need
to be copied from the system bank into the execution bank to read by a simple
load operation. The change is currently untested!


git-svn-id: svn://svn.cc65.org/cc65/trunk@4597 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-20 19:46:51 +00:00
ol.sc
d1aad57b98 Initialize _curunit from the zeropage value DEVNUM (aka First Address) in a constructor with a very high priority to be called before DEVNUM gets overwritten by other constructors.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4588 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-14 23:12:54 +00:00
uz
972c3fd7ca Add MMU config registers 2+3 (Marco van den Heuvel).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4572 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-02 08:19:19 +00:00
ol.sc
e1b8fb85dd Added missing declaration ?!?
git-svn-id: svn://svn.cc65.org/cc65/trunk@4524 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-13 00:13:14 +00:00
uz
7ec8a5b6dc Added some definitions for version 1.3 of the o65 format.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4516 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-10 22:44:27 +00:00
uz
097b094fdd Replaced TGI_ERR_NO_MEM by TGI_ERR_NO_RES
git-svn-id: svn://svn.cc65.org/cc65/trunk@4467 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-13 15:53:01 +00:00
uz
e74ed31936 Fixed TGI error codes and messages. Removed the Atari specific ones.
tgi_load_vectorfont will now return TGI_ERR_NO_MEM and clear the error code if
the load was successful.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4466 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-13 12:57:10 +00:00
uz
d1e37cc241 The outcode constants from tgi_outcode went into this header file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4465 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-12 18:01:11 +00:00
cpg
b86ded5192 add some comments
git-svn-id: svn://svn.cc65.org/cc65/trunk@4458 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-10 22:00:41 +00:00
cpg
b18d6ad8db add Atari TGI drivers from Fatih Aygun
git-svn-id: svn://svn.cc65.org/cc65/trunk@4456 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-10 21:53:55 +00:00
uz
1154a11649 tgi_vectorchar takes now a char argument. Added tgi_install_vectorfont.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4454 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-06 16:18:13 +00:00
uz
ce02b5668c Added an include file for TGI vector fonts.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4453 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-06 16:00:43 +00:00
uz
eee4430061 Added a tgi_pieslice function.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4449 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-05 20:32:17 +00:00
uz
787f069738 Moved fixed point multiplication and rounding into an asm module.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4447 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-05 20:16:43 +00:00
uz
de6050f21d Added a tgi_arc function. Removed the old ellipse code and create a new
ellipse module that calls tgi_arc.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4446 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-05 19:52:18 +00:00
uz
78070d8bfb Added tgi_circle and tgi_ellipse functions. The latter works, but could be
optimized.



git-svn-id: svn://svn.cc65.org/cc65/trunk@4445 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-05 17:14:29 +00:00
uz
87866e3099 Working on the TGI API, adding vector fonts. Only roughly tested!
git-svn-id: svn://svn.cc65.org/cc65/trunk@4432 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-02 22:29:49 +00:00
uz
912cf89702 Added new constants from tgi.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@4419 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-01 22:32:14 +00:00
uz
5bfe33e4b7 Small changes in definitions. Additional error code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4417 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-01 22:01:06 +00:00
uz
763fe0b802 Start of TGI changes. Untested, may not work.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4404 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-30 21:26:35 +00:00
uz
5304a8149e Changes to the TGI driver API:
* Removed CIRCLE
  * Aspect ratio is a new header variable
  * Removed the reserved bytes - it's easier to bump the API version
  * Clipping is done completely in the wrapper



git-svn-id: svn://svn.cc65.org/cc65/trunk@4396 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-29 20:13:56 +00:00
uz
16e6deaf86 Changed the mouse API: mouse_box is gone, there are now mouse_getbox and
mouse_setbox instead. Beware: Current drivers will crash until they're
changed!


git-svn-id: svn://svn.cc65.org/cc65/trunk@4230 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-26 11:11:14 +00:00
ol.sc
439385a5c8 Moved into asminc, so it will be available in the distribution.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4228 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-25 06:21:14 +00:00
uz
5c5d01d84a Moved most platform assembler includes into asminc, so they will be available
in the distribution. 
Added --forget-inc-paths to the command line of the assembler in the
Makefiles, because the assembler does now have builtin paths and will find
include files from an installation first.
Hopefully fixed any problems that arose from the two changes.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4223 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-24 17:44:22 +00:00
uz
ec946cae51 Lynx patches by Karri Kaksonen. Improvements for the graphics driver, new
serial driver.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4198 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-20 14:22:04 +00:00
uz
81464a1214 Removed setoserror as an external.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3975 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-07-27 18:48:03 +00:00
uz
2363a6f5c7 Move common data and ex-/imports into an assembler include named time.inc.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3972 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-07-27 17:59:27 +00:00
cpg
4c88db2d4b fix typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@3921 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-01-30 19:36:24 +00:00
cpg
ab39981db1 fix comments for LMARGN and RMARGN
git-svn-id: svn://svn.cc65.org/cc65/trunk@3848 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-07-01 21:05:28 +00:00
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
cuz
6556d25662 New directory for (globally used) assembler includes.
Moved the includes from libsrc/common here.
New includes: modload.inc, o65.inc


git-svn-id: svn://svn.cc65.org/cc65/trunk@1250 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-21 14:20:42 +00:00