View Single Post
Old 07 January 2013, 14:45   #9
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,335
Another way to check if the machine is an A4000 would be for the boot loader to do FindResident("A4000 bonus").

If that succeeds you're running on an A4000. If it doesn't, you probably aren't. (Though of course if the user has soft-loaded a non-A4000 Kickstart that module won't be found. That's unlikely to be a problem with real-world systems though.)

Edit: It looks like that method of detecting an A4000 is already in loadbsd. Maybe the NetBSD boot loader doesn't use that method for some reason???

Edit 2: Looks like it's necessary to also check for "A4000 Bonus" and "A1000 Bonus" to cover all possible A4000 ROMs, sigh...

Last edited by mark_k; 07 January 2013 at 15:07.
mark_k is online now  
 
Page generated in 0.13366 seconds with 11 queries