Asus P2B-B w/ support for 40GB HDD

BIOS update, EIDE card, or overlay software? (FAQ Hard disk recognition)
Post Reply
maman
Master Flasher
Posts: 173
Joined: Sun Mar 31, 2002 2:08 pm
Location: Taka Bonerate National Park, Indonesia
Contact:


BIOS Type: Award Modular BIOS v4.51PG
BIOS ID: 03/22/99-i440BX-P2B-B-00


I've tried using the latest version of Asus P2B BIOS for this motherboard (1004.003, i.e. 1004 beta3). But, after flashing the BIOS. The motherboard is dead. It seems to be the BIOS is incompatible :?. I've opened the original BIOS with modbin and both differ in some respect.

Anyway, I'll do hotswapping to resurrect the board.

Is there any patched version for 40GB HDD (above 40GB is a plus :wink: ) ?

If there isn't then I'll try to patch it myself.

TIA,
a.k.a pinczakko
maman
Master Flasher
Posts: 173
Joined: Sun Mar 31, 2002 2:08 pm
Location: Taka Bonerate National Park, Indonesia
Contact:

Just found the bug:

Code: Select all

E000:3E9E                         calc_HDD_capacity:      ; CODE XREF: Read_IDE_Param_Direct+9Aj
E000:3E9E 59                        pop   cx
E000:3E9F 51                        push  cx
E000:3EA0 E8 C4 02                  call  sub_E000_4167
E000:3EA3 26 8B 05                  mov   ax, es:[di]
E000:3EA6 3D FF FF                  cmp   ax, 0FFFFh
E000:3EA9 0F 84 FA 00               jz    loc_E000_3FA7
E000:3EAD 89 04                     mov   [si], ax
E000:3EAF 26 8B 45 02               mov   ax, es:[di+2]
E000:3EB3 26 8A 75 06               mov   dh, es:[di+6]
E000:3EB7 26 8A 55 0C               mov   dl, es:[di+12]
E000:3EBB 26 F6 45 01 80            test  byte ptr es:[di+1], 80h
E000:3EC0 75 31                     jnz   short loc_E000_3EF3
E000:3EC2 26 F6 45 63 02            test  byte ptr es:[di+99], 2
E000:3EC7 74 2A                     jz    short loc_E000_3EF3
E000:3EC9 26 66 83 7D 78 00         cmp   dword ptr es:[di+120], 0
E000:3ECF 74 22                     jz    short loc_E000_3EF3
E000:3ED1 26 66 83 7D 78 FF         cmp   dword ptr es:[di+120], 0FFFFFFFFh ; patch here!!!
E000:3ED7 74 1A                     jz    short loc_E000_3EF3
E000:3ED9 26 81 7D 7A F0 0F         cmp   word ptr es:[di+122], 0FF0h ; patch here!!!
E000:3EDF 77 12                     ja    short loc_E000_3EF3
E000:3EE1 52                        push  dx
E000:3EE2 8A C6                     mov   al, dh
E000:3EE4 F6 E2                     mul   dl
E000:3EE6 8B C8                     mov   cx, ax
E000:3EE8 26 8B 45 78               mov   ax, es:[di+120]
E000:3EEC 26 8B 55 7A               mov   dx, es:[di+122]
E000:3EF0 F7 F1                     div   cx
E000:3EF2 5A                        pop   dx
.........
E000:8B04                         Display_HDD_Size:       ; CODE XREF: E_seg:8AF8j
E000:8B04 C1 E1 02                  shl   cx, 2
E000:8B07 F7 E1                     mul   cx
E000:8B09 F7 E3                     mul   bx
E000:8B0B 5B                        pop   bx
E000:8B0C 1F                        pop   ds
E000:8B0D                           assume ds:nothing
E000:8B0D B9 84 1E                  mov   cx, 1E84h
E000:8B10 F7 F1                     div   cx              ; Patch the bug!!!
E000:8B12 89 86 9C 00               mov   [bp+9Ch], ax
E000:8B16 68 00 E0                  push  0E000h
E000:8B19 68 27 8B                  push  8B27h
E000:8B1C 68 31 EC                  push  0EC31h
E000:8B1F 68 46 1C                  push  1C46h
E000:8B22 EA 30 EC 00 F0            jmp   far ptr locret_F000_EC30 ; calling Fseg procedure at F000:1C46 (sub_F000_1C3F)
Anyway, where to submit the patched BIOS when I'm done? I hope I got the time to test the BIOS this week.

TIA,

a.k.a Pinczakko
ajzchips
El cheapo dude
Posts: 3048
Joined: Sat Mar 23, 2002 12:41 pm
Location: Madrid, Spain

