Talk:SC EEPROM

From PS3 Developer wiki
Revision as of 10:21, 11 May 2014 by Flatz (talk | contribs) (Created page with "There is a flag at EEPROM which enables a special diagnostic mode at startup. Purpose: Pseudo-code: <pre> def check_bootrom_diag_mode(mode, param) diag_mode = get_eep...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

There is a flag at EEPROM which enables a special diagnostic mode at startup.

Purpose: Pseudo-code:

def check_bootrom_diag_mode(mode, param)
        diag_mode = get_eeprom_bootrom_diag()
        if diag_mode & 0x1:
                if diag_mode & 0x100:
                        return 0
                mode = (diag_mode >> 3) & 0x1
                param = (diag_mode >> 3) & 0x1
        else:
                mode = (diag_mode >> 1) & 0x1
                param = -1
        return 1