Testing image sent by mail.
Try to load XDMA 3.1 in BOCHS.
Expected effect: finding a usable controller
Observed effect: "BAD controller"
On real hardware, 4 from 5 PC's are OK, just 1 also says "BAD".
I_CtlE mov si,NEMsg ;BAAAD News! Point to error message.
I_PCEr jmp I_EOut ;Go display error message and exit.
I_GotD mov dword [NEMsg],"BAD " ;Change to "BAD controller" msg.
push bx ;Save PCI bus/device/function.
mov di,4 ;Get low-order PCI command byte.
pop bx ;Reload PCI bus/device/function.
not cl ;Mask Bus-Master and I-O Space bits.
and cl,005h ;Is this how our controller is set up?
jnz I_CtlE ;No? Display error message and exit!
Log in to post a comment.