Re: [CAD_CAM_EDM_DRO] Re: parallel port
Posted by
JanRwl@A...
on 2004-05-19 23:29:29 UTC
In a message dated 5/20/2004 12:44:48 AM Central Standard Time,
fredit@... writes:
Which leads into my next question sorta dealing with XP, how can I toggle a
pin high or low logic?
Fred: I understand only from reading comments over the last several years
on-line that Windows-anything doesn't like to control the bits of LPT-1 except
via formal "normal" PRINT routines. I am NOT much of a machine-code whiz, but
I CAN tell you this:
If you load/use a copy of GWBASIC, a "DOS application", in a BASIC program,
or "direct on-screen command", you can OUT 888, nn - where 888 is the decimal
address of the printer-port data-byte, pins 2-9. You can also OUT 890,nn - but
not all 255 possibilities--only four bits of the eight are "brought out", and
I forget what they are at the moment and am much too lazy to go look. But as
I recall, they are NOT sequential bits. I think pin-1 is one of these.
You can also INP(889), and there are four bits which act as INPuts, and they
are NOT the same four bits, nor are they sequential. Also, one of these
four is "inverted". That is, a LO input to bit-7, as I recall, will cause a 128
to appear in byte 889, while the other three are not inverted.
Here is a link which is source of MUCH more useful info in this regard.
The PC's Parallel Port
Whatever you do, don't let the smoke out of the printer port! Jan
Rowland
[Non-text portions of this message have been removed]
fredit@... writes:
Which leads into my next question sorta dealing with XP, how can I toggle a
pin high or low logic?
Fred: I understand only from reading comments over the last several years
on-line that Windows-anything doesn't like to control the bits of LPT-1 except
via formal "normal" PRINT routines. I am NOT much of a machine-code whiz, but
I CAN tell you this:
If you load/use a copy of GWBASIC, a "DOS application", in a BASIC program,
or "direct on-screen command", you can OUT 888, nn - where 888 is the decimal
address of the printer-port data-byte, pins 2-9. You can also OUT 890,nn - but
not all 255 possibilities--only four bits of the eight are "brought out", and
I forget what they are at the moment and am much too lazy to go look. But as
I recall, they are NOT sequential bits. I think pin-1 is one of these.
You can also INP(889), and there are four bits which act as INPuts, and they
are NOT the same four bits, nor are they sequential. Also, one of these
four is "inverted". That is, a LO input to bit-7, as I recall, will cause a 128
to appear in byte 889, while the other three are not inverted.
Here is a link which is source of MUCH more useful info in this regard.
The PC's Parallel Port
Whatever you do, don't let the smoke out of the printer port! Jan
Rowland
[Non-text portions of this message have been removed]
Discussion Thread
Trend
2004-05-19 20:56:19 UTC
parallel port
campgems
2004-05-19 21:56:58 UTC
Re: parallel port
Trend
2004-05-19 22:35:28 UTC
Re: [CAD_CAM_EDM_DRO] Re: parallel port
JanRwl@A...
2004-05-19 23:13:16 UTC
Re: [CAD_CAM_EDM_DRO] parallel port
JanRwl@A...
2004-05-19 23:14:45 UTC
Re: [CAD_CAM_EDM_DRO] Re: parallel port
JanRwl@A...
2004-05-19 23:29:29 UTC
Re: [CAD_CAM_EDM_DRO] Re: parallel port
JanRwl@A...
2004-05-19 23:51:18 UTC
Re: [CAD_CAM_EDM_DRO] Re: parallel port
Scott Ellis
2004-05-20 00:01:04 UTC
Re: [CAD_CAM_EDM_DRO] Re: parallel port
Hugh Prescott
2004-05-20 06:41:45 UTC
Re: [CAD_CAM_EDM_DRO] parallel port
wwwmrf
2004-05-20 06:41:46 UTC
Re: parallel port
turbulatordude
2004-05-20 06:52:10 UTC
Re: parallel port - TCNC
mayfieldtm
2004-05-20 07:45:48 UTC
Re: parallel port
D Cranston
2004-05-20 08:12:32 UTC
RE: [CAD_CAM_EDM_DRO] Re: parallel port
Lester Caine
2004-05-20 08:22:13 UTC
Re: [CAD_CAM_EDM_DRO] parallel port
jm_fong
2004-05-20 09:10:40 UTC
Re: parallel port
jm_fong
2004-05-20 09:15:26 UTC
Re: parallel port
jm_fong
2004-05-20 09:30:52 UTC
Re: parallel port
Jon Elson
2004-05-20 10:35:15 UTC
Re: [CAD_CAM_EDM_DRO] Re: parallel port
Jon Elson
2004-05-20 10:38:48 UTC
Re: [CAD_CAM_EDM_DRO] parallel port
Alan Marconett
2004-05-20 11:42:45 UTC
Re: [CAD_CAM_EDM_DRO] Re: parallel port
Lester Caine
2004-05-20 11:44:12 UTC
Re: [CAD_CAM_EDM_DRO] parallel port
Alan Marconett
2004-05-20 11:55:37 UTC
Re: [CAD_CAM_EDM_DRO] parallel port
Paul Davis
2004-05-20 11:56:46 UTC
Re: [CAD_CAM_EDM_DRO] parallel port
JanRwl@A...
2004-05-20 13:03:47 UTC
Re: [CAD_CAM_EDM_DRO] parallel port
JanRwl@A...
2004-05-20 13:15:02 UTC
Re: [CAD_CAM_EDM_DRO] Re: parallel port
JanRwl@A...
2004-05-20 13:41:50 UTC
Re: [CAD_CAM_EDM_DRO] Re: parallel port
JanRwl@A...
2004-05-20 13:51:22 UTC
Re: [CAD_CAM_EDM_DRO] parallel port
JanRwl@A...
2004-05-20 14:00:27 UTC
Re: [CAD_CAM_EDM_DRO] parallel port
Alan Marconett
2004-05-20 14:43:01 UTC
Re: [CAD_CAM_EDM_DRO] Re: parallel port
Alan Marconett
2004-05-20 15:25:07 UTC
RE: I/O CODE was: [CAD_CAM_EDM_DRO] parallel port
JanRwl@A...
2004-05-20 21:00:33 UTC
Re: I/O CODE was: [CAD_CAM_EDM_DRO] parallel port
Raymond Heckert
2004-05-21 07:41:07 UTC
Re: [CAD_CAM_EDM_DRO] Re: parallel port
Alan Marconett
2004-05-21 09:26:44 UTC
Re: I/O CODE was: [CAD_CAM_EDM_DRO] parallel port
Trend
2004-05-21 20:16:06 UTC
Re: [CAD_CAM_EDM_DRO] Re: parallel port
Trend
2004-05-21 21:21:59 UTC
Re: [CAD_CAM_EDM_DRO] Re: parallel port
Trend
2004-05-21 22:19:11 UTC
Re: [CAD_CAM_EDM_DRO] Re: parallel port
Jon Elson
2004-05-22 20:45:45 UTC
Re: [CAD_CAM_EDM_DRO] Re: parallel port
Trend
2004-05-23 00:10:26 UTC
Re: [CAD_CAM_EDM_DRO] Re: parallel port
turbulatordude
2004-05-23 00:43:14 UTC
Re: parallel port - assigning ID's
jmkasunich
2004-05-24 06:24:01 UTC
Re: parallel port