9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Virtual PC + Toshiba Tecra 8100 (SavageMX) vgadb entry and vgainfo.txt
@ 2004-07-03 16:55 Stephen Wynne
  2004-07-05 13:22 ` Stephen Wynne
  2004-07-05 15:33 ` jmk
  0 siblings, 2 replies; 4+ messages in thread
From: Stephen Wynne @ 2004-07-03 16:55 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

This works well enough to run the installer.

----------- addition to vgadb ------------
ctlr
    0xC000E="VIDEO B"
    link=vga
    hwgc=s3hwgc linear=0
    ctlr=virge
--------------- vgainfo.txt --------------
main->snarf
vga->snarf
virge->snarf
virge->snarf->s3generic
Unknown ViRGE/Trio64+ - 0x8810
Trio64+
vga->attr: 0xC000E=VIDEO B
vga->dump
vga misc             67
vga feature          00
vga sequencer        03 00 03 00 03
vga crt              5F 4F 50 82 55 81 BF 1F - 00 4F 0D 0E 00 00 06 40
                     9C 8E 8F 28 1F 96 B9 A3 - FF
vga graphics         00 00 00 00 00 10 0E 00 - FF
vga attribute        00 01 02 03 04 05 14 07 - 38 39 3A 3B 3C 3D 3E 3F
                     0C 00 0F 08 00
vga virtual         0 0
vga panning         off
vga clock[1] f      135000000
vga clock[1] d i m          0        0       -      127
vga clock[1] n p q r       31        0       -        0        3
vga vmz               4194304
vga apz                     0
vga linear                  0
virge->dump
virge Crt30          E1 85 00 00 00 00 02 00 - 48 A5 05 5A 10 00
virge Crt40          08 00 00 00 00 00 00 FF - FC FF FF FF FF FF FF DF
virge Crt50          00 00 00 00 38 00 00 00 - C0 F8 00 00 80 00 00 00
virge Crt60          07 00 A1 00 00 00 00 00 - 00 00 00 00 00 00 00 00
virge hde           280   640
virge shb           288   648
virge ehb           2AA   682
virge ht            320   800
virge vde           190   400
virge vrs           19C   412
virge vre           19E   414
virge vt            1C1   449
virge Crt70          00 00 80 80 80 80 80 80 - 80 80 80 80 80 80 80 80
                     80 80 80 80 80 80 80 80 - 80 80 80 80 80 80 80 80
                     80 80 80 80 80 80 80 80 - 80
virge Seq08          06 00 00 00 00 00 00 00
virge Seq10          00 00 00 00 00 00 00 00 - 00 00 00 00 00 80 80 80
                     80 80 80 80 80 80 80 80 - 80 80 80 80 80 80 80 80
                     80 80 80 80 80 80 80 80 - 80 80 80 80 80 80 80 80
                     80 80 80 80 80 80 80 80 - 80 80 80 80 80 80 80 00
virge Crt2D          88 10 00
virge dclk m n r     14318180        0       -        0        0
virge mclk m n r     14318180        0       -        0        0

vmf 0 vmdf 75000000 vf1 135000000 vbw 75000000
using frequency 75000000 rr 69.24 membw 54448777
virge->options
vga->init
s3hwgc->init
s3hwgc->resyncinit on 0x00000800 off 0x00000000
vga->init 0x00000811
virge->init
virge->init->s3generic
dbdumpmode
type=multisync75, size=1024x768x8
frequency=75000000
x=1024 (0x400), y=768 (0x300), z=8 (0x8)
ht=1344 (0x540), shb=1096 (0x448), ehb=1232 (0x4D0)
shs=1072 (0x430), ehs=1232 (0x4D0)
vt=806 (0x326), vrs=771 (0x303), vre=777 (0x309)
hsync=45, vsync=45, interlace=0
vga->attr: 0xC000E=VIDEO B
vga->dump
vga flag             Uenhanced|Fdump|Finit|Fsnarf
vga misc             EF
vga feature          00
vga sequencer        03 01 0F 00 0A
vga crt              A3 7F 88 9A 86 1A324 FD - 00 60 00 00 00 00 00 00
                    303 292FF 80 60303304 A3 -7FF
vga graphics         00 00 00 00 00 50 05 0F - FF
vga attribute        00 01 02 03 04 05 06 07 - 08 09 0A 0B 0C 0D 0E 0F
                     41 FF 0F 00 00
