1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-30 20:29:25 +00:00
cc65/libsrc/apple2
Oliver Schmidt 5493c9e7c2
Don't empty the Receive Data Register on filling the Transmit Data Register
The Receive Data Register and the Transmit Data Register share share a single address. Accessing that address with STA abs,X in order to fill the Transmit Data Register causes a 6502 false read which causes the Receive Data Register to be emptied.

The simplest way to work around that issue - which I chose here - is to move the base address for all ACIA accesses from page $C0 to page $BF. However, that adds an additional cycle to all read accesses. An alternative approach would be to only modify the single line `sta ACIA_DATA,x`.
2022-09-08 17:11:30 +02:00
..
emd
extra
joy Streamlined machine detection. 2020-06-15 19:31:18 +02:00
mou remove dangling spaces 2022-04-17 16:06:22 +02:00
ser Don't empty the Receive Data Register on filling the Transmit Data Register 2022-09-08 17:11:30 +02:00
targetutil Moved convert.system from geos-apple to apple2[enh]. 2021-02-17 10:50:22 +01:00
tgi Disable potentially enabled double-width graphics. 2020-05-04 22:23:01 +02:00
_scrsize.s
_sys.s
break.s Adjusted comments to match actual prototypes. 2018-11-06 11:13:23 +01:00
cclear.s
cgetc.s
chline.s
close.s
closedir.c
clrscr.s
color.s add missing newline to a bunch of files 2022-04-16 19:51:48 +02:00
cout.s
cpeekc.s Implemented some CONIO peek functions. 2020-07-12 22:19:55 +02:00
cputc.s
crt0.s
curdevice.s
cvline.s
devicedir.s
dioclose.s
diocommon.s
dioopen.s
dioread.s
diosectcount.s
diosectsize.s
diowrite.s
dir.h
doesclrscr.s
dosdetect.s Matched comment to the one in the C header file. 2020-04-02 09:45:11 +02:00
exec.s remove dangling spaces 2022-04-17 16:06:22 +02:00
exehdr.s
filedes.inc
filedes.s
filename.s
get_ostype.s Added waitvsync() for the Enhanced Apple //e. 2020-06-18 21:44:57 +02:00
getdevice.s
getres.s Use MACHID to check for realtime clock. 2019-09-10 09:49:06 +02:00
gettime.s Adjusted comments to match actual prototypes. 2018-11-06 11:13:23 +01:00
gotoxy.s
gotoy.s
home.s
initcwd.s
iobuf.s remove dangling spaces 2022-04-17 16:06:22 +02:00
irq.s
isdevice.s
joy_stat_stddrv.s
joy_stddrv.s
joyref.s Reflect that the Apple //c supports only one joystick. 2020-06-04 23:24:24 +02:00
kbhit.s
libref.s Reflect that the Apple //c supports only one joystick. 2020-06-04 23:24:24 +02:00
lseek.s
mainargs.s
mcbdefault.s remove dangling spaces 2022-04-17 16:06:22 +02:00
mli.inc
mli.s
mouse_stat_stddrv.s
mouse_stddrv.s
open.s
opendir.c remove dangling spaces 2022-04-17 16:06:22 +02:00
oserrlist.s
oserror.s
randomize.s
rdkey.s
read.s Improved device I/O under DOS 3.3 2020-12-19 19:54:12 +01:00
readdir.c
reboot.s
revers.s
rewinddir.c
rwcommon.s
settime.s Use MACHID to check for realtime clock. 2019-09-10 09:49:06 +02:00
syschdir.s
sysmkdir.s
sysremove.s
sysrename.s
sysrmdir.s
sysuname.s
tgi_colors.s
tgi_stat_stddrv.s
tgi_stddrv.s
videomode.s Made use of 65C02 opcode (thx to polluks). 2020-03-05 14:38:36 +01:00
vtabz.s
waitvsync.s Added waitvsync() for the Enhanced Apple //e. 2020-06-18 21:44:57 +02:00
wherex.s
wherey.s
write.s remove dangling spaces 2022-04-17 16:06:22 +02:00