If u dont want to use WPCREDIT u can built isa rom and embended it into biosfilewith cbrom... build a rom with:
Code:
header: 55 AA ; Boot Able rom
jmp init ; jump to code intialization
retf ; return far to system bios file
INIT
pushad
push eax
push edx
mov eax,0x80002184; eax=Bus0Dev2Func1,Offset 84,85,86,87
mov dx,0cf8 ; set dx as adress port
out dx,eax ; send the address to IO Space throgh dx port
mov dx,0cfc ; set dx as data port
in eax,dx ;Receive the data into eax for the address we sent through dx port
and eax,XXXXXX ; Change the data
or eax,XXXXXX ; Change the data
out eax,dx ; Send back the modded data through dx port
pop edx,
pop eax
popad
ret ; return to header
last bit; use 8 bit checksum
Bookmarks