[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New firmware for PseudoDisk / some problems



"David Empson" <dempson@actrix.gen.nz> wrote in message
1hp8e80.1cgr5so2j7ydgN%dempson@actrix.gen.nz">news:1hp8e80.1cgr5so2j7ydgN%dempson@actrix.gen.nz...
> The problem is almost certainly as follows:
>
> If you boot your card with PR#n, and the boot block code is trying to
> print anything with COUT, then as soon as it outputs a character, COUT
> will JMP indirect to the output vector, which is pointing to $Cn00. This
> will proceed to boot again, resulting in an infinite loop.


Thanks, David. I think you are right. That's what appeared to be happening:
infinite boot attempts.

>
> To avoid this, your menu display code must initialize the I/O vectors.
> There are monitor routines for this (but I don't have my notes handy and
> I can't remember their addresses offhand). An alternative is to call
> COUT1 ($FDF0) instead of COUT, to ensure you are outputting to the
> screen.


I was trying to use a line output routine. I guess it's safest to just copy
chars to screen memory by brute force. The boot code is not size limited:
at least 64KB are always wasted on a disk/memory card.

-Alex.