Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Andy Neil
12/12/05 16:16
Read: 830 times
Basingstoke
Uk


 
#105099 - NT - not quite
Responding to: Charles Bannister's previous message
Charles Bannister said:
The evolution of the inp and out function have been extended to visual basic. See this web site for a solution. http://www.logix4u.net/inpout32.htm

This looks like a jolly useful utility for all those people wanting to control the PC Parallel port, directly-access the PC's UART registers, etc, from NT-based Windows versions (NT, 2000, XP,...)

However, I don't think the description of the problem is quite right:
Logix4u.net said:
Whenever the operating system find that a user mode program is trying to execute such instructions [IN, OUT] the operating system stops execution of those programs and will display an error message.

The OS will not (necessarily) just crash the application:
The application is actually running in a Virtual machine; so these IN and OUT instructions are "trapped", and handled by the OS in software.
This is why so many such applications fail on NT-based systems - because this software emulation completely destroys the timing.

Thus the problem is not (always) that IN and OUT simply cannot be used; rather, that they no longer directly access the hardware and therefore the timing is nothing like it was for direct access.


List of 33 messages in thread
TopicAuthorDate
Add on card programming      Suresh R      12/07/05 03:11      
   please clarify      Jan Waclawek      12/07/05 03:35      
      RE: please clarify      Suresh R      12/07/05 04:35      
         (E)ISA addressing      Jan Waclawek      12/07/05 04:48      
            IOW and IOR      Suresh R      12/08/05 04:52      
               not explicitly      Jan Waclawek      12/08/05 06:02      
                  IRQ in EISA slot      Suresh R      12/09/05 01:05      
                     interrupt      Jan Waclawek      12/09/05 02:21      
                        QBASIC programming      Valentin Angelovski      12/09/05 04:53      
                           reply      Suresh R      12/10/05 04:10      
                              DIP Switch Address Setting in EISA card      Suresh R      12/12/05 03:10      
                                 DIP switches...      Valentin Angelovski      12/12/05 03:55      
                                    card design enclosed      Suresh R      12/13/05 02:10      
                                       comparator      Jan Waclawek      12/13/05 02:30      
                           QBASIC live and well.      Charles Bannister      12/12/05 11:12      
                              NT - not quite      Andy Neil      12/12/05 16:16      
                                 timing in Win?      Jan Waclawek      12/12/05 16:21      
                              QBasic Lives!!!      Valentin Angelovski      12/12/05 17:24      
   refer to 'Barry B Brey'      Abhishek Singh      12/07/05 07:39      
   EISA Bus interfacing      Valentin Angelovski      12/08/05 15:54      
      beware if (E)ISA bus books      Erik Malund      12/09/05 08:11      
   Try this?      Andy Neil      12/14/05 15:16      
      Power resistor selection      Suresh R      12/16/05 04:52      
         dont do it      Erik Malund      12/16/05 06:39      
            LM317 is an option      Abhishek Singh      12/16/05 07:46      
               Wasteful!      Andy Neil      12/16/05 09:34      
                  if op can...........      Abhishek Singh      12/17/05 07:16      
                     Power!      Andy Neil      12/17/05 08:27      
         basic Ohm's law      Andy Neil      12/16/05 09:40      
            Trouble shoot      Suresh R      12/19/05 05:13      
               heating      Terry Lingle      12/19/05 07:08      
                  Reply : Heating      Suresh R      12/20/05 04:29      
                     if you refer to D4 then      Erik Malund      12/20/05 06:12      

Back to Subject List