TIP: Click on subject to list as thread! ANSI
echo: delphi
to: JOHAN NAGELS
from: YVES VAN HAL
date: 1996-07-24 21:55:00
subject: Interrupts & ports?

Hello Johan,
 > I'm just a beginner with Delphi - that's probably the reason why I don't
 > know the answer to my question ;-) - but I have quite some expirience in
 > programming with Turbo Pascal. Now, for a home-made (hardware)card I
 > need to hook into an interrupt (choice between 2 -> 7) and I need to
 > access its IO-Port. Does anybody know how to do that in Delphi? (It's
 > easy in TP, but the Delphi manuals don't even mention the word
 > interrupt, as far as I can see.) Does anybody know a good book on that
 > topic?
First things first !! What version are you using ? If you are using version 
1.x, meaning plain old Windows, you can embed assembler code for that 
purpose. However, if you are using version 2, you are IMVHO unable to use 
this trick. If possible, however, you should stick to the API functions, 
since this makes your code the most portable from one version to another.
Groetjes,
Yves
--- FMail 0.92
---------------
* Origin: First there was Oracle, finally we got Delphi (2:292/8014.9)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.