[SunRescue] RE: Prom images for Sparcs :)

Mike Hebel rescue at sunhelp.org
Tue Mar 13 22:45:02 CST 2001


>>For instance:
>>
>>ok see startup
>>: startup
>>   sp@ saved-sp ! rp@ saved-rp ! hex warning on only forth also
>>definitions
>>   (ffeb318c) if
>>      " disk0" (ffeb945c) (ffeb0c28) enable-interrupts (ffea85ac)
>>      0= if
>>         (ffeb9508) if
>>            show-post-results
>>         then  cr test-memory cr show-sbus cr
>>      then  (ffeb942c) (ffeb9474) mfg-switch? if
>>         reset
>>      then  (ffeb311c) auto-boot? eeprom-invalid 0= and (ffeb9508)
>>      0= and if
>>         (ffeb3180)
>>      then
>>   then
>>;

Hmmm...I'm no good at Forth, never learned it, but it looks like the last
part of this is the actual jumping off point for the boot.  The question
that I come up with is how this line:

then  (ffeb311c) auto-boot? eeprom-invalid 0= and (ffeb9508)

works.  I think understanding that line and the 0= test after it will give
you the way to patch the code.  But then I haven't been a micro-code monkey
for years. ;-)

Mike Hebel




More information about the rescue mailing list