Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Archee/CoNTRACT <01dsolt AT vpg DOT hu>, djgpp AT delorie DOT com Date: Thu, 14 May 1998 14:20:14 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: OUT in protected mode. In-reply-to: Precedence: bulk Archee/CoNTRACT <01dsolt AT vpg DOT hu> wrote: > In many causes under win95 or linux you cannot acces the I/O because it > will cause protection fault. > > How can I disable this protection ? 1) Running your code in ring 0. 2) Asking permission for these ports. 1) Is normally hard or even impossible. Under Windows the VxD modules run in ring 0 (of course the OS does it too). So you must write a VxD. I don't know much about Linux, but I guess the kernel is in ring 0 so you must use a module (Linux can load modules to add functionallities). 2) I think both have some way to make it, but don't ask me how. SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013