Why can't I compress this ACPI2.ROM module?

Discussion in 'Windows 7' started by chaddawkins, Aug 7, 2009.

  1. chaddawkins

    chaddawkins MDL Senior Member

    Sep 16, 2007
    344
    66
    10
    Why can't I compress this ACPI2.ROM module?

    thanks
     

    Attached Files:

  2. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,977
    340
    You meant the TCPA table? It becomes compressed! To compress doesn't mean to decrease the size because prepare also has to add the module header.:

    At rom.scr means: (to edit with notepad)
    COMPRESS LZINT (to compress any following module)

    parameter -X (disables compression)


    At a compressed module you cannot read the OEMIDs anymore like Lenovo cb-01 and TCPA

    If you re-run the edited rom.scr
    ACPI ACPI2.ROM -X

    and have a look at the new created ACPI2.MOD you'll see that the table remains original (header added only)

    To compress is a sort of 'encryption'
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. chaddawkins

    chaddawkins MDL Senior Member

    Sep 16, 2007
    344
    66
    10
    #3 chaddawkins, Aug 8, 2009
    Last edited: Aug 8, 2009
    (OP)
    thanks, i understand what all that means... i created the files :p, except rom.scr of course... it's there to show my command was correct

    I ask because I get this PBE error (attached pic) after I insert the acpi2.mod into the bios.
    It may have something to do with the size; rom.log says the size should be 4Bh. The compressed module is 4Dh. If this is the case, then it is a compression problem, right?, since I didn't add any bytes, just altered them?
    How do I insert the modified acpi.rom (acpi2.mod) into the bios without getting this error?

    thanks AGAIN :)
     

    Attached Files:

  4. chaddawkins

    chaddawkins MDL Senior Member

    Sep 16, 2007
    344
    66
    10
    but yeah, i want the TCPA table to match the bios...
     
  5. justinkb

    justinkb MDL Member

    Jul 16, 2008
    193
    9
    10
    mess with the creator id to make it compress to original size...
     
  6. chaddawkins

    chaddawkins MDL Senior Member

    Sep 16, 2007
    344
    66
    10
    thank you
    worked like a charm
     

    Attached Files:

  7. justinkb

    justinkb MDL Member

    Jul 16, 2008
    193
    9
    10
    you're very welcome...