Subject: Re: Native boot [was Booter 1.8]
To: The Great Mr. Kurtz <davagatw@mars.utm.edu>
From: Andrew Gillham <gillham@andrews.edu>
List: port-mac68k
Date: 12/15/1995 20:20:25
> 
> On Fri, 15 Dec 1995, Andrew Gillham wrote:
> 
> > Perhaps NetBSD/mac68k should run _under_ MacOS like MachTen, then we
> > don't duplicate so much work?

I was being a bit sarcastic here..  Sorry for dropping the ':-)'
I would prefer to have MacOS out of the picture, if possible. 

> connections, although someone else said 64.  Regardless, that's a joke.  
> Everybody else's unix clone boxes (linux, etc) can handle 64 logins for 

Like mine.. :) (NetBSD/i386 that is)

> to b/w.  Does it have 32 bit built in?  If not, MODE32(); etc.  Moral:  
> don't try it on an 800k floppy unless part of this code is stored on the 
> Unix partition itself.

Hmm, to be honest, I don't understand why NetBSD/mac68k needs MODE32
at all.  From what I can tell MODE32 is supposed to make the ROMs 32bit
clean, yet NetBSD only uses the ADB ROM code?  So, if MODE32 is required
to correctly setup the PMMU mappings, why can't that be done by the
kernel?  

> It's gonna take some work.  I think it could be done pretty easily for 
> systems that don't require MODE32 and have already been set for b/w.  If 
> you assume those two things (and still maintain a booter for people who 
> *need* MODE32 until its code becomes integrated), the new booter wouldn't 
> be bad.

I also don't understand the 1bit requirement either.. :(  Using the
VIDEADDR value that Booter reports on my IIci, I am writing directly
into video RAM via assembler.  (e.g. black bars on the screen)
Like:
	put in floppy
	press power key
	happy mac
	printk("NetBSD BOOT xxxxxxx ");
	draw stuff in asm.

Seems like the only requirement should be that you know whether the
video is in 1bit/4bit/8bit mode?  AFAIK I'm in 8bit at the happy mac
screen, as that is what is configured.  Perhaps it is automatically in
1bit there?  I guess I'll have to add a putpixel routine.

-Andrew



-- 
============================ Real 32bit multi-tasking UN*X System
Andrew Gillham             | TCP/IP,NFS,PPP,4.4BSD-lite,multi-user
gillham@andrews.edu        | i386,sparc,alpha,mac68k,amiga,others
LAN/WAN/NW/UN*X specialist |   ---> http://www.NetBSD.org <---