I suppose you can contact Rainbow about it. The patched BIOSes are hosted at his site: wims.rainbow-software.org
edwin
The Hardware Archivist
Posts: 6286
Joined: Wed Mar 20, 2002 7:11 pm
Location: Netherlands
Contact:

P2B/P3B series can die like this for no reason at all. So I hope you can indeed resurrect with just the proper bios.
edwin/evasive

Do not assume anything

System error, strike any user to continue...
KURIAKI
Moderator
Posts: 1037
Joined: Thu Nov 18, 2004 9:37 pm
Location: Cancun, Mexico

maman wrote:I've tried using the latest version of Asus P2B BIOS for this motherboard (1004.003, i.e. 1004 beta3).
Do you mean 1014b.003?
More than 100,000 BIOS strings in my database just now!
http:/ /www.kuriaki.has.it/
http:/ /www.supportbios.info
------------------------------------------
Saludos desde Cancun, Mexico
KURIAKI
maman
Master Flasher
Posts: 173
Joined: Sun Mar 31, 2002 2:08 pm
Location: Taka Bonerate National Park, Indonesia
Contact:

KURIAKI wrote: Do you mean 1014b.003?
aah.., yes. I've mistyped it above. Sorry guys :(
maman
Master Flasher
Posts: 173
Joined: Sun Mar 31, 2002 2:08 pm
Location: Taka Bonerate National Park, Indonesia
Contact:

BIOS patched and tested :D . Only upto 64GB this time though. I haven't got the time for higher capacity HDD :wink:
cberdon
New visitors - please read the rules.
Posts: 2
Joined: Sat Jul 08, 2006 8:22 pm

maman wrote:BIOS patched and tested :D . Only upto 64GB this time though. I haven't got the time for higher capacity HDD :wink:
hi maman,,.. i tried to use the asus p2b board and tried to update it but it seems.. the 1014b asus posted in their site having problem updating the bios .... can i have your patched update for asus p2b? can you send to my email? pls.... cberdon [at] gmail [dot] com
maman
Master Flasher
Posts: 173
Joined: Sun Mar 31, 2002 2:08 pm
Location: Taka Bonerate National Park, Indonesia
Contact:

cberdon wrote: hi maman,,.. i tried to use the asus p2b board and tried to update it but it seems.. the 1014b asus posted in their site having problem updating the bios .... can i have your patched update for asus p2b? can you send to my email? pls.... cberdon [at] gmail [dot] com
bios has been sent.

file is available at: http://www.megaupload.com/?d=MAFGRE5O
cberdon
New visitors - please read the rules.
Posts: 2
Joined: Sat Jul 08, 2006 8:22 pm

Thank you very much maman! I really appreciated your response to my request. Thanks for sending me the file :D
mosesk
New visitors - please read the rules.
Posts: 3
Joined: Mon Aug 21, 2006 10:19 am

cberdon wrote:Thank you very much maman! I really appreciated your response to my request. Thanks for sending me the file :D
Hi guys.

Can I get specific directions on how to flash the P2B mobo with the 1014 patch.
Do I need to create a floppy or is there another way.

My floppy drive is not working.

Thx
edwin
The Hardware Archivist
Posts: 6286
Joined: Wed Mar 20, 2002 7:11 pm
Location: Netherlands
Contact:

Either by floppy or by hotflashing the chip in another board (also from floppy...)
edwin/evasive

Do not assume anything

System error, strike any user to continue...
mosesk
New visitors - please read the rules.
Posts: 3
Joined: Mon Aug 21, 2006 10:19 am

edwin wrote:Either by floppy or by hotflashing the chip in another board (also from floppy...)
Hi.
Thanks for your reply.
Let me be more specific about my situation.
I have an ASUS P2B mobo.
I am trying to install XP onto a 40 GB hard drive
I can't get it to complete.
The current BIOS is 1012.
And unfortunately I think I have fried my floppy drive and controller.

First question I have is- is there a problem with the mobo accepting a 40 GB hard drive?

And given my floppy situation is there another way to get the 1014 BIOS.

I don't think I can flash it in another board

Thx
edwin
The Hardware Archivist
Posts: 6286
Joined: Wed Mar 20, 2002 7:11 pm
Location: Netherlands
Contact:

no there's no other way than getting it flashed by www.badflash.com or mounting a floppy controller card, disabling the onboard floppy controller (under peripheral setup) but not the A: drive in the bios.
edwin/evasive

Do not assume anything

System error, strike any user to continue...
mosesk
New visitors - please read the rules.
Posts: 3
Joined: Mon Aug 21, 2006 10:19 am

[quote="edwin"]no there's no other way than getting it flashed by www.badflash.com or mounting a floppy controller card, disabling the onboard floppy controller (under peripheral setup) but not the A: drive in the bios.[/quote

Thank you very much for your help
Post Reply