Forum RSS Feed Follow @ Twitter Follow On Facebook

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Latest Threads
[REQUEST] ThinkPad E15 Gen 2 - BIOS Upda...
Last Post: Ronin314Clear
Today 06:19 PM
» Replies: 0
» Views: 15
[REQUEST] Asus Zenbook (UM535QE) Bios M...
Last Post: Bravo6
Today 03:41 AM
» Replies: 0
» Views: 195
OptiPlex 360 380 760 780 960 Xeon LGA 77...
Last Post: LoFabio
Today 03:38 AM
» Replies: 265
» Views: 330627
[REQUEST] Asus G614JV BIOS Unlock
Last Post: Mrgraysky
Today 01:02 AM
» Replies: 0
» Views: 130
[REQUEST] HP Compaq nx6120 WiFi Whitelis...
Last Post: Maxinator500
Yesterday 09:24 PM
» Replies: 1
» Views: 207
[REQUEST] Acer Nitro 5 AN517-52 BIOS Unl...
Last Post: Dudu2002
Yesterday 03:50 AM
» Replies: 24
» Views: 10545
[REQUEST] Acer Nitro ANV15-51 BIOS Unloc...
Last Post: Dudu2002
Yesterday 01:14 AM
» Replies: 3
» Views: 197
[REQUEST] Lenovo Yoga S940-14IIL (BQCNxx...
Last Post: Dudu2002
07-15-2025 03:09 AM
» Replies: 1
» Views: 372
[REQUEST] Lenovo G400S (7BCNxxWW) Whitel...
Last Post: helrobsil
07-14-2025 09:10 PM
» Replies: 217
» Views: 112461
[REQUEST] Lenovo Ideapad S510p (89CNxxWW...
Last Post: Dudu2002
07-14-2025 12:04 PM
» Replies: 181
» Views: 92056
[REQUEST] GA-8I865GME-775-RH (rev. 3.9) ...
Last Post: DeathBringer
07-14-2025 01:48 AM
» Replies: 3
» Views: 635
i7 2860QM how to raise power limit?
Last Post: DeathBringer
07-13-2025 07:43 AM
» Replies: 12
» Views: 894
[REQUEST] Dell Wyse 3040: CSM enable for...
Last Post: mm400
07-13-2025 05:58 AM
» Replies: 1
» Views: 811
[REQUEST] Acer TravelMate 5760(G,Z) BIOS...
Last Post: quibic
07-12-2025 01:03 AM
» Replies: 49
» Views: 26887
Asus P8Z77-M RT-d Unlock
Last Post: cbaldwin1
07-11-2025 04:21 PM
» Replies: 0
» Views: 562
[REQUEST] Lenovo Yoga 530-14ARR (8MCNxxW...
Last Post: Dudu2002
07-11-2025 02:04 PM
» Replies: 4
» Views: 3268
[REQUEST] Gigabyte GA-X99P-SLI BIOS with...
Last Post: DKisCRUSHIN
07-11-2025 09:50 AM
» Replies: 0
» Views: 580
Acer Aspire 5920G - Requesting Modded BI...
Last Post: EbrahimSiami
07-10-2025 02:56 PM
» Replies: 1
» Views: 535
Acer A517-51G-58S5 - Complete BIOS image...
Last Post: Humboldt
07-10-2025 01:07 PM
» Replies: 2
» Views: 644
Lenovo Yoga Pro 7 14ASP9 Bios Unlock
Last Post: Dudu2002
07-10-2025 03:02 AM
» Replies: 3
» Views: 661

Bios doesn't load my option rom?
#1
I have compiled an option rom but my bios doesn't seem to see it neither to load or something. My option rom starts with $55, $aa and checksum is 0. I also have a device id, vendor id, a pcir structure and pnp structure. In my option rom I want to print some information from the bios to the screen. I don't know much asm just a copy and past work. Thank you for your help! My bios is a phoenix bios and I want to update my amd raid driver but bios is nasty to me!
find
quote
#2
(01-20-2013, 06:53 AM)Stoneage Wrote: I have compiled an option rom but my bios doesn't seem to see it neither to load or something. My option rom starts with $55, $aa and checksum is 0. I also have a device id, vendor id, a pcir structure and pnp structure. In my option rom I want to print some information from the bios to the screen. I don't know much asm just a copy and past work. Thank you for your help! My bios is a phoenix bios and I want to update my amd raid driver but bios is nasty to me!

Success! Since I'm using an amd raid rom I post my patch for the misc.bin. I disassembled the misc.bin and permantently activated the esc-key sequence. Eventually it also solves the load to misc.bin error and maybe I can debug my error again and make a better patch?

<pre>
seg000:016B loc_16B: ; CODE XREF: seg000:00BBj
seg000:016B call sub_CB0
seg000:016E mov ds:byte_5A24, 0
seg000:0173 push bx
seg000:0174 call sub_DFE
seg000:0177 pop bx
seg000:0178 nop
seg000:0179 nop
seg000:017A call sub_26C
seg000:017D call sub_1F0
seg000:0180 mov cx, 0BB8h
seg000:0183
seg000:0183 loc_183: ; CODE XREF: seg000:019Cj
seg000:0183 mov ah, 1
seg000:0185 int 16h ; KEYBOARD - CHECK BUFFER, DO NOT CLEAR
seg000:0185 ; Return: ZF clear if character in buffer
seg000:0185 ; AH = scan code, AL = character
seg000:0185 ; ZF set if no character in buffer
seg000:0187 jz short loc_199
seg000:0189 xor ah, ah
seg000:018B int 16h ; KEYBOARD - READ CHAR FROM BUFFER, WAIT IF EMPTY
seg000:018B ; Return: AH = scan code, AL = character
seg000:018D cmp ax, 2106h
seg000:0190 jz short loc_1A0
seg000:0192 cmp ax, 1519h
seg000:0195 jz short loc_1A0
seg000:0197 jmp short loc_1BD
seg000:0199 ; ---------------------------------------------------------------------------
seg000:0199
seg000:0199 loc_199: ; CODE XREF: seg000:0187j
seg000:0199 call sub_2318
seg000:019C loop loc_183
seg000:019E jmp short loc_1BD
seg000:01A0 ; ---------------------------------------------------------------------------
seg000:01A0
seg000:01A0 loc_1A0: ; CODE XREF: seg000:0190j
seg000:01A0 ; seg000:0195j
seg000:01A0 mov ds:byte_5A5B, 1
seg000:01A5 mov ds:byte_573C, 0
seg000:01AA mov ds:byte_5A22, 0
seg000:01AF call sub_27E
seg000:01B2 mov ds:byte_5A21, 3
seg000:01B7 mov dx, 8
seg000:01BA jmp loc_2ED
seg000:01BD ; ---------------------------------------------------------------------------
seg000:01BD
seg000:01BD loc_1BD: ; CODE XREF: seg000:0197j
seg000:01BD ; seg000:019Ej
seg000:01BD call sub_F67
seg000:01C0 retf
</pre>
find
quote


Forum Jump:


Users browsing this thread: 1 Guest(s)