Subject: Quadra 700 video, was: Portrait mono display
To: None <emile.schwarz@wanadoo.fr>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-mac68k
Date: 03/09/2002 13:37:22
At 7:43 Uhr +0100 8.3.2002, Emile Schwarz wrote:
>>"Would" is the right expression because the Quadra 700 unfortunately does
>>not do 16 bit video.
>Using Portrait mono display, otherwise it would...
>
>I just verify on a Quadra 700 WITH 2MB of VRAM (full upgrade) connected to
>a 16" Color Display (Apple) and I got thousands of
>colours (640 * 832)...

How do you know?

It is rather millions, if your Quadra 700 is built according to Apple's specs.
Hooking a 15" multisync up to my Q700 (2 MB VRAM like yours), System 8.1, I
get to choose between 1/2/4/8/24 bits per pixel.

The Q700, unlike the second generation of 68040 Centris/Quadra hardware,
does not do 1024x768, and it does not do 16 bits per pixel "hi-colour". The
610/650/800, on the other hand, don't do 24 bit true colour mode.

This leads to another interesting question:

Has anybody on the list managed to boot a -current kernel on a Quadra 700
with 2 MB VRAM in 824x624 | 8/24 bit depth? Booting to graphical console, I
get a black screen, then silence. Booting to serial console, I get...

Bootstrapping NetBSD/mac68k.
Getting mapping from MMU.
Loaded at 0x0
System RAM: 71303168 bytes in 17408 pages.
     Low = 0x0, high = 0x4400000
