lkml.org 
[lkml]   [2001]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: DOS2linux
Camiel Vanderhoeven wrote:
>
> Did you do a normal read from memory, or did you use port-i/o?

I used the inb() function.

> you should use the latter. Of course, your card could be at 2000h in
> stead of 1000h, or at X000h for that matter.

My card is at 1000h, that's something i know for sure, because I can
probe the EISA ID at 0x1000+0xc80.

> I'm not very familiar with
> the EISA architecture, but I do know that each card can use the
> following I/O ranges:
> X000h-X0FFh; X400h-X4FFh; X800h-X8FFh; XC00-XCFF, where X is the slot
> number.

I guess you mean X0000h-X0FFF; X1000-X1FFF; ...

> There is a book on the EISA architecture available free of
> charge as a PDF file from www.mindshare.com/pdf/eisabook.pdf. Perhaps
> you'll find what you need to know from studying that. I hope this helps.

Tnx for the tip! I will check it out!

I also found this URL: http://uw7doc.sco.com/cgi-bin/man/man?eisa+D4

It comes from UnixWare 7 documentation and there they have the kind of
translation that I want to do (that is: translate INT 15h call "Read
Function" (AH=D8h, AL=01h)) to linux. As i understood there isn't
such thing available for linux? Meaning I'll have to try and
implement that stuff myself? But then the problem remains: how do i
get to the data that is in the 320 byte buffer returned from an INT
15h call "Read Function" (AH=D8h, AL=01h)


Greetzzz,
mc303

--
Ing. Bart Vandewoestyne Bart.Vandewoestyne@pandora.be
Hugo Verrieststraat 48 GSM: +32 (0)478 397 697
B-8550 Zwevegem http://users.pandora.be/vandewoestyne
----------------------------------------------------------------------
"Any fool can know, the point is to understand." - Albert Einstein
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:58    [W:0.592 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site