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] Acer Aspire E1-571(G) BIOS Unl...
Last Post: Dudu2002
Today 04:44 PM
» Replies: 127
» Views: 57857
Acer Predator Helios 300 N17C1 G3-572-79...
Last Post: chadreuel
Today 11:39 AM
» Replies: 0
» Views: 76
[REQUEST] Acer Nitro 5 AN515-56 BIOS Unl...
Last Post: Dudu2002
Today 07:25 AM
» Replies: 5
» Views: 880
[REQUEST] Lenovo Y50-70 (9ECNxxWW) BIOS ...
Last Post: Dudu2002
Today 03:52 AM
» Replies: 1972
» Views: 661532
[Request] Acer Aspire Z1620 (h61h aio v1...
Last Post: spingernexx
Yesterday 06:09 PM
» Replies: 2
» Views: 144
[REQUEST] Lenovo G505 (82CNxxWW) Whiteli...
Last Post: khaos
Yesterday 04:15 PM
» Replies: 155
» Views: 55188
Asus Prime b250m plus, RAM compatibility
Last Post: Slayery777
Yesterday 06:23 AM
» Replies: 0
» Views: 142
[REQUEST] Bios Unlock Request Clevo W230...
Last Post: happycrazyman
04-23-2024 03:53 PM
» Replies: 0
» Views: 117
Rog Strix B650E-F BIOS File Extraction
Last Post: panmetrix24
04-23-2024 11:25 AM
» Replies: 0
» Views: 135
[REQUEST] Lenovo G50-70 (9ACNxxWW) White...
Last Post: Pipo89
04-23-2024 06:47 AM
» Replies: 236
» Views: 69630
[REQUEST] Acer Nitro 5 AN517-41 BIOS Unl...
Last Post: onetapxdf
04-23-2024 03:37 AM
» Replies: 11
» Views: 1361
[REQUEST] Lenovo G400S (7BCNxxWW) Whitel...
Last Post: Dudu2002
04-23-2024 03:14 AM
» Replies: 203
» Views: 70601
[REQUEST] Lenovo V570(c) (44CNxxWW) BIOS...
Last Post: d3m3n7r
04-22-2024 05:20 PM
» Replies: 18
» Views: 11182
[REQUEST] Lenovo Y520-15IKBN (4KCNxxWW) ...
Last Post: ati90
04-22-2024 05:02 AM
» Replies: 64
» Views: 37014
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: SteamTug
04-22-2024 04:24 AM
» Replies: 1734
» Views: 545709
[REQUEST] Lenovo G410 (79CNxxWW) Whiteli...
Last Post: Dudu2002
04-22-2024 03:58 AM
» Replies: 53
» Views: 10804
Asus h110m-a & xeon e3-1280v5
Last Post: Brutoloco
04-21-2024 08:22 PM
» Replies: 16
» Views: 573
[REQUEST] LG GRAM 14T990 Unlock request
Last Post: riclausk
04-21-2024 12:15 PM
» Replies: 16
» Views: 4265
[REQUEST] SLIC 2.1 for ASRock 880GM-LE F...
Last Post: amijim
04-21-2024 10:27 AM
» Replies: 2
» Views: 138
[REQUEST] Dell Alienware 15 R3 BIOS Unlo...
Last Post: jason.exe
04-21-2024 03:44 AM
» Replies: 1
» Views: 190

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)