On-board video at addr 0xf9000e00 (phys 0xf9000e00), len 0xff200.
Done.
Bootstrapping the pmap system.
Pmap bootstrapped.
Moving ROMBase from 0x40800000 to 0xc04000.
Video address 0xf9000e00 -> 0xe04e00.
[ netbsd ELF symbol table not valid ]
[ using 355916 bytes of netbsd a.out symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.5ZA (FG54) #72: Sat Jan 26 02:09:27 CET 2002
    hauke@q700.causeuse.org:/usr/src/sys/arch/mac68k/compile/FG54
Apple Macintosh Quadra 700  (68040)
cpu: delay factor 1056
total memory = 69632 KB
avail memory = 56500 KB
using 2048 buffers containing 8192 KB of memory
mrg: 'Mac IIci/Q700 ROMs' ROM glue, tracing off, debug off, silent traps
mrg: I/O map kludge for ROMs that use hardware addresses directly.
mainbus0 (root)
obio0 at mainbus0
esp0 at obio0 (quick): address 0xb13000: NCR53C96, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
adb0 at obio0
intvid0 at obio0 @ f9000e00: DAFB video subsystem, monitor sense 0
intvid0: 832 x 624, 0 color
macfb0 at intvid0
uvm_fault(0x1504b8, 0x7f7000, 0, 0x3) -> 0xe
  type 8, code [mmu,,ssw]: 485
trap type 8, code = 0x485, v = 0x7f7000
kernel program counter = 0x13c5de
kernel: MMU fault trap
pid = 0, pc = 0013C5DE, ps = 2704, sfc = 1, dfc = 1
Registers:
             0        1        2        3        4        5        6        7
dreg: 00000067 00000000 00000000 00000005 0014A0F8 001D7BCE 01402400 00110D6C
areg: 007F7008 0014E408 01407E00 000FF200 01420EC0 0014A0F8 001D7B4C FFFFCFFC

Kernel stack (001D7A60):
1D7A60: 001341E4 001D7AAC 00000080 00000000 00000005 0014A0F8 001D7BCE 01402400
1D7A80: 00110D6C 01407E00 000FF200 01420EC0 0014A0F8 00000003 001D7B4C 00003086
1D7AA0: 00000008 00000485 007F7000 00000067 00000000 00000000 00000005 0014A0F8
1D7AC0: 001D7BCE 01402400 00110D6C 007F7008 0014E408 01407E00 000FF200 01420EC0
1D7AE0: 0014A0F8 001D7B4C FFFFCFFC 00000000 27040013 C5DE7008 001D7B48 04850085
1D7B00: 00850005 007F7000 007F7004 00000000 007F7000 00000000 01407D8C 00000002
1D7B20: 00000000 00000005 0014A0F8 00000135 00111632 007F7000 00000000 00000D00
1D7B40: 00000000 014025BA 001D7C24 001D7B84 001117AA 01407E00 00000074 00000002
1D7B60: 00000000 00000002 0014268A 01420EC0 00142680 00000010 00000002 00000005
1D7B80: 0013C704 001D7BD0 000324C8 01402400 01420EC0 001D7C24 001D7C24 01402506
1D7BA0: 00100000 F9000E00 01420F80 0010A22C 00110D6C 01402400 01402400 006F7E00
1D7BC0: 00000014 21BC2400 001D7C24 00143000 001D7BF4 00031FFE 01402400 0014254C
1D7BE0: 001D7C24 00110D6C 00000E00 014025BA 00037184 001D7CF4 00110D58 01402400
1D7C00: 001D7C24 00110D6C 00000000 001D7C2C 01402452 000000B4 00037184 01402400
1D7C20: 00129174 00110CA8 00000000 006F7000 00000000 00000001 00129774 001297B2
1D7C40: 00129854 00129774 001297B2 00129854 0012990C 00129978 00129A58 0012990C
panic: MMU fault
Stopped in pid 0 (swapper) at   _cpu_Debugger+0x6:      unlk    a6
db> t
_cpu_Debugger(7f2700,8,1d7aac,37184,1d7a98) + 6
_panic(133cb1,0,5,14a0f8,1d7bce) + 9c
_trap(8,485,7f7000) + 238
_memset(?)
_macfb_clear(1407e00,74,2,0,2) + 52
_macfb_attach(1402400,1420ec0,1d7c24,1d7c24,1402506) + c4
_config_attach(1402400,14254c,1d7c24,110d6c,e00) + 1fa
_config_found_sm(1402400,1d7c24,110d6c,0,1d7c2c) + 30
_grf_establish(1402400,0,111546,2,6) + a6
_grfiv_attach(1420f80,1402400,1d7d98,1d7d98,1420f80) + 3bc
_config_attach(1420f80,142530,1d7d98,10a22c,1423fc) + 1fa
_obio_search(1420f80,142530,0,1423d4,142530) + 4c
_mapply(1d7de8,142530) + 20
_config_search(10a24e,1420f80,0,10a1ea,2) + 52
_obio_attach(1420fc0,1420f80,0,1420fc0,7) + 24
_config_attach(1420fc0,142488,0,0,1423fc) + 1fa
_mainbus_search(1420fc0,142488,0,1423f4,142488) + 2e
_mapply(1d7ec8,142488) + 20
_config_search(12fdec,1420fc0,0,12fdbe,2) + 52
_mainbus_attach(0,1420fc0,128bf8,128bf8,128bf8) + 1e
_config_attach(0,142418,128bf8,0,2700) + 1fa
_config_rootfound(128bf8,128bf8) + 3a
_cpu_configure(212be,1d7fac,1f7dc,2d50,2daf0) + 18
_configure(2d50,2daf0,8006025a,f9000e00,0) + 30
uvm_fault(0x1504b8, 0x1da000, 0, 0x1) -> 0xe
  type 8, code [mmu,,ssw]: 505
trap type 8, code = 0x505, v = 0x1daffa
kernel program counter = 0x128bac
kernel: MMU fault trap
Caught exception in ddb.
_main() + 39c
_main() + 39c
db>

-- Note the queer "intvid0: 832 x 624, 0 color". 1152x870/8 bit works fine,
as always.

	hauke


--
/~\ The ASCII	                   "Those who are willing to sacrifice
\ / Ribbon Campaign                 essential liberties for a little order
 X  Against HTML                    will lose both and deserve neither."
/ \ Email!                                                 Benjamin Franklin