Subject: more about video
To: None <port-mac68k@NetBSD.ORG>
From: Taras Ivanenko <ivanenko@ctpa03.mit.edu>
List: port-mac68k
Date: 04/08/1996 13:28:19
To Ken and others,
  I have prepared diffs to the best of my abilities and available
time. Two files were not created by patch, maybe I forgot an option or 
two. the file is in the same place,	
ctpa01.mit.edu:/pub/ivanenko/macbsd_video.diff.gz The "original"
source was supped today, April 8 around 11am. Patch needs -l flag, I
have different indentation setup.

Thanks for the JIODone explanation. I will try to put that call in
when I will get in front of my mac tonight.

I have few comments about that video stuff. 

1) What is the address 0xC000000 for the frame buffer and where it
came from? I could not find any such numbers in the documentation but
there are macroses in nubus.h which produce that number. Is it left
over from MacOS? If so, it could be better to use the real slot
address 0xF9[0]* as we need it anyway and release the virtual
addresses 0xC[0]* for better use.

2) Guess what happened to my screen when I switched modes :). ite
should also be fixed when we are going to switch modes. I put some
code into grv_mv.c which changes the video parameters. Now the screen
still becomes funny but I can see some text output. That output is
bright yellow on white, not the easiest combination to read. Is it the
color 0x1 or 0xFF ? I did not have time to check the code. Ahhh, it
was one-bit mode and it used the default color.

3) I change the name NUBUS_INT_VIDEO_PSUEDO_SLOT to *PSEUDO* in
nubus.[ch] Should the pseudo-slot have the pseudo-name?

	Taras.