Searching \ for '[EE]:Win 2000 and parallel port' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ios.htm?key=port
Search entire site for: 'Win 2000 and parallel port'.

Exact match. Not showing close matches.
PICList Thread
'[EE]:Win 2000 and parallel port'
2001\01\08@022129 by Nuri ERGINER

flavicon
face
Hi,
I can not control my parallel port programaticaly
after I install win 2000. I know how to program for the parallel port
I did it before but in windows 2000 it do not let me to write or read.
Waiting your help

PS:I am loging in as administrator.

Regards,
Nuri Erginer

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@022511 by Alok Dubey

flavicon
face
try using debug and see what happens
alok


{Quote hidden}

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@023131 by DAANEN Vincent

flavicon
face
I think Win2000 works like NT, you can not access to physical ports
(inportb(0x378)), but should use a Vxd file. You may find infos on msdn
online.

> -----Message d'origine-----
> De:   Alok Dubey [SMTP:adubeyspamKILLspamWIPRO.CO.IN]
> Date: lundi 8 janvier 2001 08:36
> À:  .....PICLISTKILLspamspam.....MITVMA.MIT.EDU
> Objet:        Re: [EE]:Win 2000 and parallel port
>
> try using debug and see what happens
> alok
>
>
> > {Original Message removed}

2001\01\08@023341 by Nuri ERGINER

flavicon
face
I also use debug to write to the port but nothing happened

-----Original Message-----
From: Alok Dubey [EraseMEadubeyspam_OUTspamTakeThisOuTWIPRO.CO.IN]
Sent: Monday, January 08, 2001 9:36 AM
To: PICLISTspamspam_OUTMITVMA.MIT.EDU
Subject: Re: [EE]:Win 2000 and parallel port


try using debug and see what happens
alok


{Quote hidden}

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@024211 by Roman Black

flavicon
face
Nuri ERGINER wrote:
>
> Hi,
> I can not control my parallel port programaticaly
> after I install win 2000. I know how to program for the parallel port
> I did it before but in windows 2000 it do not let me to write or read.
> Waiting your help

Many of the newer software require the par port
to be set to "enhanced" mode. This is done in
your BIOS for your motherboard. On many older
computers it may be set to "standard" mode. Mine
was! :o)
-Roman

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@024626 by Andrew E. Kalman

flavicon
face
Go to Microchip's website, find the development tools forum, and
search for PICMASTER and Win2000 / Win2k. There you'll find a thread
on some s/w that allows the use of the I/O-mapped PICMASTER ISA card
under Win2k, which was never supported by Microchip, but apparently
it works. I suspect this may also be of use to you with the parallel
port.
--

 ______________________________________
  Andrew E. Kalman, Ph.D.   RemoveMEaekTakeThisOuTspampumpkininc.com

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@034655 by Dincer Aydin

