Mod Your Own Bios / Discussions on BIOS Transcoding

Discussion in 'BIOS Mods' started by hellohello, Jul 12, 2007.

  1. hnfz

    hnfz MDL Novice

    Oct 16, 2008
    19
    1
    0
    Hi, Yen,
    I didn't see any configlock. But there is a little piece of code in f000:72bd which pull values at f000:e1a0 (0f00 0000 6201 0000 00) and set al to 0:

    E1A000F0 => 0F00 0000 6201 0000 00

    ds = 0xf000
    si = 0xA0E1
    bx = [si+2] = 0
    cx = [si+4] = 0x162
    dx = [si+4]-0x10 = 0x152
    al = [si+8] = 0
    si = [si+6] = 0

    later on the function branched based on the al value. What happens next is the part I am not so sure of. But since the edi was pointing to the PUBKEY+MAKER block, I guess one of the branch will change the data preventing it being copied to high memory.
    I don't have a eprom programmer.:(
    So I need someone test it first. If it is correct, then we can start a new thread
    I didn't find the configlock. I just skipped it:confused: Not sure I am correct.
    I am not good at assembly language. So don't be surprised if I made a mistake:p
     
  2. offon7544

    offon7544 MDL Expert

    Sep 27, 2007
    1,018
    8
    60
    The truth will come behind the test ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. hnfz

    hnfz MDL Novice

    Oct 16, 2008
    19
    1
    0
    Here are the flow charts I created when I traced function at f000:72bd.
    Hope it will help if anyone wants to take a look into it too.
     
  4. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    11,910
    12,377
    340
    #424 Yen, Dec 16, 2008
    Last edited by a moderator: May 23, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. digitech

    digitech MDL Member

    Jun 25, 2007
    104
    4
    10
    Hi Yen. I've been reading this thread regarding the FC BIOS. I have the ASUS P5Q Deluxe mobo and version 1406 BIOS. When I open the BIOS ROM in MMTool 3.19 I seen the FC ID like in the screenshot I provided. Is this the FC you are talking about?

    I have downloaded a program called ASUS_AMI-FC10.rar from this forum for the FC BIOS. Is this what I need to remove the SLIC restriction?

    Thanks for your great help. :)
     
  6. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    497
    180
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. tommyle1902

    tommyle1902 MDL Novice

    Dec 16, 2008
    9
    0
    0
    Sorry, ... i'm so stupid... what is UTS64K.BIN ?? because i don't see any infor about this file. However, I did:

    Use cbrom32_115 therefore. Extract and release the nocompress module:

    cbrom32_115 ep45dq6.10a /nocompress extract
    cbrom32_115 ep45dq6.10a /nocompress release

    Then add iasus1.bin by tommiy
    cbrom32_115 ep45dq6.10a /isa iasus1.bin

    Finally add the nocompress module again,
    cbrom32_115 ep45dq6.10a /nocompress iasus1.bin

    Then use ep45dq6.10a to flash, and it's okay.

    Did i miss something?

    Sorry, I'm brand new. :D
     
  8. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    497
    180
    Kind of a padding module. I would put it back as you have introduced another module into the bios, it just will not be compressed. You now effectively have two ISA modules in bios..One is not compressed.

    You need to extract the nocompress module, so you have it to replace, release it from the bios..introduce the ISA module before the UTS64K module, and reinsert the UTS64K module. Just adding the ISA after the UTS64K module affords no activation.

    I dont think we know what will happen if the padding module is left out..Maybe some ill effects later that you haven't found yet??
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    11,910
    12,377
    340
    LoL:):)

    This is funny.
    tommyle1902, you've added the ISA.bin code twice. One time as functional ISA module and one time as nocompressrom. Instead you didn't reinsert the UTS64K code............
    But it's OK, the Gigabyte bios seems to accept the ISA module code as padding waste code as well:D. The nocompressrom here has no function at all (except to fill up the bios with garbage.......)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. MrGalaxy

    MrGalaxy MDL Junior Member

    Sep 29, 2007
    54
    0
    0
    #431 MrGalaxy, Dec 18, 2008
    Last edited by a moderator: May 23, 2017
  11. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    497
    180
    #432 911medic, Dec 18, 2008
    Last edited by a moderator: May 23, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    497
    180
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. tommyle1902

    tommyle1902 MDL Novice

    Dec 16, 2008
    9
    0
    0
    The infor of BIOS appeared like it:

    c:\BIOS>cbrom32_115 945ps3.f6 /d
    CBROM32 V1.15 [Oct 3 2007 Release] (C)ASUSTeK Computer Inc. 2007

    ******** 945ps3.f6 BIOS component ********

    No. Item-Name Original-Size Compressed-Size Original-File-Name
    ===============================================================================
    0. System BIOS 20000h(128.00K) 1481Eh(82.03K) 945ps3.BIN
    1. XGROUP 0DE20h(55.53K) 09AC2h(38.69K) awardext.rom
    2. ACPI Table 0390Ch(14.26K) 0150Dh(5.26K) ACPITBL.BIN
    3. EPA 0168Ch(5.64K) 002AAh(0.67K) AwardBmp.bmp
    4. GROUP ROM[18] 01550h(5.33K) 0104Ah(4.07K) ggroup.bin
    5. YGROUP 07130h(28.30K) 04E26h(19.54K) awardeyt.rom
    6. GROUP ROM[ 0] 06830h(26.05K) 028E4h(10.22K) _EN_CODE.BIN
    7. PCI ROM[A] 0A800h(42.00K) 06055h(24.08K) rtegrom.lom
    8. GV3 0197Dh(6.37K) 00B0Bh(2.76K) PPMINIT.ROM
    9. OEM0 0289Bh(10.15K) 01E19h(7.52K) SBF.BIN
    10. ISA ROM[1] 00400h(1.00K) 0035Ch(0.84K) HP1.bin
    (SP) NCPUCODE 13000h(76.00K) 13000h(76.00K) NCPUCODE.BIN

    Total compress code space = 5A000h(360.00K)
    Total compressed code size = 43EC0h(271.69K)
    Remain compress code space = 16140h(88.31K)

    ** Micro Code Information **
    Update ID CPUID | Update ID CPUID | Update ID CPUID | Update ID CPUID
    ------------------+--------------------+--------------------+------------------
    SLOT1 0A 0F32 | PGA423 2C 0F25 | SLOT1 02 0F37 | SLOT1 17 0F34
    SLOT1 17 0F41 | SLOT1 05 0F43 | SLOT1 03 0F49 | SLOT1 04 0F4A
    SLOT1 06 0F44 | SLOT1 03 0F47 | PGA478 07 0F61 | PGA478 0F 0F62
    SLOT1 04 0F64 | PGA478 09 0F65 | SLOT1 11 06F1 | SLOT1 26 06F4
    SLOT1 33 06F5 | SLOT1 C6 06F6 | SLOT1 04 0660 | SLOT1 56 06F2
    SLOT1 82 06F9 | SLOT1 32 0661 | SLOT1 B3 06FB | SLOT1 A1 06FD
     
  14. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    497
    180
    Yep..I just looked at it and was going to tell you that there is no nocompress module. You need to look at the bios before you start adding the isa..some bios have an isa[1] already and you need to add it to ISA[2] or perform a different type of mod. SSV1 or OEM7 for example. Although the ISA mod is relatively simple, you can cause big trouble by not examining the bios first.

    This looks good. The tutorial you found was for the odd GB bios'.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. tommyle1902

    tommyle1902 MDL Novice

    Dec 16, 2008
    9
    0
    0
    Thanks :D

    I try another mod. later. Now, I think I should start the tutorial for beginner first :D
     
  16. zort

    zort MDL Expert

    Feb 19, 2008
    1,105
    18
    60
    #440 zort, Dec 28, 2008
    Last edited by a moderator: May 23, 2017