logo       

help with CMOS ports: msg#00060

emulators.bochs.devel

Subject: help with CMOS ports

Can anyone help explain what's going on here? I'm trying to
get a very old O/S to load and I think it's looking for
some specialized I/O device, but I'm not certain.

Here's the trace from bochsdbg of the section I'm
unsure about. Any input would be appreciated.

Thanks.
-Shane

03A0-03AF ---- 1st SDLC (Binary Synchronous Data Link Control adapter)
[1434342] [0x00101bb2] 0a30:1bb2: mov DX, 03af ; baaf03
[1434343] [0x00101bb5] 0a30:1bb5: mov AL, 00 ; b000
[1434344] [0x00101bb7] 0a30:1bb7: out DX, AL ; ee

[1434345] [0x00101bb8] 0a30:1bb8: nop ; 90
[1434346] [0x00101bb9] 0a30:1bb9: nop ; 90

03A3 r/w on board 8255 mode register
[1434347] [0x00101bba] 0a30:1bba: mov DX, 03a3 ; baa303
[1434348] [0x00101bbd] 0a30:1bbd: mov AL, 98 ; b098
[1434349] [0x00101bbf] 0a30:1bbf: out DX, AL ; ee

03A1 r/w on board 8255 port B, external modem interface
[1434350] [0x00101bc0] 0a30:1bc0: mov DX, 03a1 ; baa103
[1434351] [0x00101bc3] 0a30:1bc3: mov AL, 17 ; b017
[1434352] [0x00101bc5] 0a30:1bc5: out DX, AL ; ee

some sort of busy loop? sleep? wait?
[1434353] [0x00101bc6] 0a30:1bc6: call 1bd4 ; e80b00
[1434354] [0x00101bd4] 0a30:1bd4: mov AX, ffff ; b8ffff
[1434355] [0x00101bd7] 0a30:1bd7: sub AX, 0001 ; 2d0100
[1434356] [0x00101bda] 0a30:1bda: jnz 1cd7 ; 75fb
::: repeats until
[1696515] [0x00101bd7] 0a30:1bd7: sub AX, 0001 ; 2d0100
[1696516] [0x00101bda] 0a30:1bda: jnz 1cd7 ; 75fb
[1696517] [0x00101bdc] 0a30:1bdc: ret_near ; c3

03A1 r/w on board 8255 port B, external modem interface
[1696518] [0x00101bf4] 0a30:1bf4: mov AL, 07 ; b007
[1696519] [0x00101bf6] 0a30:1bf6: out DX, AL ; ee
[1696520] [0x00101bf7] 0a30:1bf7: out DX, AL ; ee

[1696521] [0x00101bf8] 0a30:1bf8: mov DX, 0382 ; ba8203
[1696522] [0x00101bfb] 0a30:1bfb: mov AL, 0c ; b00c
[1696523] [0x00101bfd] 0a30:1bfd: out DX, AL ; ee
[1696524] [0x00101bfe] 0a30:1bfe: ret_near ; c3

[1696525] [0x00101b8d] 0a30:1b8d: mov AX, 0a38 ; b8380a
[1696526] [0x00101b90] 0a30:1b90: mov DS, AX ; 8ed8

[1696527] [0x00101b92] 0a30:1b92: call 0ad8:0630 ; 9a3006d80a
[1696528] [0x00117880] 0ad8:0630: enter 0008, 00 ; c8080000
[1696529] [0x00117884] 0ad8:0634: les SI, DS:2f5c ; c4365c2f
[1696530] [0x00117888] 0ad8:0638: cmp ES:[SI+01fd], fc ; 2680bcfd01fc

suspicious?
[1696531] [0x0011788e] 0ad8:063e: jz 0643 ; 7403
[1696532] [0x00117890] 0ad8:0640: jmp 06bb ; e97800
[1696533] [0x0011790b] 0ad8:06bb: leave ; c9
[1696534] [0x0011790c] 0ad8:06bc: ret_far ; cb

reset the computer?
[1696535] [0x00101b97] 0a30:1b97: mov AL, fe ; b0fe
[1696536] [0x00101b99] 0a30:1b99: out 64, AL ; e664




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise