Page 1 of 1

Direct I/O access question

PostPosted: March 22nd, 2004, 11:46 am
by wmdino
Many years ago I did a lot of programming in Turbo Pascal. Recently I have started programming in Delphi and would like to port over some of my old programs.

Turbo Pascal had a predefined array type named "Port[]" (and portw for word length) for direct access to the PC's I/O ports. I can't find an equivalent array type in my Delphi documentation. I haven't actually tried writing any code so maybe it's there and I just don't know about it.

Does anyone know if it exists or otherwise how to do direct I/O access? I'm currently using Delphi 2.0

Thanks in advance,
- Bill