Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Commodore » Commodore 8-bit » Plus 4 rom error - is there any place to report it?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Plus 4 rom error - is there any place to report it? [message #412316] Sat, 13 November 2021 23:03 Go to previous message
George is currently offline  George
Messages: 80
Registered: February 2013
Karma:
Member
I was going over some of my old CBM files from back in the day, and ran
across an error I had found in the Plus 4 kernel rom. I don't think I ever
found a way to report it to anyone, so I thought I would see if anything
has changed.

The error is in the 6551 ACIA servicing routine where a byte is read in
from the ACIA:

LDA $FD00
BEQ EAC2
STA $07D5

Incoming bytes are first stored at $0FD5, and later moved from there into
the input buffer. But as the rom is written, any null byte (00) received
would be later stored as whatever the most recent non-null byte was. And
it's impossible to receive a null byte. The solution is to reverse the
second and third instructions:

LDA $FD00
STA $07D5
BEQ EAC2

Or you could duplicate the beginning of the IRQ servicing up to this point
in your code, with the correction, then jump back into the rom.

Of course, this being the Plus 4, it may be that nobody would ever care
about this, but it would be nice to make a record in case anyone ever
wanted to make other revisions to the ROM, or actually make use of the UART
capability of the Plus 4.

George Hug
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Photos from CLASS 2021!
Next Topic: Next SCCAN meeting - Saturday, December 11, 2021
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Apr 24 00:11:50 EDT 2024

Total time taken to generate the page: 0.18254 seconds