Help with modbin6/CBRom and DFI Lanparty Bios

Discussion in 'Windows Vista' started by FixedBit, Jun 15, 2008.

  1. FixedBit

    FixedBit MDL Junior Member

    Jun 10, 2008
    62
    1
    0
    #1 FixedBit, Jun 15, 2008
    Last edited by a moderator: May 23, 2017
  2. FixedBit

    FixedBit MDL Junior Member

    Jun 10, 2008
    62
    1
    0
    I am kinda glad this never got responded to, I got it worked out with Yen in PMs since it took FOREVER for a mod to "allow" it.

    I had actually forgotten about this thread till I checked back here.
     
  3. petar

    petar MDL Expert

    Apr 5, 2008
    1,188
    86
    60
    I havent noticed this thread before now.
    So here is what you do if the comresed oems.bin becomes unreadable.
    Try to add more of a deferent characters as posible, couse if you put the same characters over and over again the compresion is geting better couse the characters are repeating.
    While if you insert as much as posible deferent characters then you can achive smaller uncopmresed size of the oems.bin, which leads to a readable compresed oems.bin in wich you can read the SLIC.

    Hope that this helped...:D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    11,172
    10,931
    340
    #4 Yen, Jun 20, 2008
    Last edited by a moderator: May 23, 2017
    Since this bios contains one module AGESACPU (which is not so sensible, but safety first!!)
    I decided to mod it not the OEM7 way, but SSV1:

    The right method to do this is Award super static V1.

    Here is a google translation from the original including the method for AMI as well:
    http://forums.mydigitallife.net/posts/2699

    Additional instructions:

    Your bios contains a sensible module (GV3), extract and release it before:

    E:\Temp12>cbrom182 NF4LD329.BIN /gv3 extract
    cbrom182 V1.82 [04/11/07] (C)Phoenix Technologies 2001-2007
    Enter an extract file Name : (AGESACPU.ROM)
    [GV3] ROM is extracted to AGESACPU.ROM
    E:\Temp12>cbrom182 NF4LD329.BIN /gv3 release
    cbrom182 V1.82 [04/11/07] (C)Phoenix Technologies 2001-2007
    [GV3] ROM is release

    Now extract and release the ACPITABLE:


    E:\Temp12>cbrom182 NF4LD329.BIN /acpitbl extract
    cbrom182 V1.82 [04/11/07] (C)Phoenix Technologies 2001-2007
    Enter an extract file Name : (ACPITBL.BIN)
    [ACPI] ROM is extracted to ACPITBL.BIN
    E:\Temp12>cbrom182 NF4LD329.BIN /acpitbl release
    cbrom182 V1.82 [04/11/07] (C)Phoenix Technologies 2001-2007
    [ACPI] ROM is release

    E:\Temp12>

    Add you desired SLIC (NOT the ISA code!!) as nocompress rom:

    E:\Temp12>cbrom182 NF4LD329.BIN /nocompress asus.bin
    cbrom182 V1.82 [04/11/07] (C)Phoenix Technologies 2001-2007
    Adding asus.bin 100.0%
    Combine asus.bin file to NF4LD329.BIN...

    Add again the gv3 module:

    E:\Temp12>cbrom182 NF4LD329.BIN /gv3 AGESACPU.ROM
    cbrom182 V1.82 [04/11/07] (C)Phoenix Technologies 2001-2007
    Adding AGESACPU.ROM .. 25.1%

    Don't worry about the percentage, the module was added 100% anyway.

    Now open your modified biosfile with a hexeditor and find the offset of SLIC. It's at 63D50h.
    Calculate the physical address of it:

    Since it is a 512 KByte bios you have to use this base address: FFF80000h.
    Address at physical memory will be: FFF80000h + 63D50h = FFFE3D50h
    (h) indicates that this are hexadecimal values, nothing more.

    Ok, to call this address, you have to reverse it:
    FF FE 3D 50 will be 50 3D FE FF.

    Note this as pointer to be set at ACPI table.

    Now open the extracted ACPI table (ACPITBL.BIN) with hexeditor.

    Raise the table length byte of RSDT +4 to 3C, found at offset 4.
    Now edit the OEM table and tableID, starting at offset A to _ASUS_Notebook.

    Go to the latest byte of RSDT, found at offset 37h and insert 4 zero bytes. (At winhex press crtl + 0). The size of ACPITBL.BIN is now 4 bytes bigger!!

    Set the pointer to SLIC:
    The last 4 bytes you have inserted right before the FACP string now edit to 50 3D FE FF

    Save the changes:
    Code:
    Offset      0  1  2  3  4  5  6  7   8  9  A  B  C  D  E  F
    
    00000000   52 53 44 54 3C 00 00 00  01 00 5F 41 53 55 53 5F   RSDT<....._ASUS_
    00000010   4E 6F 74 65 62 6F 6F 6B  31 2E 30 42 41 57 52 44   Notebook1.0BAWRD
    00000020   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
    00000030   00 00 00 00 00 00 00 00  50 3D FE FF 46 41 43 50   ........P=þÿFACP
    00000040   74 00 00 00 01 00 4E 76  69 64 69 61 41 57 52 44   t.....NvidiaAWRD
    00000050   41 43 50 49 31 2E 30 42  41 57 52 44 00 00 00 00   ACPI1.0BAWRD....
    00000060   00 00 00 00 00 00 00 00  00 00 09 00 2E 14 00 00   ................
    
    
    Now add the ACPI table again:

    E:\Temp12>cbrom182 NF4LD329.BIN /acpi
    cbrom182 V1.82 [04/11/07] (C)Phoenix Technologies 2001-2007
    Adding ACPITBL.BIN ... 32.9%
    Combine ACPITBL.BIN file to NF4LD329.BIN...


    If you have further questions, please ask!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. petar

    petar MDL Expert

    Apr 5, 2008
    1,188
    86
    60
    #5 petar, Jun 20, 2008
    Last edited: Jun 24, 2008
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...