1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00
Commit Graph

6204 Commits

Author SHA1 Message Date
Oliver Schmidt
30aab9a6b2 Merge pull request #128 from greg-king5/multi-comments
Changed multi-line C comments into another style.
2014-07-01 09:48:18 +02: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
132d57f1ad Revert "don't define DYN_DRV for targets which don't predefine it"
This reverts commit 29671f5f06.
2014-06-04 23:50:46 +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
2bc4634860 Normalized style.
We don't use .ifndef .else .endif
2014-06-03 18:30:11 +02:00
Oliver Schmidt
7a9ea2189e Merge pull request #125 from groessler/something_to_pull2
Adapt joy-test.c for Atari 5200
2014-06-02 09:00:18 +02:00
Christian Groessler
939a5ccbc2 fix last change 2014-06-02 08:41:35 +02:00
Oliver Schmidt
984195f976 Merge pull request #127 from groessler/something_to_pull
mousetest.c: don't set DYN_DRV to 1 for targets which don't predefine it
2014-06-01 20:57:42 +02:00
Christian Groessler
29671f5f06 don't define DYN_DRV for targets which don't predefine it 2014-06-01 19:18:57 +02:00
Christian Groessler
deddb00a3a use DYN_DRV and MOUSE_DRIVER defines to decide which driver to use 2014-06-01 19:17:02 +02:00
Oliver Schmidt
bdb33be246 Added Apple GEOS to the list of targets. 2014-06-01 18:27:52 +02:00
Christian Groessler
3508b90ee8 set DYN_DRV to 0; define atr5200std_joy 2014-05-31 19:44:10 +02:00
Oliver Schmidt
69471a19f3 Merge pull request #124 from groessler/something_to_pull
add 'console' to NES line in README.md
2014-05-31 17:36:45 +02:00
Christian Groessler
5595137d1d Adapt joy-test.c for Atari 5200 (only has 20x24 display)
Fix static driver name.
2014-05-30 23:39:35 +02:00
Christian Groessler
919bdbd347 add 'console' to NES line 2014-05-30 23:29:27 +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
a4fda71510 move atari5200 behind atari and atarixl in TARGETS list 2014-05-30 13:39:09 +02:00
Christian Groessler
fa7cdf0214 remove atari5200.mac 2014-05-30 13:38:29 +02:00
Oliver Schmidt
b420eccd37 Merge pull request #123 from greg-king5/cbm-errors
Lengthen some CBM error messages.
2014-05-30 10:22:01 +02:00
Christian Groessler
f54ef4efe4 provide CLK_TCK and CLOCKS_PER_SEC values for atari5200 2014-05-29 13:23:45 +02:00
Greg King
b8e65aca5a Used longer error text.
Added more codes and messages.
2014-05-28 23:01:48 -04:00
Christian Groessler
4286e55453 fix build error 2014-05-29 01:50:41 +02:00
Christian Groessler
ff31fa3e3f add atari5200.h 2014-05-29 00:42:54 +02:00
Christian Groessler
2bf580fb89 remove unneeded ATASCII defs; add header 2014-05-29 00:42:30 +02:00
Christian Groessler
497b161d12 fix warning when generating info file 2014-05-29 00:41:39 +02:00
Christian Groessler
8f2c9f0d8e use atari target scrcode macro for atari5200 target, too 2014-05-29 00:18:55 +02:00
Christian Groessler
245a69a043 don't use scrcode for numbers 2014-05-29 00:18:22 +02:00
Christian Groessler
0bcb615d33 remove TABs 2014-05-28 23:39:31 +02:00
Christian Groessler
8c5aebef81 cleanups and add comments 2014-05-28 23:38:22 +02:00
Christian Groessler
98195a516e check trigger button (TRIGx); correctly report joystick count depending
on 5200 console version
2014-05-28 00:35:49 +02:00
Christian Groessler
803e9904db small doc update 2014-05-28 00:34:34 +02:00
Oliver Schmidt
3e9484632e Merge pull request #121 from groessler/something_to_pull
small optimization
2014-05-27 08:50:56 +02:00
Christian Groessler
40d7ebd719 more doc updates for atari5200 2014-05-27 02:44:59 +02:00
Christian Groessler
d9a8ea3b6c Don't reserve space for display list in __RESERVED_MEMORY__ since the
default display list is in ROM.
2014-05-27 02:43:17 +02:00
Christian Groessler
ef1e96aff0 small optimization 2014-05-27 01:50:22 +02:00
Christian Groessler
b6f712ef58 not a dummy implementation anymore... 2014-05-27 01:47:37 +02:00
Oliver Schmidt
8c01557fe1 Merge pull request #120 from greg-king5/cbm-errors
Update the CBM error tables.
2014-05-26 15:29:22 +02:00
Greg King
3d6f54b7a6 Updated the CBM error tables.
* Added more mappings between DOS and C codes.
* Changed generic error messages into specific ones.
2014-05-26 09:03:43 -04:00
Oliver Schmidt
a7809985ab Merge pull request #119 from greg-king5/strncpy-doc
Update the function reference document.
2014-05-26 13:19:08 +02:00
Greg King
b4f4c3bb4d Updated the function reference document.
* Fixed the description of strncpy().
* Added some [commented out] function names to the lists for some headers.
2014-05-26 06:04:53 -04:00
Oliver Schmidt
0c08b62630 Merge pull request #118 from greg-king5/quoted-token
Add a quoted-token version of strtok().
2014-05-25 23:22:12 +02:00
Greg King
2cc26e6e23 More conforming to the cc65 project's apparent writing style. 2014-05-23 16:52:02 -04:00
Greg King
a92f51fea5 Conformed to the cc65 project's coding style. 2014-05-23 00:35:19 -04:00
Greg King
628d27327b Slightly refined the strqtok() documentation. 2014-05-22 13:58:51 -04:00
Greg King
0c1d80401b Added an attribution. 2014-05-22 13:42:15 -04:00
Greg King
1669c25b8a Documented strqtok(). 2014-05-22 11:18:30 -04:00
Oliver Schmidt
2c45f43ca2 Merge pull request #117 from groessler/something_to_pull
Set the "simple" bit in the .o65 mode word only if text, data, and bss are adjacent.
2014-05-22 09:36:10 +02:00
Christian Groessler
f7bc6a836d Set the "simple" bit in the .o65 mode word only if text, data, and bss
are adjacent.
2014-05-21 23:49:56 +02:00
Greg King
0ec8c8cea7 Added a quoted-token parsing function. 2014-05-20 16:33:16 -04:00