Can i access external devices?

Posted on 1998-09-10
Medium Priority
Last Modified: 2010-04-06
Can i access external devices , with a particular address OxFFFF, for example using inport and outport command like in C++?

Can i access the registry AX,BX,CX,DX ?

Can i intercept the interupt controller using Delphi?

Where can i find this sort of resources so that i can do some revision???

and Lastly, sorie for the low point b'cos i am new member to this group.

Question by:pixar091098
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 10

Accepted Solution

viktornet earned 40 total points
ID: 1339360
You can use assembler for that......
//Read from port
function ReadPortB( wPort : Word ) : Byte;
    mov dx, wPort
    in al, dx
    mov result, al
//Write to port
procedure WritePortB( wPort : Word; bValue : Byte );
    mov dx, wPort
    mov al, bValue
    out dx, al

Viktor Ivanov

Expert Comment

ID: 1339361
Viktor's solution will only work in Win95/Win311. Not in NT and I don't know about Win98.
The best way to solve all your questions is either to, write a kernel mode driver or, use a generic kernel mode driver such as WinRT.

/// John

LVL 10

Expert Comment

ID: 1339362
Yes, John is right. It won't work on NT and I'm not sure about win98....I still got win95

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question