Port-amiga archive

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

RE: Re: Re: AmigaOS 3.2 kickstart ROM crashing on NetBSD partitions (Was NetBSD/amiga sysinst)


On Sat, 25 Mar 2023, Carlos Milán Figueredo wrote:

> > As I wrote on EAB, this _recoverable_ alert is probably caused
> > by the boot code returning with an error (read: rts while d0 non 0?)
> > to the OS. Just by quickly glancing at it, the boot code makes some
> > assumptions regarding the stack and register layout the boot code
> > is called with, then proceeds to allocate some memory and other
> > things. I did not check if these are "hard truths", or it just
> > happens to work with the previous Kickstart versions.
> Although that makes sense, why the bootblock works when running with the
> runbootblock utility from AmigaOS 3.2? The Recoverable Alert will only
> happen when trying to boot NetBSD from the Early Startup Menu. Is there
> something different in the memory layout before actually booting
> AmigaOS?

OK, so my initial hypothesis was wrong, but now I have proof, that on
Kickstart 3.2.x opening console.device fails from the bootblock, in
console.c, function consinit(). That OpenDevice("console.device"...)
call in particular, returns -1:

Video evidence:

Gist with my patch, to show the evidence:

I let the people who actually have interest in these newer Kickstarts
figure it out. :P

I will also post on EAB.


Home | Main Index | Thread Index | Old Index