1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-24 11:31:31 +00:00
cc65/libsrc
Oliver Schmidt 20a9c0c336 Replaced call to paddle read ROM routine with custom code.
As described e.g. in the Apple IIe Technote #6: 'The Apple II Paddle Circuits' it doesn't work to call PREAD several times in immediate succession. However, so far the Apple II joystick driver did just that in order to read the two joystick axis.

Therefore the driver now uses a custom routine that reads both paddles _at_the_same_time_. The code doing so requires nearly twice the cycles meaning that the overall time for a joy_read() stays roughly the same. However, twice the cycles in the read loop means half the resolution. But for the cc65 joystick driver use case that doesn't hurt at all as the driver is supposed to only detect neutral vs. left/right and up/down.

CPU accelerators are supposed to detect access to $C070 and slow down for some time automatically. However, the IIgs rather comes with a modified ROM routine. Therefore it is necessary to manually slow down the IIgs when replacing the ROM routine.
2020-06-06 15:15:13 +02:00
..
apple2 Replaced call to paddle read ROM routine with custom code. 2020-06-06 15:15:13 +02:00
atari Split libref.s into multiple files to prevent inclusion of unnecessary code. 2020-06-04 23:24:24 +02:00
atari2600 ctype size optimization 2020-02-03 20:45:09 +01:00
atari5200 atari5200: update docs for recent conio changes 2019-04-13 11:07:06 +02:00
atmos Shortened names and adjusted style. 2020-04-02 22:58:16 +02:00
c16 Update status.s 2019-11-20 12:54:47 +01:00
c64 Reformat comments to style guide rules 2019-11-02 11:21:50 +01:00
c128 store y first, then a. fix by willymanilly 2020-01-26 02:18:04 +01:00
cbm Shortened names and adjusted style. 2020-04-02 22:58:16 +02:00
cbm510 Merge https://github.com/cc65/cc65 2019-03-24 20:49:53 +01:00
cbm610 Merge https://github.com/cc65/cc65 2019-03-24 20:49:53 +01:00
common Shortened names and adjusted style. 2020-04-02 22:58:16 +02:00
conio Further optimizations in common/conio. 2018-05-22 16:00:05 +02:00
creativision Changes resulting from 2nd code review 2020-02-03 20:45:09 +01:00
cx16 Updated the cx16 library to the Commander X16's ROM prerelease 37. 2020-05-02 13:46:06 -04:00
dbg Removed unnecessary #include <cc65.h> from convert.c 2019-11-19 14:08:00 +01:00
em
gamate Changes resulting from 2nd code review 2020-02-03 20:45:09 +01:00
geos-apple Removed unnecessary #include <cc65.h> from convert.c 2019-11-19 14:08:00 +01:00
geos-cbm moved to better folder location 2018-12-30 18:57:46 +01:00
geos-common Shortened names and adjusted style. 2020-04-02 22:58:16 +02:00
joystick Removed IRQ support from joystick drivers. 2018-02-01 22:38:36 +01:00
lynx Some style adjustments. 2020-04-02 10:42:06 +02:00
mouse
nes Preserve the accu 2020-04-06 18:13:54 +02:00
none ctype size optimization 2020-02-03 20:45:09 +01:00
osic1p ctype size optimization 2020-02-03 20:45:09 +01:00
pce Changes resulting from 2nd code review 2020-02-03 20:45:09 +01:00
pet Remove trailings spaces from CBM-related asm files 2019-03-22 22:54:05 +01:00
plus4 libsrc/*/kplot.s: Use cbm_kernal.inc symbols, not hardcoded addrs 2019-10-25 16:03:38 -04:00
runtime Optimize sign extension. 2019-11-07 21:45:19 +01:00
serial
sim6502 ctype size optimization 2020-02-03 20:45:09 +01:00
supervision ctype size optimization 2020-02-03 20:45:09 +01:00
telestrat Fixed the name of the driver 2020-05-28 08:50:20 -04:00
tgi Allowed the TGI API to support 256 colors. 2020-06-04 12:58:05 -04:00
vic20 vic20/cputc: Fix incorrect CRAM_PTR at startup when using conio 2019-10-25 16:03:38 -04:00
zlib zlib: Use correct (un)signedness of char in prototypes and functions. 2019-06-19 19:01:30 +02:00
Makefile Created a target and a library for the Commander X16 prototype computer. 2019-09-27 03:38:51 -04:00