Oliver Schmidt
e2419ece0b
Added scrcode macro for the Apple II.
...
Although the Apple II generally works with plain ASCII (i.e. in the ProDOS 8 MLI) the actual screen codes differ. This fixes #260 .
2016-03-27 18:26:46 +02:00
Bob Andrews
a8d3b83c43
Merge pull request #7 from cvemu/master
...
Initial Creativision Import
2016-02-28 18:25:01 +01:00
Bob Andrews
25f4482641
Merge pull request #238 from mrdudz/gamate
...
Bit Corporation 'Gamate' support
2016-02-27 18:44:26 +01:00
Marco van den Heuvel
433eeb1bc7
Renamed MMU_CFG_INT_FROM -> MMU_CFG_IFROM and MMU_CFG_EXT_FROM -> MMU_CFG_EFROM
2015-12-02 00:30:30 -08:00
Marco van den Heuvel
2e2f19ba79
Finished adding c128 internal/external function ram emd's.
2015-11-30 20:14:45 -08:00
Marco van den Heuvel
7df35cac94
Started on making c128 function ram emd's.
2015-11-30 09:53:30 -08:00
mrdudz
b39a8b7a61
more cleanup
2015-11-29 20:04:10 +01:00
mrdudz
9fbf8a4299
conio and most other stuff working now
2015-11-29 01:14:59 +01:00
mrdudz
88e7b5776a
some more fiddling
2015-11-22 19:02:47 +01:00
mrdudz
60285097e3
initial import of the gamate stuff
2015-11-14 13:15:29 +01:00
Greg King
074e10d288
Adapted, to the c64 target, the INIT-segment overlay scheme from the apple2 targets.
...
When a program starts running, INIT is moved from one place to another place. Then, INIT's code is executed; and, the first place is re-used for variables. After the INIT code has finished, the second place can be re-used by the heap and the C stack. That means that initiation code and data won't waste any RAM space after they stop being needed.
2015-10-05 05:47:43 -04:00
Greg King
6217f8fa3a
Made the Commodore version of exec() work in programs that are so big that they load into all of BASIC RAM.
...
The function won't cause an "out of memory" error.
2015-09-28 11:27:39 -04:00
mrdudz
859604407b
fixed more flaws found by greg :)
2015-09-19 15:37:39 +02:00
mrdudz
088a25437d
fixed VDC register assignments
2015-09-07 12:55:36 +02:00
mrdudz
af2ba26c62
fix gregs complaints :)
2015-09-04 14:14:17 +02:00
mrdudz
57b8af1adc
style fixes
2015-08-29 15:58:57 +02:00
mrdudz
1e2d9f1796
fixed hline/vline
2015-07-19 13:36:27 +02:00
mrdudz
21ef6b8510
fixed screensize, timertick, revers mode
2015-07-16 16:00:32 +02:00
mrdudz
c3d45e4c47
fixed issues found by gregg
2015-07-15 13:18:12 +02:00
mrdudz
ac27ed301a
_tickcount -> tickcount
2015-07-14 19:55:41 +02:00
mrdudz
83391ab67c
some more tweaking, added docs page
2015-07-14 17:22:47 +02:00
mrdudz
9e1d39a409
more cleanup and fixing
2015-07-12 16:40:52 +02:00
mrdudz
891cb97b2f
more cleanup, joystick works again
2015-07-12 14:27:24 +02:00
Oliver Schmidt
2c975d3642
Create static drivers directly from source files.
...
Up to now static drivers were created via co65 from dynamic drivers. However there was an issue with that approach:
The dynamic drivers are "o65 simple files" which obligates that they start with the 'code' segment. However dynamic drivers need to start with the module header - which is written to. For dynamic drivers this isn't more than a conceptual issue because they are always contain a 'data' segment and may therefore only be loaded into writable memory.
However when dynamic drivers are converted to static drivers using co65 then that issue becomes a real problem as then the 'code' segment may end up in non-writable memory - and thus writing to the module header fails.
Instead of changing the way dynamic drivers work I opted to rather make static driver creation totally independent from dynamic drivers. This allows to place the module header in the 'data' segment (see 'module.mac').
2014-06-04 23:50:18 +02:00
Oliver Schmidt
99f0a56f63
Merge pull request #122 from groessler/a5200
...
new target: Atari 5200 console
2014-05-30 22:52:51 +02:00
Christian Groessler
df782e9500
rename _antic.inc, _pokey.inc, _gtia.inc to atari_antic.inc, atari_pokey.inc, atari_gtia.inc
2014-05-30 22:00:18 +02:00
Christian Groessler
fa7cdf0214
remove atari5200.mac
2014-05-30 13:38:29 +02:00
Christian Groessler
2bf580fb89
remove unneeded ATASCII defs; add header
2014-05-29 00:42:30 +02:00
Christian Groessler
8f2c9f0d8e
use atari target scrcode macro for atari5200 target, too
2014-05-29 00:18:55 +02:00
Christian Groessler
b8e5a66f29
changed version, startup screen now not fine anymore
2014-05-16 02:12:01 +02:00
Christian Groessler
0f2f19ef5b
some CONIO fixes
2014-05-16 02:10:19 +02:00
Greg King
667f8229c0
Migrated the phantom-key exorcism code to the other C128 mouse drivers.
2014-05-05 05:30:31 -04:00
Christian Groessler
92b32d7d0e
atari5200 update: simple conio "hello world" works now
2014-04-25 03:02:44 +02:00
Christian Groessler
ec417c0dc5
Merge remote-tracking branch 'upstream/master' into a5200
2014-04-25 02:07:44 +02:00
Greg King
42595fbf13
Added command-line argument parsing to the CBM510 and CBM610 targets.
2014-04-03 08:23:28 -04:00
Christian Groessler
30b418c734
add gotox, gotoy, and gotoxy
2014-03-13 02:38:35 +01:00
Christian Groessler
c8f7f2f161
first changes for atari5200 target
2014-03-01 17:20:09 +01:00
Oliver Schmidt
a7b84bb618
Removed references to SunPlus.
2014-02-08 22:48:49 +01:00
Christian Groessler
1f64a13559
small comment change
2014-01-29 23:40:48 +01:00
Christian Groessler
f5e7e92a35
Merge remote-tracking branch 'upstream/master' into something_to_pull
2014-01-17 22:33:29 +01:00
Oliver Schmidt
94eb2a2ed7
Some fine tuning of the mouse driver interface harmonization.
2014-01-17 21:09:15 +01:00
Christian Groessler
6ab07261bc
Merge remote-tracking branch 'upstream/master' into something_to_pull
2014-01-16 23:34:56 +01:00
Oliver Schmidt
4065cb1983
Harmonized interface between mouse drivers and callbacks.
...
The Apple2 doesn't have sprites so the Apple2 mouse callbacks place a special character on the text screen to indicate the mouse position. In order to support the necessary character removing and redrawing the Apple2 mouse driver called the Apple2 mouse callbacks in an "unusual way". So far so (sort of) good.
However the upcoming Atari mouse driver aims to support both "sprite-type" mouse callbacks as well as "text-char-type" mouse callbacks. Therefore the interface between mouse drivers and callbacks needs to be extended to allow the mouse callbacks to hide their different types from the mouse driver.
The nature of this change can be seen best by looking at the Apple2 file modifications. The CBM drivers and callbacks (at least the current ones) don't benefit from this change.
2014-01-15 22:47:59 +01:00
Christian Groessler
86fe20fb14
fix some typos
2014-01-14 14:03:06 +01:00
Christian Groessler
f4b86394b0
fix typo
2014-01-04 20:33:24 +01:00
Greg King
d56f5d65ab
Added a simplistic read() that gives a stdin console on the Atmos.
2013-12-24 05:18:04 -05:00
Christian Groessler
9124d0f051
add SER_BAUD_56_875
2013-12-06 20:53:49 +01:00
Christian Groessler
367ab2d531
add SER_ERR_NOT_OPEN status code
2013-12-06 20:53:49 +01:00
kym
11be575b6d
Initial Creativision Import
2013-12-05 11:40:44 +00:00
Christian Groessler
7fb0cf4bb2
Some formatting and style fixes.
2013-10-01 11:36:37 +02:00
Christian Groessler
ac9f0d6a05
Merge remote-tracking branch 'upstream/master'
2013-09-10 13:36:28 +02:00
Greg King
e0c8c7dcb1
Added a cbm510 lightpen driver.
...
It's similar to the current c64 and c128 lightpen drivers.
2013-09-09 17:03:40 -04:00
Christian Groessler
1e8e998991
Merge remote-tracking branch 'upstream/master'
2013-09-04 13:28:10 +02:00
Oliver Schmidt
3969d920fa
Bumped driver api versions due to recent intoduction of library references.
2013-09-01 09:46:07 +02:00
Christian Groessler
20c9fe44b4
Merge remote-tracking branch 'upstream/master'
2013-08-27 10:22:41 +02:00
Oliver Schmidt
bc992e0398
Merge pull request #31 from greg-king5/cbm-chain
...
Commodore exec() function
2013-08-26 23:50:34 -07:00
Greg King
67571d4f5f
Changed some CPU memory-mapped register definitions from expression mode into label mode.
2013-08-26 22:02:00 -04:00
Christian Groessler
13a7812cf5
add some more SIO information
2013-08-26 12:18:11 +02:00
Christian Groessler
4062cb6b6c
atarixl target: add support for interruptors, adapt TGI drivers
2013-08-25 11:20:27 +02:00
Greg King
d0fb1fe0ae
Added the model-specific addresses that the CBM exec() needs.
2013-08-25 00:43:23 -04:00
Christian Groessler
b1f69e0696
add some more SIO information
2013-08-22 13:08:48 +02:00
Christian Groessler
7242ce8744
Merge remote-tracking branch 'upstream/master'
2013-08-06 19:48:07 +02:00
Greg King
bf160cae69
Added symbol names for useful Atmos addresses.
2013-08-06 10:13:48 -04:00
Christian Groessler
7a45a7b2eb
Merge remote-tracking branch 'upstream/master'
2013-07-29 10:09:24 +02:00
Oliver Schmidt
1f36066946
Merge pull request #24 from greg-king5/oric
...
Atmos Symbol Names
2013-07-26 03:01:10 -07:00
Greg King
f02843f05d
Replaced number literals in source code with meaningful symbol names.
2013-07-26 03:33:54 -04:00
Christian Groessler
b78bbb5be7
Merge remote-tracking branch 'upstream/master'
2013-07-25 23:34:50 +02:00
Oliver Schmidt
752141b026
Merge pull request #12 from greg-king5/lightpen
...
Added Inkwell lightpen drivers for the C64 and the C128.
2013-07-25 13:29:46 -07:00
Greg King
3574f3a742
Normalized some hexadecimal addresses.
2013-07-16 01:48:57 -04:00
Greg King
641a609cf3
Moved common symbol names out of sources, and into a global include file.
2013-07-16 00:30:56 -04:00
Christian Groessler
e0aaac0088
fix '_sysrmdir' for SpartaDOS
2013-07-16 01:31:15 +02:00
Christian Groessler
a3ad7d07a1
fix '_sysrmdir' for SpartaDOS
2013-07-16 01:29:49 +02:00
Greg King
a555b5f6a5
Merge branch 'master' into lightpen
2013-07-01 09:25:02 -04:00
Christian Groessler
c79b23e95b
Merge remote-tracking branch 'upstream/master'
2013-06-17 23:54:49 +02:00
Oliver Schmidt
83280e1ee2
Have __APPLE2ENH__ imply __APPLE2__ and __ATARIXL__ imply __ATARI__.
2013-06-17 21:34:08 +02:00
Christian Groessler
0bf24103a6
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
asminc/atari.inc
2013-06-10 13:44:52 +02:00
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