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
[WORKING] Asus P8Z77-V: NVMe BOOT Suppor...
Last Post: 0nlythebest
Today 08:35 PM
» Replies: 21
» Views: 22793
[REQUEST] Lenovo Thinkpad SL400 & SL500 ...
Last Post: ivan333bor
Today 04:54 PM
» Replies: 16
» Views: 6778
uefi mod for mac pro 1.1/21. support xeo...
Last Post: DeathBringer
Today 02:50 PM
» Replies: 1
» Views: 71
Asus h110m-a & xeon e3-1280v5
Last Post: DeathBringer
Today 02:48 PM
» Replies: 13
» Views: 309
[REQUEST] DNS A35FB, Pegatron A35
Last Post: Polkash51
Today 01:28 PM
» Replies: 4
» Views: 2840
[REQUEST] Lenovo ThinkPad Edge E531 (HEE...
Last Post: MANIANA18
Today 07:20 AM
» Replies: 120
» Views: 22019
ASUS R1F CPU upgrade
Last Post: DeathBringer
Today 12:22 AM
» Replies: 1
» Views: 178
[REQUEST] Lenovo IdeaPad Flex 15 (8ACNxx...
Last Post: psycomaffo
Yesterday 10:36 AM
» Replies: 69
» Views: 26131
Request for Modded BIOS with AI Tweaker ...
Last Post: CertifiedCosmos
04-17-2024 05:04 PM
» Replies: 0
» Views: 136
Lenovo ThinkCentre M71e GPU Whitelist re...
Last Post: saschalein
04-17-2024 03:23 PM
» Replies: 0
» Views: 125
[REQUEST] Lenovo Ideapad 330S-15ARR (7WC...
Last Post: nadolivbios
04-17-2024 01:26 PM
» Replies: 25
» Views: 6229
How To Add SLIC 2.1 To An Intel Motherbo...
Last Post: sanya.silitskiy
04-17-2024 11:52 AM
» Replies: 73
» Views: 220152
[REQUEST] 13w Yoga Gen 2 (Type 82YR) (KB...
Last Post: SiberianTiger97
04-17-2024 09:48 AM
» Replies: 2
» Views: 202
Acer Extensa 5620: CPU replace
Last Post: MPM
04-17-2024 08:28 AM
» Replies: 2
» Views: 192
[REQUEST] Sony Vaio VPCEH & VPCEJ series...
Last Post: nrns
04-16-2024 08:08 PM
» Replies: 232
» Views: 98818
[REQUEST] Lenovo Y70-70 (9ECNxxWW) White...
Last Post: Dudu2002
04-16-2024 02:35 PM
» Replies: 103
» Views: 24118
[REQUEST] Lenovo Yoga 2 Pro (76CNxxWW) W...
Last Post: Dudu2002
04-16-2024 07:29 AM
» Replies: 847
» Views: 324762
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
04-16-2024 07:28 AM
» Replies: 26
» Views: 1086
[REQUEST] Lenovo ThinkPad P14s 3rd Gen 1...
Last Post: Dudu2002
04-16-2024 07:26 AM
» Replies: 4
» Views: 352
Add CPU support Lenovo M715s
Last Post: pashtet440
04-16-2024 06:56 AM
» Replies: 0
» Views: 177

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)