[Coco] NitrOS9 build errors

Darren A mechacoco at gmail.com
Sat Jan 18 15:24:23 EST 2014


On Sat, Jan 18, 2014 at 6:16 AM, Tormod Volden wrote:

> On Sat, Jan 18, 2014 at 4:57 AM, Bob Devries wrote:
> > Hi Tormod,
> >
> > It seems strange that the dragon boot disk works when using the debugger,
> > but not otherwise. We really do need some real hardware tests.
>
> The code uses for instance a lot of NMI interrupts from the disk
> controller, maybe the emulation is not 100%?
>
> > Your suggestion of moving files around between the two disks sounds
> > workable.
>
> Done.
>
>
One thing I noticed in boot_d64.asm is that the interrupt masks are being
set (ORCC #$50) before preserving CC on the stack (PSHS Y,DP,CC).  This
means when the code later restores CC (PULS Y,DP,CC) the interrupts will
remain masked.  I don't know if any subsequent code expects the interrupts
to be enabled, but if so that could be a problem.

Darren



More information about the Coco mailing list