Date : Wed, 01 Dec 2004 17:04:50 +0000 (GMT)
From : Andrew W <a.weston2@...>
Subject: Re: ...at line ___
In <URL:news:local.misc> on Tue 30 Nov, Pete Turnbull wrote:
> > > You don't need the JMP and you can remove "LDY&72" from the end of
> the
> > > previous section.
> > >
> > Thanks - it seems to be the JMP and LDY&72 that were causing it to
> fail
> > although I don't understand why as when I remove them the code works.
>
> They shouldn't affect the logic. I suspect something else is causing
> the problem. Have you reserved enough space for the code? Could
> something else be overwriting the end of the code? What happens if you
> replace the two instructions with 5 NOPs?
>
The code uses 63 bytes from &79AE giving &79ED as the end. The next
section of code is at &79FE using 50 bytes giving &7A30. The final
piece is at &7A31 using 445 bytes (program in Mode 7).
If I remove what I said it doesn't work when the line of text equals 32
characters. If I add 5 NOPs it works!
regards,
A.Weston
--
Staffordshire, UK of GB&NI.