Re: Bug in 1581 ???

From: silverdr_at_wfmh.org.pl
Date: Wed, 8 Feb 2012 17:17:11 +0100
Message-Id: <787F3C3F-DCFB-433C-A0DB-3CEE9C7385D6@wfmh.org.pl>
On 2012-02-08, at 07:42, Baltissen, GJPAA (Ruud) wrote:
> 
> This code checks the state of the WD177x. Have a look at the point
> marked [1]. If the Carry is set for one or another reason, the branch is
> taken. Then we end up at the RTS. But here it must go terribly wrong as
> the state is still on the stack !!!

It definitely looks like a bug, or... a piece of dead code ;-) Might it be that condition for branch is never fulfilled or this part of code is not executed in normal use? AFAIR the guys had simply too much room in the 1581 ROM chip to care about couple bytes here or there. and they weren't particularly picky about what gets in (vide funny comments inside, etc.)

-- 
SD!
       Message was sent through the cbm-hackers mailing list
Received on 2012-02-08 17:00:33

Archive generated by hypermail 2.2.0.