delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/14/16:47:37

Message-Id: <m0ya1XM-000S3KC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
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
Subject: Re: OUT in protected mode.
In-reply-to: <Pine.LNX.3.96.980514175031.607A-100000@Vpg01.vpg.hu>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019