picon face
It is not possible to access hardware ports directly on win2k (aka NT 5) due to that Hardware Abstraction Layer
(HAL) thing. The easiest solution I can think of is to use something like DriverLINX Port I/O Driver for Win95 and WinNT (it is free
at http://www.sstnet.com/). Check http://www.lvr.com/ for more alternatives.

Regards,

Dincer Aydin

http://www.geocities.com/dinceraydin

1/8/2001 9:13:48 AM,         Nuri ERGINER <spamBeGonenerginerspamBeGonespamSSM.GOV.TR> wrote:

{Quote hidden}

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@034658 by Alok Dubey

flavicon
face
yup. protected mode architecture.. but i guess u ca boot to msdos mode and try. alok


{Quote hidden}

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@035248 by Alok Dubey

flavicon
face
yup the HAL is nohing but he protected mode arch of the x86 series..like the
386 ..
but are u sure it doesnt wrk even if i boot from a floppy?
alok


> {Original Message removed}

2001\01\08@035906 by Alok Dubey

flavicon
face
of the topic mebbe.. but does booting of a floppy also end up in my using
the PC in a real mode and not a protected mode?
alok

> {Original Message removed}

2001\01\08@090519 by Olin Lathrop

face picon face
> I can not control my parallel port programaticaly
> after I install win 2000. I know how to program for the parallel port
> I did it before but in windows 2000 it do not let me to write or read.
> Waiting your help

This was beaten to death very recently.  Check the archives.  You need a
kernel mode device driver.


*****************************************************************
Olin Lathrop, embedded systems consultant in Devens Massachusetts
(978) 772-3129, RemoveMEolinTakeThisOuTspamspamembedinc.com, http://www.embedinc.com

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@091738 by Herbert Graf

flavicon
face
> I can not control my parallel port programaticaly
> after I install win 2000. I know how to program for the parallel port
> I did it before but in windows 2000 it do not let me to write or read.
> Waiting your help

       That is why I have never upgraded to an NT from mickeysoft. What you have
to do is get a kernel mode driver for NT (win2k is just the newest NT). This
software will run in ring0, which is allowed to access I/O. All user
software on an NT system runs in ring3, where it is not permitted to
directly access hardware. There are solutions out there, some are free, some
are costly, I haven't tried any since I don't want to be bothered by third
party software (when you want to start selling your stuff licensing becomes
a huge hassle). Good luck. TTYL

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@091931 by Alan B. Pearce

face picon face
>I think Win2000 works like NT, you can not access to physical ports

Win2000 is WinNT5 if you like, and it does stop access to physical ports.

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@093352 by Olin Lathrop

face picon face
> I think Win2000 works like NT, you can not access to physical ports
> (inportb(0x378)),

Yes, Windows 2000 is really NT 5.

> but should use a Vxd file.

No, VxDs are for Win9x.


*****************************************************************
Olin Lathrop, embedded systems consultant in Devens Massachusetts
(978) 772-3129, EraseMEolinspamspamspamBeGoneembedinc.com, http://www.embedinc.com

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@093610 by Olin Lathrop

face picon face
> of the topic mebbe.. but does booting of a floppy also end up in my using
> the PC in a real mode and not a protected mode?

Booting is always done in real mode.  This is because it is done by the
bios, which is always in real mode.  However, once the booted program gets
control it can do anything it wants, including switching the processor to
protected mode.  This has nothing to do with whether the machine is booted
from a floppy, hard drive, or anywhere else.

So to answer your question, it depends solely on what the booted program
does.


*****************************************************************
Olin Lathrop, embedded systems consultant in Devens Massachusetts
(978) 772-3129, RemoveMEolinKILLspamspamembedinc.com, http://www.embedinc.com

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@093827 by Alok Dubey

flavicon
face
then if i can use and assembeler and set it to protected ode then no probs
right?
alok


{Quote hidden}

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@100349 by Bob Ammerman

picon face
----- Original Message -----
From: DAANEN Vincent <EraseMEVDAANENspamEraseMECHRU-LILLE.FR>
To: <@spam@PICLIST@spam@spamspam_OUTMITVMA.MIT.EDU>
Sent: Monday, January 08, 2001 2:29 AM
Subject: Re: [EE]:Win 2000 and parallel port


I think Win2000 works like NT, you can not access to physical ports
(inportb(0x378)), but should use a Vxd file. You may find infos on msdn
online.



Win2000 _IS_ WinNT 5.0

You cannot use a VxD (which is a 9x/Me concept) but rather need a WinNT
style (Windows Driver Model) device driver.

Bob Ammerman
RAm Systems
(contract development of high performance, high function, low-level
software)

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@100549 by Bob Ammerman

picon face
----- Original Message -----
From: Alok Dubey <spamBeGoneadubeyspamKILLspamWIPRO.CO.IN>
To: <.....PICLISTspam_OUTspamMITVMA.MIT.EDU>
Sent: Monday, January 08, 2001 4:02 AM
Subject: Re: [EE]:Win 2000 and parallel port


> yup the HAL is nohing but he protected mode arch of the x86 series..like
the
> 386 ..
> but are u sure it doesnt wrk even if i boot from a floppy?
> alok

If you boot a DOS floppy (or multiboot) you will be able to access the ports
normally.

Bob Ammerman
RAm Systems
(contract development of high performance, high function, low-level
software)

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@100958 by Alok Dubey

flavicon
face
thanks.. i rememeber this had worked on NT .. but i wasnt sure on 2000 cause
i moved out of windows.

i dont thnk i even need to enable the priveleged mode.. i can mess all i
want in real mode
alok


> {Original Message removed}

2001\01\08@104403 by Bob Ammerman

picon face
----- Original Message -----
From: Alok Dubey <TakeThisOuTadubey.....spamTakeThisOuTWIPRO.CO.IN>
To: <TakeThisOuTPICLISTKILLspamspamspamMITVMA.MIT.EDU>
Sent: Monday, January 08, 2001 9:48 AM
Subject: Re: [EE]:Win 2000 and parallel port


> then if i can use and assembeler and set it to protected ode then no probs
> right?
> alok

Do you mean: "If I write in assembler, with the right pseudo-ops to declare
I am writing protected mode code, can I then use I/O instructions directly
in my code".

If so, then the answer is still "NO".

Your code will still run in ring 3 where it cannot access the hardware.

Bob Ammerman
RAm Systems
(contract development of high performance, high function, low-level
software)

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@122954 by Olin Lathrop

face picon face
> > Booting is always done in real mode.  This is because it is done by the
> > bios, which is always in real mode.  However, once the booted program
gets
> > control it can do anything it wants, including switching the processor
to
> > protected mode.  This has nothing to do with whether the machine is
booted
> > from a floppy, hard drive, or anywhere else.
> >
> > So to answer your question, it depends solely on what the booted program
> > does.
> >
>
> then if i can use and assembeler and set it to protected ode then no probs
> right?

Right, if you are very fluent with the 386 instruction set, understand
exactly how to make a bootable image which switches into protected mode,
know all about the details of the PC architecture to access the various
busses and memory mapping and other "standard" hadrware, and then know how
to program all your devices.


*****************************************************************
Olin Lathrop, embedded systems consultant in Devens Massachusetts
(978) 772-3129, .....olinspamRemoveMEembedinc.com, http://www.embedinc.com

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@180857 by Nigel Goodwin

flavicon
face
In message <8074D95288C2D311AC660000F8106CC8EA7E1A@MSG1CHR>, DAANEN
Vincent <RemoveMEVDAANENspamspamBeGoneCHRU-LILLE.FR> writes
>I think Win2000 works like NT, you can not access to physical ports
>(inportb(0x378)), but should use a Vxd file. You may find infos on msdn
>online.

Win2000 is really just NT5, so you can't directly access the hardware,
you must use a driver. There's a driver you can download on my website
(either directly, or via a link to the original site), it includes
samples in C and VB.
--

Nigel.

       /--------------------------------------------------------------\
       | Nigel Goodwin   | Internet : spamBeGonenigelg@spam@spamspam_OUTlpilsley.co.uk           |
       | Lower Pilsley   | Web Page : http://www.lpilsley.co.uk       |
       | Chesterfield    | Official site for Shin Ki and New Spirit   |
       | England         |                 Ju Jitsu                   |
       \--------------------------------------------------------------/

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\08@231830 by Alok Dubey

flavicon
face
that would depend on the PL (ring) from which i execute my code..
for eg i dump a layer of code in the PL0 and then switch to protected mode
and then call this code.. using my GDTR and LDTR ptrs, i thnk i can make it
wrk

anyway.. i havent been on PC s for some time.. and assembly either,.. but i
do rememebr the arch from college days

alok


> {Original Message removed}

2001\01\14@231728 by Mike Cornelius

flavicon
face
Hi Andrew,

Thank you ever so much for this little "pointer".
I now have my picmaster working under win2k, much to my surprise and
delight.
That's one more nail in my win95 installs coffin. It means I can now do 99%
of my work in win2k.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mike Cornelius                      Internet: TakeThisOuTmikecspamspamcalldirect.com.au
Call Direct Cellular Solutions      Phone:    +61 2 99-67-75-85
Level 1 8-22 West St North Sydney   FAX:      +61 2 99-65-75-90
NSW 2060 Australia                  URL:      http://www.calldirect.com.au
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

{Original Message removed}

More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...