Subject: Re: Open Firmware: Problem with black screen again
To: Tomas D <u0giene@yahoo.com>
From: Tim Kelly <hockey@dialectronics.com>
List: port-macppc
Date: 01/05/2005 13:21:21
Hi Tomas,

> happy new year everyone!
> Bought a new null modem cable and connected to my open
> firmware! Tim if you read this then you might remember
> my issues with black screen the problem was that I
> could access open firmware after specifying my
> output-device on systemdisk it seemed like it_s not
> saving this option wel

OK, I vaguely recall this :-)

l anyway I finally got to of via
> modem port and here_s what I_ve been doing this
> morning and was late for work:
> 
> 0 > setenv invalid CONFIG name
>  ok
> 0 > setenv auto-boot? false  ok
> 0 > setenv input-device kbd  ok
> 0 > setenv output-device /bandit@F4000000/ATY,mach64@D
>  ok
> 0 > setenv real-base F00000  ok
> 0 > reset-all
> Open Firmware, 1.0.5
> To continue booting the MacOS type:
> BYE<return>
> To continue booting from the default boot device type:
> BOOT<return>
>  ok
> 0 > boot
> RESETing to change Configuration!
> 
> (macos 8 booted up then I've restarted and returned to
> OF)

Looks like it still didn't recognize the output-device and reverted to
ttya.

>  ok   
> 0 > setenv input-device  ok          

Careful here - you just blew away the input-device setting by setting it
to an empty string.
 
> FF83E498: /bandit@F4000000
> FF8408B8:   /pci106b,1@B
> FF840A90:   /pci10b6,2@D
> FF840D80:   /ATY,mach64@E
> FF83F6F0: /hammerhead@F8000000

OK, I see the layout. Seems to me we're looking for something easier to
use than bandit@XXXXX

Do

dev /alias .properties

and look for pci2 or vci0. Then you can do

setenv output-device pci2/ATY,mach64


>  ok
> 0 > dev /bandit@F4000000/ATY,mach64@E  ok
> 0 > words
> close           restore         draw-logo       write 
>          open
> display-init
> display-remove  display-install read-rectangle 
> fill-rectangle  draw-rectangle
> color@
> color!          get-colors      set-colors

It looks like a valid OF display type. What does .properties yield?

> 0 > setenv output-device /bandit@F4000000/ATY,mach64@E
>  ok
> 0 > reset-all
> Open Firmware, 1.0.5
> To continue booting the MacOS type:
> BYE<return>
> To continue booting from the default boot device type:
> BOOT<return>
>  ok
> 0 >
> 
> 
> After restart output and input goes to ttya- default
> place when system can_t locate output-device but as
> you may saw just few lines ago I_ve specified it
> correctly:

Was this after deleting the input-device? If either the input-device or
the output-device can't be found, OF will default to ttya.

tim