11#include "irx_imports.h"
17int _start(
int ac,
char **av)
20 USE_IOP_MMIO_HWPORT();
30 bootmode_tmp[0] = (iop_mmio_hwport->exp2_r2[4612] & 0xFFFF) | 0x60000;
33 switch ( iop_mmio_hwport->exp2_r2[4612] & 0xF8 )
39 bootmode_7_val = 0x00C8;
43 bootmode_7_val = 0x012C;
46 bootmode_7_val = 0x0126;
52 bootmode_tmp[0] = (bootmode_7_val & 0xFFFF) | 0x70000;