Rev 3489 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3489 | Rev 3493 | ||
---|---|---|---|
Line 10... | Line 10... | ||
10 | # |
10 | # |
11 | 11 | ||
12 | script-branch { |
12 | script-branch { |
13 | wait-for-variable machine_defined |
13 | wait-for-variable machine_defined |
14 | $pcibrd = (create-sunfire-pci-board mac_address = "10:10:10:10:10:14") |
14 | $pcibrd = (create-sunfire-pci-board mac_address = "10:10:10:10:10:14") |
15 | #$pgx64 = (create-sun-pci-pgx64) |
15 | $pgx64 = (create-sun-pci-pgx64) |
16 | #$gfxcon = (create-std-graphics-console) |
16 | $gfxcon = (create-std-graphics-console) |
17 | #$keyboard = (create-sun-type5-keyboard) |
17 | $keyboard = (create-sun-type5-keyboard) |
18 | #$mouse = (create-sun-type5-mouse) |
18 | $mouse = (create-sun-type5-mouse) |
19 | $scsi_bus = (create-std-scsi-bus) |
19 | $scsi_bus = (create-std-scsi-bus) |
20 | 20 | ||
21 | $system.connect slot2 $pcibrd |
21 | $system.connect slot2 $pcibrd |
22 | #$pcibrd.connect pci-slot0 $pgx64 |
22 | $pcibrd.connect pci-slot0 $pgx64 |
23 | $pcibrd.connect $scsi_bus |
23 | $pcibrd.connect $scsi_bus |
24 | #$system.connect keyboard $keyboard |
24 | $system.connect keyboard $keyboard |
25 | #$system.connect mouse $mouse |
25 | $system.connect mouse $mouse |
26 | 26 | ||
27 | #$gfxcon.connect $pgx64 |
27 | $gfxcon.connect $pgx64 |
28 | #$gfxcon.connect $keyboard |
28 | $gfxcon.connect $keyboard |
29 | #$gfxcon.connect $mouse |
29 | $gfxcon.connect $mouse |
30 | } |
30 | } |
31 | 31 | ||
32 | $save_slot2 = "yes" |
32 | $save_slot2 = "yes" |
33 | 33 | ||
34 | if not defined hostid {$hostid = 0x80804a6c} |
34 | if not defined hostid {$hostid = 0x80804a6c} |
Line 105... | Line 105... | ||
105 | $cdrom_path = "image.iso" |
105 | $cdrom_path = "image.iso" |
106 | ($scsi_cdrom.get-component-object cd).insert (new-file-cdrom $cdrom_path) |
106 | ($scsi_cdrom.get-component-object cd).insert (new-file-cdrom $cdrom_path) |
107 | 107 | ||
108 | $system.set-prom-env boot-command "boot cdrom" |
108 | $system.set-prom-env boot-command "boot cdrom" |
109 | $system.set-prom-env auto-boot? true |
109 | $system.set-prom-env auto-boot? true |
110 | #$system.set-prom-env "output-device" "screen:r1152x900x76x24" |
110 | $system.set-prom-env "output-device" "screen:r1152x900x76x24" |
111 | 111 | ||
112 | @buf = 0; |
112 | @buf = 0; |
113 | @offset = 0; |
113 | @offset = 0; |
114 | @register2Number = SIM_get_register_number(SIM_current_processor(), "g2"); |
114 | @register2Number = SIM_get_register_number(SIM_current_processor(), "g2"); |
115 | @register3Number = SIM_get_register_number(SIM_current_processor(), "g3"); |
115 | @register3Number = SIM_get_register_number(SIM_current_processor(), "g3"); |