<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Signature</TITLE>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thanks, but I forgot to mention that I need
sub-millisecond accuracy hence wanting to use the 'scope.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Probably rules out using a standard Coms driver
too.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Cheers</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> Colin</FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=rohit@cfl.co.nz href="mailto:rohit@cfl.co.nz">Rohit Gupta</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=delphi@delphi.org.nz
href="mailto:delphi@delphi.org.nz">NZ Borland Developers Group - Delphi
List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, October 10, 2008 3:53
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [DUG] Controlling PC
Hardware Ports</DIV>
<DIV><BR></DIV>The other thing to do is to log the timing (current time) to a
log file <BR><BR>Colin/Mina wrote:
<BLOCKQUOTE cite=mid:7DB4B48EFB594A57BDB4CC4FBAD2E255@colmin37b3dba3
type="cite">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR>
<STYLE></STYLE>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> 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.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> Unfortunately the old Turbo Pascal
instructions that allowed this, eg </FONT></DIV>
<DIV><FONT face=Arial size=2>
Port[$2FC] := 2)
// Set b2 of Modem
Register and </FONT></DIV>
<DIV><FONT face=Arial
size=2> Port[$2FC]
:= NOT 2) // Clear b2 of Modem
Register </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> but these don't appear
to be available in Delphi (not in D5 anyway).</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> Any solutions please?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>
Colin</FONT></DIV><BR><BR>__________ Information from ESET NOD32 Antivirus,
version of virus signature database 3509 (20081009) __________<BR><BR>The
message was checked by ESET NOD32 Antivirus.<BR><BR><A
href="http://www.eset.com"
moz-do-not-send="true">http://www.eset.com</A><BR><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <A class=moz-txt-link-abbreviated href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</A>
Admin: <A class=moz-txt-link-freetext href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</A>
Unsubscribe: send an email to <A class=moz-txt-link-abbreviated href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</A> with Subject: unsubscribe
__________ Information from ESET NOD32 Antivirus, version of virus signature database 3509 (20081009) __________
The message was checked by ESET NOD32 Antivirus.
<A class=moz-txt-link-freetext href="http://www.eset.com">http://www.eset.com</A>
</PRE></BLOCKQUOTE><BR>
<DIV class=moz-signature>-- <BR>
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<DIV align=left>
<DIV align=left><STRONG><FONT size=2><FONT face=Verdana color=#666666>Rohit
Gupta</FONT></FONT></STRONG></DIV>
<DIV align=left><STRONG><FONT size=2><FONT face=Verdana
color=#666666>B.E. Elec. M.E. Mem IEEE
Associate IEE</FONT></FONT></STRONG></DIV>
<DIV align=left><STRONG><FONT size=2><FONT face=Verdana
color=#666666>Technical Manager</FONT></FONT></STRONG></DIV>
<DIV align=left><STRONG><FONT face=Verdana color=#666666 size=2>Computer
Fanatics Limited</FONT></STRONG></DIV>
<DIV align=left><STRONG></STRONG> </DIV>
<DIV align=left><FONT face=Verdana color=#666666
size=2><STRONG>Tel</STRONG> +64 9 4892280</FONT></DIV>
<DIV align=left><FONT face=Verdana color=#666666
size=2><STRONG>Fax</STRONG> +64 9 4892290</FONT></DIV>
<DIV align=left><FONT color=#666666><FONT face=Verdana
size=2><STRONG>Email </STRONG></FONT><A
href="mailto:rohit@cfl.co.nz"><FONT face=Verdana color=#0080ff
size=2>rohit@cfl.co.nz</FONT></A></FONT><FONT color=#666666><FONT face=Verdana
size=2><STRONG></STRONG></FONT></FONT></DIV>
<DIV align=left><FONT color=#666666><FONT face=Verdana
size=2><STRONG>Web </STRONG></FONT><A
href="http://www.cfl.co.nz/"><FONT face=Verdana color=#0080ff
size=2>www.cfl.co.nz</FONT></A></FONT></DIV>
<DIV> </DIV>
<DIV>
<HR>
</DIV>
<DIV align=left><SPAN
style="FONT-SIZE: 7.5pt; COLOR: rgb(153,153,153); FONT-FAMILY: Verdana"><FONT
size=1><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><FONT
face=Verdana color=#808080 size=1>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.</FONT> <O:P></O:P></FONT></SPAN></FONT></SPAN></DIV></DIV></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>NZ Borland
Developers Group - Delphi mailing list<BR>Post: delphi@delphi.org.nz<BR>Admin:
http://delphi.org.nz/mailman/listinfo/delphi<BR>Unsubscribe: send an email to
delphi-request@delphi.org.nz with Subject:
unsubscribe</BLOCKQUOTE></BODY></HTML>