cc65/asminc
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
..
_file.inc Added pushback char to struct FILE 2004-05-12 13:16:36 +00:00
_heap.inc Fixed two typos 2005-02-14 09:39:46 +00:00
accelerator.inc Added C64 Turbo Master accelerator code and documentation. 2018-04-30 14:30:35 -07:00
apple2.inc Replaced call to paddle read ROM routine with custom code. 2020-06-06 15:15:13 +02:00
apple2.mac Added scrcode macro for the Apple II. 2016-03-27 18:26:46 +02:00
atari2600_riot.inc Add Atari2600 ASM header (.inc) files 2017-01-15 12:09:38 +01:00
atari2600_tia.inc Add Atari2600 ASM header (.inc) files 2017-01-15 12:09:38 +01:00
atari2600.inc Add Atari2600 ASM header (.inc) files 2017-01-15 12:09:38 +01:00
atari5200.inc Revert "atari5200: fix COLOR defines' names" 2019-04-12 12:49:38 +02:00
atari_antic.inc atari_antic.inc: use "or" instead of "plus" in the usage example 2017-02-24 19:06:32 +01:00
atari_gtia.inc atari5200: conio now uses just four colors altogether 2019-04-12 12:49:38 +02:00
atari_pokey.inc Adaptations due to code review. 2018-11-12 14:36:40 +01:00
atari.inc Adaptations due to code review. 2018-11-12 14:36:40 +01:00
atari.mac Replaced builtin macro packages with .mac files that are included like ordinary .inc files. 2013-04-08 00:11:05 +02:00
atmos.inc Fixed Oric-1 compatibility #550 2017-12-15 23:51:39 +01:00
c16.inc The C16 is not really a separate machine, but identical to the Plus/4, so 2010-03-06 15:17:08 +00:00
c64.inc Moved kernal entries to cbm_kernal.inc 2018-11-26 22:14:31 +01:00
c128.inc Moved kernal entries to cbm_kernal.inc 2018-11-26 22:14:31 +01:00
cbm510.inc Added command-line argument parsing to the CBM510 and CBM610 targets. 2014-04-03 08:23:28 -04:00
cbm610.inc Added command-line argument parsing to the CBM510 and CBM610 targets. 2014-04-03 08:23:28 -04:00
cbm_filetype.inc According to Greg King, Vorpal files are regular files. 2012-07-01 18:10:57 +00:00
cbm_kernal.inc Updated the cx16 library to the Commander X16's ROM prerelease 37. 2020-05-02 13:46:06 -04:00
cbm.mac Refactorred a CBM screen-code macro, so that we can use it as an operand. 2019-03-04 10:23:47 -05:00
cpu.mac Added comment about commented-out value. 2016-09-04 12:22:11 +02:00
creativision.inc Creativison changes. 2017-03-17 21:42:51 +01:00
ctype_common.inc Shortened names and adjusted style. 2020-04-02 22:58:16 +02:00
ctype.inc Shortened names and adjusted style. 2020-04-02 22:58:16 +02:00
ctypetable.inc Changes resulting from 2nd code review 2020-02-03 20:45:09 +01:00
cx16.inc Updated the cx16 library to the Commander X16's ROM prerelease 37. 2020-05-02 13:46:06 -04:00
em-error.inc Rewrote em_load_driver in assembler fixing a possible memory leak. 2012-07-22 11:36:09 +00:00
em-kernel.inc Bumped driver api versions due to recent intoduction of library references. 2013-09-01 09:46:07 +02:00
errno.inc Implement exec() for Atari XDOS. 2016-06-13 20:40:01 +02:00
fcntl.inc Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
gamate.inc more cleanup 2015-11-29 20:04:10 +01:00
generic.mac Added two useful opcode mnemonic aliases. 2013-05-08 00:03:44 -04:00
get_tv.inc Some renaming 2004-10-26 21:03:47 +00:00
joy-error.inc New joystick API 2002-12-20 21:02:35 +00:00
joy-kernel.inc Removed IRQ support from joystick drivers. 2018-02-01 22:38:36 +01:00
longbranch.mac Replaced builtin macro packages with .mac files that are included like ordinary .inc files. 2013-04-08 00:11:05 +02:00
lynx.inc Fixed CPU definition of Lynx. Removed nonsense target vc20. 2016-04-12 23:58:30 +02:00
modload.inc Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
module.mac Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
mouse-kernel.inc Use Timer2 for mouse polling. 2019-01-29 22:00:55 +01:00
nes.inc Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
o65.inc Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
opcodes.inc Removed OPC_EOR_abx duplicate. 2017-12-07 20:39:28 +01:00
pce.inc Fixed and improved some pce comments. 2018-08-30 11:48:46 +02:00
pet.inc Added missing VIA register names. 2018-04-20 21:24:37 +03:00
plus4.inc Moved kernal entries to cbm_kernal.inc 2018-11-26 22:14:31 +01:00
ser-error.inc add SER_ERR_NOT_OPEN status code 2013-12-06 20:53:49 +01:00
ser-kernel.inc Added SER_ prefix. Whitespace cleanup 2018-11-26 22:14:31 +01:00
signal.inc Signals implemented 2003-03-14 00:09:21 +00:00
smc.inc remove TABs 2019-02-05 23:27:52 +01:00
stdio.inc Fixing buffer overflow with cwd command (FILENAME_MAX must be at 50 +1 bytes) 2017-09-25 21:39:57 +02:00
supervision.inc Fixed CPU definition of Lynx. Removed nonsense target vc20. 2016-04-12 23:58:30 +02:00
telestrat.inc Add textcolor and bgcolor.s 2019-07-21 14:11:51 -04:00
tgi-error.inc Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
tgi-kernel.inc Removed IRQ support from TGI drivers. 2018-02-02 18:15:45 +01:00
tgi-vectorfont.inc Small change in the vector font format. 2011-07-17 17:15:54 +00:00
time.inc Added clock_getres() / clock_settime() for the Apple II. 2018-08-15 21:34:35 +02:00
utsname.inc Use structs 2003-12-03 20:23:09 +00:00
vic20.inc Moved kernal entries to cbm_kernal.inc 2018-11-26 22:14:31 +01:00
zeropage.inc Change imports from "import" to "global", so the file can be used from 2012-11-04 13:54:06 +00:00