mirror of
https://github.com/cc65/cc65.git
synced 2024-12-30 20:29:25 +00:00
5493c9e7c2
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`. |
||
---|---|---|
.. | ||
emd | ||
extra | ||
joy | ||
mou | ||
ser | ||
targetutil | ||
tgi | ||
_scrsize.s | ||
_sys.s | ||
break.s | ||
cclear.s | ||
cgetc.s | ||
chline.s | ||
close.s | ||
closedir.c | ||
clrscr.s | ||
color.s | ||
cout.s | ||
cpeekc.s | ||
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 | ||
exec.s | ||
exehdr.s | ||
filedes.inc | ||
filedes.s | ||
filename.s | ||
get_ostype.s | ||
getdevice.s | ||
getres.s | ||
gettime.s | ||
gotoxy.s | ||
gotoy.s | ||
home.s | ||
initcwd.s | ||
iobuf.s | ||
irq.s | ||
isdevice.s | ||
joy_stat_stddrv.s | ||
joy_stddrv.s | ||
joyref.s | ||
kbhit.s | ||
libref.s | ||
lseek.s | ||
mainargs.s | ||
mcbdefault.s | ||
mli.inc | ||
mli.s | ||
mouse_stat_stddrv.s | ||
mouse_stddrv.s | ||
open.s | ||
opendir.c | ||
oserrlist.s | ||
oserror.s | ||
randomize.s | ||
rdkey.s | ||
read.s | ||
readdir.c | ||
reboot.s | ||
revers.s | ||
rewinddir.c | ||
rwcommon.s | ||
settime.s | ||
syschdir.s | ||
sysmkdir.s | ||
sysremove.s | ||
sysrename.s | ||
sysrmdir.s | ||
sysuname.s | ||
tgi_colors.s | ||
tgi_stat_stddrv.s | ||
tgi_stddrv.s | ||
videomode.s | ||
vtabz.s | ||
waitvsync.s | ||
wherex.s | ||
wherey.s | ||
write.s |