#Turbo-Amiga
01-Feb-87 22:08:18
Sb: #51948-#Turbo-Amiga
Fm: Bela Lubkin/Sysop 76703,3015
To: Alfred Aburto 76450,23
ANDI.L #$00FFFFFF,D0 / MOVEA.L D0,A0 is, as you say, >highly< suspicious. Have
you traced through to that point to see if the contents of D0 before that
operation had something other than 0 in the high byte? That would seem to
indicate their use of the high part of the address for other information, which
would certainly screw up the CSA board! That's if they're making the
assumption that the high 8 bits don't matter. The alternative is that they're
using them for something but they >do< think they matter, which is why they
mask them off with the above code. Have you searched AmigaBASIC for further
occurrences of the bytes 00 FF FF FF? Maybe the problem is that it's
overzealously zeroing the high byte of addresses that really are validly above
$00FFFFFF. Removing the AND probably won't entirely fix the problem because
they are doing that AND for a reason — probably using the high byte for
something else — and you have to fix that code to use some other storage for
that information. Ugh. Good luck! >Bela<