1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-10 19:29:45 +00:00
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
2022-06-25 00:21:19 +02:00
2022-09-01 12:56:46 +08:00
Don
2021-09-29 14:48:09 +02:00
2022-08-17 21:42:42 +02:00
2015-05-05 21:56:23 +02:00
2022-07-21 03:24:17 +02:00

About cc65

cc65 is a complete cross development package for 65(C)02 systems, including a powerful macro assembler, a C compiler, linker, archiver and several other tools. cc65 has C and runtime library support for many of the old 6502 machines. For details look at the Website.

People

Core team members:

External contributors:

(The above list is incomplete, if you feel left out - please speak up or add yourself in a PR)

For a complete list look at the full team list or the list of all contributors

Contact

For general discussion, questions, etc subscribe to the mailing list or use the github discussions.

Some of us may also be around on IRC #cc65 on libera.chat

Documentation

  • The main Documentation for users and developers

  • Info on Contributing to the CC65 project. Please read this before working on something you want to contribute, and before reporting bugs.

  • The Wiki contains some extra info that does not fit into the regular documentation.

Downloads

Snapshot Build

Description
cc65 - a freeware C compiler for 6502 based systems
Readme Zlib 404 MiB
Languages
C 62.4%
Assembly 35.6%
PHP 0.7%
Makefile 0.6%
Perl 0.3%
Other 0.3%