
booting linux-2.4.10 on powerbook G3 firewire (aka pismo)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In article <j_Iy7.6967$uJ3.858...@news20.bellglobal.com>,
"Pierre Snchal" <p...@pierresenechal.qc.ca> writes:
I've seen this from a few different people in a few different
places. I'm guessing it's some sort of change in the Open
Firmware, since I've used other CHRP-BOOT scripts which load
okay (but don't do what I want).
There's another script at
http://sdb.suse.de/sdb/en/html/olh_ppc_macosx.html
which has the following excerpt:
dup 20 dump
3 + c@ 10 = if
" Booting MacOS X ..." cr " boot ultra0:11,\\:tbxi" eval
then
" get-key-map" " keyboard" open-dev $call-method
dup 20 dump
2 + c@ 80 = if
" Booting MacOS 9 ..." cr " boot ultra0:9,\\:tbxi" eval
then
" get-key-map" " keyboard" open-dev $call-method
dup 20 dump
1 + c@ 01 = if
" Booting Linux ..." cr " boot ultra0:10,\\yaboot" eval
then
" get-key-map" " keyboard" open-dev $call-method
dup 20 dump
5 + c@ 08 = if
" Booting MacOS ..." cr " boot ultra0:9,\\:tbxi" eval
else
" Booting Linux ..." cr " boot ultra0:10,\\yaboot" eval
then
As closely as I can tell, the lines like "3 + c@ 10" are
comparing the keyboard input to a certain character, and
acting if the input matches (the = if...). The only problem
I'm having is, how do I read something like "3 + c@ 10"?
I can't for the life of me find any resources that document
what this means. It'd be really nice, because then I could
change the meaning of the characters and add my own boot
options.
Any ideas?
- --keith
- --
kkel...@speakeasy.net
alt.os.linux.slackware FAQ:
http://wombat.san-francisco.ca.us/perl/fom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjvL1uYACgkQhVcNCxZ5ID9CAgCfSXZmRXvmrDkXjAydF8FCUMr0
dp4An1TrvVrTt/UpMQr+q1IQEmlhp6aD
=OnKo
-----END PGP SIGNATURE-----