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

6485 Commits

Author SHA1 Message Date
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
Christian Groessler
f1ece57c05 more documentation updates for Atari 5200 2014-05-16 02:27:20 +02:00
Christian Groessler
c382c59579 documentation updates for Atari 5200 2014-05-16 02:26:20 +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
Oliver Schmidt
1e4a7454b6 Merge pull request #116 from greg-king5/symbol-table
Fix a ca65 internal error.
2014-05-13 08:49:13 +02:00
Oliver Schmidt
0a40b7d420 Merge pull request #115 from greg-king5/cc65-mul
Add a signed 8-bit times 8-bit multiply function.
2014-05-12 15:34:32 +02:00
Greg King
c09c66c372 Fixed a ca65 internal error that would show a message when a name is exported both outside and inside a scope.
Jeremy Turner described the bug, on the original cc65 mailing list.  It was fixed by Ullrich von Bassewitz.
2014-05-12 02:08:04 -04:00
Christian Groessler
8cb68071cd clrscr for Atari 5200 default conio screen 2014-05-12 03:05:21 +02:00
Christian Groessler
82544b8678 add joystick driver -- trigger buttons are not queried yet 2014-05-12 03:03:44 +02:00
Christian Groessler
1532ad6792 add dummy irq.s 2014-05-12 03:02:17 +02:00
Greg King
f82a43b98d Fixed the comments to say where the actual Left-Hand Side and Right-Hand Side are put.
A description of positions [left, right] is appropriate more for C code than for Assembly code.  (A description of timing [first argument, second argument] is more appropriate for the way that Assembly code is written.)
2014-05-11 10:43:06 -04:00
Greg King
228b9d1718 Added a fast subroutine to multiply two signed 8-bit numbers. 2014-05-11 01:08:27 -04:00
Oliver Schmidt
63b5f75a7f Merge pull request #114 from greg-king5/phantom
Added the phantom-key exorcism code to the other C128 mouse drivers.
2014-05-09 19:30:51 +02:00
Greg King
a27e7562fd Added comments that explain why some instructions are implied. 2014-05-05 13:55:14 -04:00
Greg King
7d512ca238 Back-migrated some phantom-key rejection optimizations. 2014-05-05 06:28:19 -04:00
Greg King
667f8229c0 Migrated the phantom-key exorcism code to the other C128 mouse drivers. 2014-05-05 05:30:31 -04:00
Greg King
047d9abc68 Added the long-missing driver-flags byte to the potentiometer (mouse) drivers. 2014-05-05 04:16:04 -04:00
Oliver Schmidt
9056e41f7f Reintroduced optional INIT segment for (weird) NES TGI driver. 2014-05-01 22:12:05 +02:00
Oliver Schmidt
d6c3bd29ac Renamed JUMPTABLE and cleaned up module.cfg.
This change was suppsed to fix the issue that the former JUMPTABLE is merked as 'ro' while it is actually written to in several scenarios. When drivers are converted using co65 and then compiled into ROMs the JUMPTABLE isn't copied to RAM and therefore the write operations in question fail.

However unfortunately I didn't succeed in changing that :-( Just setting the former JUMPTABLE to 'rw' broke the drivers. So I placed the DATA segment directly after the former JUMPTABLE segment. This made the drivers converted with co65 work again - obviously after changing libsrc/Makefile:235 from '--code-label' to '--data-label'. But the actual dynamic drivers still didn't work as the former JUMPTABLE wasn't placed as the beginning of the loaded file anymore. That effect could be changed by exchanging src/ld65/o65.c:1391 with src/ld65/o65.c:1394 but doing so broke the drivers again :-((
2014-05-01 21:44:39 +02:00
Oliver Schmidt
2a3fbc6e36 Merge pull request #109 from groessler/something_to_pull2
Proposal: workaround for "phantom" key presses in the C128 "joystick" mouse driver...
2014-04-28 22:18:11 +02:00
Oliver Schmidt
09df0a1175 Added sample descriptions. 2014-04-28 22:14:27 +02:00
Oliver Schmidt
73a50ae3c0 Made LOWCODE and INIT optional (like the other targets). 2014-04-28 22:14:26 +02:00
Oliver Schmidt
501df59c1e Merge pull request #112 from greg-king5/warnings
Fixed text that caused warnings when building info documents.
2014-04-27 14:40:29 +02:00
Christian Groessler
6307815ada Correctly map out ROM when needed in the "phantom keys" workaround. 2014-04-26 11:58:13 +02:00
Oliver Schmidt
35689ef378 Merge pull request #113 from groessler/something_to_pull
remove build warning
2014-04-25 13:41:01 +02:00
Christian Groessler
f290c1aa28 remove build warning 2014-04-25 13:21:54 +02:00
Greg King
f7f2069587 Avoided makeinfo warnings when Travis CI runs LinuxDoc Tools. 2014-04-25 05:04:03 -04:00
Greg King
d2bb12d17a Avoided some makeinfo warnings when Cygwin runs LinuxDoc Tools. 2014-04-25 03:33:53 -04:00
Christian Groessler
92b32d7d0e atari5200 update: simple conio "hello world" works now 2014-04-25 03:02:44 +02:00