1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-09 01:28:58 +00:00
Commit Graph

6155 Commits

Author SHA1 Message Date
Greg King
b8e65aca5a Used longer error text.
Added more codes and messages.
2014-05-28 23:01:48 -04: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
ef1e96aff0 small optimization 2014-05-27 01:50:22 +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
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
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
54be6de9bc Workaround for "phantom" key presses in the C128 "1351" mouse driver. 2014-04-25 00:22:23 +02:00
Greg King
e4f8b6fef0 Avoided makeinfo warnings when Travis CI runs LinuxDoc Tools. 2014-04-24 13:03:52 -04:00
Oliver Schmidt
aaa4ff55be Merge pull request #111 from groessler/something_to_pull
Document Atari mouse callbacks
2014-04-24 11:29:40 +02:00
Christian Groessler
4a1eff1d84 Document mouse callbacks and some other small changes. 2014-04-24 02:04:17 +02:00
Christian Groessler
401e18d982 Put mouse cursor shape definition into .rodata. 2014-04-24 02:04:08 +02:00
Christian Groessler
4406307c2f Make the hooking and unhooking of the interrupt interrupt safe. 2014-04-24 00:28:33 +02:00
Oliver Schmidt
4b170b303a Merge pull request #110 from greg-king5/typo
Fixed typos; and, fixed descriptions of where ld65 looks for files.
2014-04-23 22:13:25 +02:00
Oliver Schmidt
9e3154220c Merge pull request #106 from groessler/something_to_pull
add P/M (aka 'Sprite') mouse callback for Atari
2014-04-22 20:01:43 +02:00
Christian Groessler
608dbc2cec Workaround for "phantom" key presses in the C128 "joystick" mouse driver. 2014-04-22 15:49:48 +02:00
Oliver Schmidt
d4c9b25b2f Merge pull request #108 from groessler/something_to_pull2
Split libref.s into multiple files to prevent inclusion of unnecessary code
2014-04-22 13:50:55 +02:00
Christian Groessler
2059e34114 rename ser_libref.s to serref.s in order to be consistent with other targets 2014-04-22 13:42:17 +02:00
Christian Groessler
eefd33d309 Split libref.s into multiple files to prevent inclusion of unnecessary code. 2014-04-22 12:50:07 +02:00
Christian Groessler
7eaf721e7c Selection whether to use page 6 for mouse P/M data is not done in
Makefile.inc, like the other compile-time options. Small fix in the
P/M mouse "show" routine: adapt mouse cursor colors to current
screen colors.
2014-04-21 11:41:37 +02:00