vga virtual         1024 768
vga panning         off
vga clock[0] f       75000000
vga clock[0] d i m     154968        0       -      113
vga clock[0] n p q r        9        0       -        0        1
vga clock[1] f      135000000
vga clock[1] d i m          0        0       -      127
vga clock[1] n p q r       31        0       -        0        3
vga vm a b            8388608        0
vga vmz               4194304
vga apz                     0
vga linear                  0
virge->dump
virge flag
Hlinear|Uenhanced|Henhanced|Hpclk2x8|Fdump|Finit|Foptions|Fsnarf
virge Crt30          E1 8D 40 20 10 00 02 00 - 48 A5 15 95 00 00
virge Crt40          00 00 00 00 00 00 00 FF - FC FF FF FF FF FF FF DF
virge Crt50          00 00 00 00 A8 00 00 00 - 98 00 0A 00 80 00 40 00
virge Crt60          07 00 A1 00 00 00 00 00 - 00 00 00 00 00 00 00 00
virge Crt70          00 00 80 80 80 80 80 80 - 80 80 80 80 80 80 80 80
                     80 80 80 80 80 80 80 80 - 80 80 80 80 80 80 80 80
                     80 80 80 80 80 80 80 80 - 80
virge Seq08          06 00 00 00 00 00 00 00
virge Seq10          00 00 29 71 00 02 0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Virtual PC + Toshiba Tecra 8100 (SavageMX) vgadb entry and vgainfo.txt
  2004-07-03 16:55 [9fans] Virtual PC + Toshiba Tecra 8100 (SavageMX) vgadb entry and vgainfo.txt Stephen Wynne
@ 2004-07-05 13:22 ` Stephen Wynne
  2004-07-05 15:33 ` jmk
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen Wynne @ 2004-07-05 13:22 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Interesting quandry: if I attach the plan9.iso to a Virtual PC
instance, it can boot it up and run the installer. That kernel
can see the NIC, which is evidently emulating a 2114x, but
then can't find disk/kfs* commands.

I rebuilt 9pcflop.gz from a fresh install on a normal PC but
while it can see the NIC when it boots, it can't deal with
my VGA controller, which I had hacked around by recognizing
VIDEO B, etc... The vgainfo.txt is a lot less informative.

Shouldn't 9pcflop.gz be very similar to what I get when I
download?

I guess I'm building different kernels, but I'm not sure what
to do next.

I'm curious what will happen once I finally get serious
about talking to the outside world with this NIC. I
see:

    #l0: 21140: 0Mbps port 0xEC00 irq 11: 0003FF9A5B41

at boot. I've tried a couple of quick "experiments" (like batting
in the dark to you scientists) with the ip/ping command. I've
tried NAT and direct connection to the network. It looks like
I'll have to have /lib/ndb/local fixed up first.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Virtual PC + Toshiba Tecra 8100 (SavageMX) vgadb entry and vgainfo.txt
  2004-07-03 16:55 [9fans] Virtual PC + Toshiba Tecra 8100 (SavageMX) vgadb entry and vgainfo.txt Stephen Wynne
  2004-07-05 13:22 ` Stephen Wynne
@ 2004-07-05 15:33 ` jmk
  2004-07-05 15:50   ` Stephen Wynne
  1 sibling, 1 reply; 4+ messages in thread
From: jmk @ 2004-07-05 15:33 UTC (permalink / raw)
  To: 9fans

On Sat Jul  3 12:55:52 EDT 2004, stevemw@place.org wrote:
> This works well enough to run the installer.
>
> ----------- addition to vgadb ------------
> ctlr
>     0xC000E="VIDEO B"
>     link=vga
>     hwgc=s3hwgc linear=0
>     ctlr=virge
> --------------- vgainfo.txt --------------
> main->snarf
> vga->snarf
> virge->snarf
> virge->snarf->s3generic
> Unknown ViRGE/Trio64+ - 0x8810
> Trio64+
> vga->attr: 0xC000E=VIDEO B
> ...

Which version of VirtualPC are you using? I worked a little on it a few months
ago to make it work (I used a Connectix Windows 5.something Free Trial version).

'Unknown ViRGE/Trio64+ - 0x8810' is correct, there is no chip I am aware of with
that ID. Fortunately, the code falls through to using the parameters for the chip with
ID 8811 in this case. There is an entry for it in /lib/vgadb already:

	...
	0xC0045="S3 Savage\IX BIOS Ver. 4.02.50 - 39"	# IBM Thinkpad T21
	0xC000E="VIDEO B"		# Connectix Virtual PC
	link=vga
	hwgc=s3hwgc
	ctlr=virge linear=1

	...

--jim


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Virtual PC + Toshiba Tecra 8100 (SavageMX) vgadb entry and vgainfo.txt
  2004-07-05 15:33 ` jmk
@ 2004-07-05 15:50   ` Stephen Wynne
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Wynne @ 2004-07-05 15:50 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

jmk@plan9.bell-labs.com wrote:

>Which version of VirtualPC are you using?
>
MS Virtual PC 2004 (Build 582)

I said linear=0 to make the cursor look right. But I didn't
see an entry in there, so I added my own at the very end.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-07-05 15:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-03 16:55 [9fans] Virtual PC + Toshiba Tecra 8100 (SavageMX) vgadb entry and vgainfo.txt Stephen Wynne
2004-07-05 13:22 ` Stephen Wynne
2004-07-05 15:33 ` jmk
2004-07-05 15:50   ` Stephen Wynne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).