mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
20a9c0c336
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. |
||
---|---|---|
.. | ||
_file.inc | ||
_heap.inc | ||
accelerator.inc | ||
apple2.inc | ||
apple2.mac | ||
atari2600_riot.inc | ||
atari2600_tia.inc | ||
atari2600.inc | ||
atari5200.inc | ||
atari_antic.inc | ||
atari_gtia.inc | ||
atari_pokey.inc | ||
atari.inc | ||
atari.mac | ||
atmos.inc | ||
c16.inc | ||
c64.inc | ||
c128.inc | ||
cbm510.inc | ||
cbm610.inc | ||
cbm_filetype.inc | ||
cbm_kernal.inc | ||
cbm.mac | ||
cpu.mac | ||
creativision.inc | ||
ctype_common.inc | ||
ctype.inc | ||
ctypetable.inc | ||
cx16.inc | ||
em-error.inc | ||
em-kernel.inc | ||
errno.inc | ||
fcntl.inc | ||
gamate.inc | ||
generic.mac | ||
get_tv.inc | ||
joy-error.inc | ||
joy-kernel.inc | ||
longbranch.mac | ||
lynx.inc | ||
modload.inc | ||
module.mac | ||
mouse-kernel.inc | ||
nes.inc | ||
o65.inc | ||
opcodes.inc | ||
pce.inc | ||
pet.inc | ||
plus4.inc | ||
ser-error.inc | ||
ser-kernel.inc | ||
signal.inc | ||
smc.inc | ||
stdio.inc | ||
supervision.inc | ||
telestrat.inc | ||
tgi-error.inc | ||
tgi-kernel.inc | ||
tgi-vectorfont.inc | ||
time.inc | ||
utsname.inc | ||
vic20.inc | ||
zeropage.inc |