Subject: Re: Hardware Miscellany
To: M.R. Zucca <mrz5149@cs.rit.edu>
From: Allen Briggs <briggs@puma.macbsd.com>
List: port-mac68k
Date: 06/06/1996 16:26:29
> Now I feel especially silly! A quick look in MacsBug shows that 0CEC contains
> 50F26000 - smack dab in hardware territory! I wasn't seeing the forest for
> the trees! The physical address is trivial to find now!

Those are the low memory globals that a number of mac apps use.  That
address (50F26000) also happens to be the RBV base address if I'm not
mistaken.

> To memory gurus: are 0C00-0F00 and hardware space at 50fxxxxx preserved?
> If so, life will be quite simple.

You have 1 MB at 50f00000 kept around, but it's not at that address.  I
have been debating whether or not we can/should map that space without
any translation--the same for the nubus areas.

> Other news: Odds are good that the fake SResources for internal video is at
> the top of ROM. I also think I've got a search heuristic in mind.

Slot 0 is at the end of ROM--at least, that's been my experience in
poking around.  Basically, the ROM looks like a real nubus card with
a declaration ROM at the end of its address space.  You should be able
to check the 2MB, 1MB, 512K and 256K locations for a valid nubus
bytelanes and magic number.  If you find it, you know the size of the
ROM and you can get the slot info.  The existing nubus code should work
on Slot 0 as well as the other slots.

-allen

-- 
 Allen Briggs - end killing - briggs@macbsd.com ** MacBSD == NetBSD/mac68k **
   Where does all my time go?  <a href="http://www.netbsd.org/">Guess.</a>