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

6356 Commits

Author SHA1 Message Date
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
Christian Groessler
ec417c0dc5 Merge remote-tracking branch 'upstream/master' into a5200 2014-04-25 02:07:44 +02: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
Greg King
bf2e79f30c Fixed typos. And, fixed descriptions of where ld65 looks for files. 2014-04-20 11:45:36 -04:00
Christian Groessler
88e3e60550 address issue raised in the pull request; add support to not use page 6
again
2014-04-15 11:37:34 +02:00
Oliver Schmidt
cbc2179887 Merge pull request #107 from greg-king5/url
Fixed the <htmlurl> and <url> tags in the document sources.
2014-04-14 12:53:19 +02:00
Greg King
bb9aa7558f Fixed the SGML <htmlurl> and <url> tags.
Those tags have two attributes: "url=" and "name=".  In the non-HTML output formats, <url> shows both fields, while <htmlurl> shows only the name field (as the HTML format always does.)  Thus, the general rules are
1. If the two attributes are different, then use <url>.
2. If they are similar, then use <htmlurl>.
3. If they are the same, then consider using <url> without the "name=" attribute.
(The reason for rules 2 and 3 is that the same text shouldn't be shown twice.)

There can be exceptions.  Example: "od65.sgml" has <htmlurl> because the URL
would disturb the flow of a sentence.
2014-04-14 05:54:13 -04:00
Christian Groessler
526b440b24 - always use page 6 for P/M mouse cursor
- make cursor character of text mode callback configurable
- change default cursor character of text mode callback from 'plus' to 'diamond'
- set P/M callback as default
2014-04-11 23:51:49 +02:00
Christian Groessler
661203a89a initial version of a P/M mouse callback 2014-04-11 23:51:49 +02:00
Oliver Schmidt
4e14a9dbb9 Merge pull request #105 from greg-king5/author
Streamlined the document author credits.
2014-04-09 09:54:07 +02:00
Greg King
79d8a0d857 Streamlined the document author credits. 2014-04-08 15:36:39 -04:00
Oliver Schmidt
a0a4158bba Merge pull request #103 from greg-king5/typo
Fixed typo (Ilegal).
2014-04-04 09:56:04 +03:00
Oliver Schmidt
cb2c78a3de Merge pull request #102 from greg-king5/main-args
Added command-line argument parsing to the CBM510 and CBM610 targets.
2014-04-04 09:55:31 +03:00
Greg King
449fceebdd Fixed typo (Ilegal). 2014-04-03 17:28:36 -04:00
Greg King
42595fbf13 Added command-line argument parsing to the CBM510 and CBM610 targets. 2014-04-03 08:23:28 -04:00
Oliver Schmidt
b92630142f Harmonized usage of "KB" and "cc65". 2014-03-30 22:10:37 +02:00
Oliver Schmidt
180caeba0a Added doc install target. 2014-03-29 23:25:47 +01:00
Oliver Schmidt
be6c70e74f Merge pull request #100 from greg-king5/default-drivers
Added document lines that name the default device drivers.
2014-03-29 16:11:44 +02:00