Forum FAQForum FAQ SearchSearch MemberlistMemberlist   UsergroupsUsergroups RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Wim's BIOS RSS FeedRSS Log inLog in

how to build 128KB bios image out of 256 kbyte bios image ?

 
Post new topic   Reply to topic    Wim's BIOS Forum Index -> In-depth High-tech BIOS section

Recommended by Wim's BIOS...

BIOS Agent scan: Upgrade your BIOS! Driver Agent scan: Instant Access to 116,215 Device Drivers Updates!

View previous topic :: View next topic  
Author Message
maman
Master Flasher


Joined: 31 Mar 2002
Posts: 161
Location: Taka Bonerate National Park, Indonesia

PostPosted: Thu May 20, 2004 3:34 am     Post subject: how to build 128KB bios image out of 256 kbyte bios image ? Reply with quote

I've successfully release "unneeded" stuff from my mainboard bios without loss of any important functionality. The "unneeded" stuff is the EPA logo, and a custom EPA procedure (procedure to display the EPA logo). The size of this new image is a bit less than 128Kbyte (compressed), but the original size of the bios image is 256Kbyte, hence cbrom or modbin will always emit 256Kbyte image out of this modified image. I intend to make it just 128 Kbyte image, and I have 128Kbyte flash chip to experiment with it. Is it possible at all to make a new 128 kbyte image? if it's possible then how to accomplish it?
_________________
-- Human knowledge belongs to the world --
Back to top
View user's profile Send private message Visit poster's website
Rainbow
The UniFlasher


Joined: 20 Mar 2002
Posts: 3122
Location: Slovakia

PostPosted: Thu May 20, 2004 7:51 am     Post subject: Reply with quote

I've seen something like that in bp http://www.rom.by but never tried it.
_________________
Patched and tested BIOSes are at http://wims.rainbow-software.org
UniFlash - Flash anything anywhere http://www.uniflash.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sulbert
Master Flasher


Joined: 17 Jul 2002
Posts: 204

PostPosted: Mon May 31, 2004 11:00 am     Post subject: Reply with quote

This feature was still under development in the last available version of BP.
Back to top
View user's profile Send private message
maman
Master Flasher


Joined: 31 Mar 2002
Posts: 161
Location: Taka Bonerate National Park, Indonesia

PostPosted: Mon May 31, 2004 3:30 pm     Post subject: Reply with quote

aha.., I see Very Happy. I've been "studying" BP for several weeks. I haven't got anytime testing it, but it's a very nice software. Thx, for the info. BP didn't mention about that feature in its readme file.
_________________
-- Human knowledge belongs to the world --
Back to top
View user's profile Send private message Visit poster's website
sulbert
Master Flasher


Joined: 17 Jul 2002
Posts: 204

PostPosted: Mon May 31, 2004 3:51 pm     Post subject: Reply with quote

Code:
bp-4_51 /h
says:

Code:
/u - "ultrapack": packs 2Mbit/4Mbit-BIOS to 1Mbit (N/A - in development)


As far as I have understood the thing, the main idea behind this are better (more effective) compression routines.


Last edited by sulbert on Mon Jun 14, 2004 7:24 am; edited 1 time in total
Back to top
View user's profile Send private message
maman
Master Flasher


Joined: 31 Mar 2002
Posts: 161
Location: Taka Bonerate National Park, Indonesia

PostPosted: Sat Jun 12, 2004 3:52 am     Post subject: Reply with quote

a better compression routine Cool . AFAIK, bios is LZH compressed, so it must still a variant of the LZH. This BP is really interesting Shocked .
_________________
-- Human knowledge belongs to the world --
Back to top
View user's profile Send private message Visit poster's website
sulbert
Master Flasher


Joined: 17 Jul 2002
Posts: 204

PostPosted: Mon Jun 14, 2004 7:55 am     Post subject: Reply with quote

maman wrote:
so it must still a variant of the LZH


Why? The uncompress routine is also replaceable, isn't it?


Last edited by sulbert on Tue Jun 15, 2004 11:19 am; edited 1 time in total
Back to top
View user's profile Send private message
maman
Master Flasher


Joined: 31 Mar 2002
Posts: 161
Location: Taka Bonerate National Park, Indonesia

PostPosted: Tue Jun 15, 2004 11:14 am     Post subject: Reply with quote

yup right, I'm just fool enough right now, not being able to implement a better compression routine in assembly language other than variant of the "moving window" such as LZH Sad to meet the small space requirement in the BIOS.
_________________
-- Human knowledge belongs to the world --
Back to top
View user's profile Send private message Visit poster's website
apple_rom
Use my patch at your own risk!!


Joined: 07 Jan 2003
Posts: 125
Location: Minsk

PostPosted: Sun Jul 18, 2004 2:23 pm     Post subject: Reply with quote

Quote:
Is it possible at all to make a new 128 kbyte image?

It`s possible. I even once upon a time successfully this do. But this anymore was required, therefore so and not realize this possibility in its program (though on 80% has written).
Quote:
if it's possible then how to accomplish it

1. remove ALL not-used files. (as a rule, stays only "original.tmp" and "awardext.rom").
2. place original.tmp in begin of 128k-bios.
3. awardext.rom place in the end of him and some not-used places (u can divide by some parts).
4. rewrite unpacking-procedure in boorblock - after unpacking "original.tmp" so to first was going to from pieces your awardext.rom on original.tmp-place, and after that uncompress him...

Some comments - you not will have no DMI/ESCD, and must to remove CRC-checking...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
maman
Master Flasher


Joined: 31 Mar 2002
Posts: 161
Location: Taka Bonerate National Park, Indonesia

PostPosted: Mon Jul 19, 2004 3:20 pm     Post subject: Reply with quote

apple_rom wrote:

1. remove ALL not-used files. (as a rule, stays only "original.tmp" and "awardext.rom").
2. place original.tmp in begin of 128k-bios.
3. awardext.rom place in the end of him and some not-used places (u can divide by some parts).

I have done this Very Happy. The another two haven't yet. I'll try later. Thx Very Happy
_________________
-- Human knowledge belongs to the world --
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Wim's BIOS Forum Index -> In-depth High-tech BIOS section All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group