win32 disassociates you from it.

You can either obtain something like ioport whihc punches through

OR

use the win api, search for async / comm (I cant remember the names now)

Colin/Mina wrote:
Hi,
I want to monitor some code to ensure that I have some timing correct. I was hoping to hook my oscilloscope to a readily available electrical signal (Such as Serial Port RTS) and to add instructions in my code to set and clear the appropriate modem port. Unfortunately the old Turbo Pascal instructions that allowed this, eg Port[$2FC] := 2) // Set b2 of Modem Register and
                Port[$2FC] := NOT 2)        // Clear b2 of Modem Register
but these don't appear to be available in Delphi (not in D5 anyway). Any solutions please? Thanks Colin


__________ Information from ESET NOD32 Antivirus, version of virus signature database 3509 (20081009) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
------------------------------------------------------------------------

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe


__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 3509 (20081009) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

--
*Rohit Gupta*
* B.E. Elec.   M.E.   Mem IEEE    Associate IEE*
*Technical Manager*
*Computer Fanatics Limited*
** *Tel* +64 9 4892280
*Fax*    +64 9 4892290
*Email  [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>**
*Web    *www.cfl.co.nz <http://www.cfl.co.nz/>

------------------------------------------------------------------------
This email and any attachments contain information, which is confidential and may be subject to legal privilege and copyright. If you are not the intended recipient, you must not use, distribute or copy this email or attachments. If you have received this in error, please notify us immediately by return email and then delete this email and any attachments.
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to