·Î±×ÀÎ £ü ȸ¿øµî·Ï £ü ³»±Û £ü Àå¹Ù±¸´Ï £ü ÁÖ¹®Á¶È¸ £ü ÇöÀçÁ¢¼ÓÀÚ
 »óǰ °Ë»ö








 °Ô½ÃÆÇ °Ë»ö





 
 
ȸ¿øµî·Ï £ü ºñ¹øºÐ½Ç


¿Â¶óÀÎ ÀԱݰèÁÂ
¤ý±â¾÷ÀºÇà
¤ý219-043192-01-028
¤ýÀ̰ǿµ

      °Å·¡ÀºÇà ¹Ù·Î°¡±â
 
 Sensor Applications
¼¾¼­ ÀÚ·á½Ç
¤ýÀÛ¼ºÀÚ leeky        
¤ýÀÛ¼ºÀÏ 2007/11/12
¤ý÷ºÎ#1 UserPort.zip (29KB) (Down:77)
¤ý÷ºÎ#2 userport_win_shot.jpg (32KB) (Down:78)
¤ýLink#1 (Down:42)
¤ýÃßõ: 0  ¤ýÁ¶È¸: 860   
  UserPort for Windows 2000

¿ä¾à
UserPort.SYS is a kernel mode driver for Windows NT/2000 that gives usermode programs access to I/O Ports.
This makes it possible to access hardware directly from a normal executable
in the same way as under Windows 95/98/ME.
This driver does not work on Windows 95/98/ME and there is really no need to run it
anyway because I/O ports are always granted to usermode programs on these operating systems.

The driver can be used for the following purposes:
¡¤ To run software on Windows NT/2000 that normally only runs on Windows 95/98/ME.
¡¤ To easily access hardware like the parallel port and other I/O ports.
So what¡¯s the drawbacks with this wonderful software?
Microsoft has for security reasons prohibited usermode
access to I/O ports. Opening up I/O ports creates a big security hole in your system.

You should therefore carefully set the grant lists to only give usermode access to the specific I/O ports you need.
The default values opens up a wide range of I/O ports and you should narrow it down.
If you are writing your own software you should only grant access through the file ¡°.UserPort¡±.
Access is then given to your program when you open the file ¡°.UserPort¡±.
Other programs that don¡¯t open ¡°.UserPort¡± will not have access to these I/O ports.

¼³Ä¡
The driver can be installed in the following two ways: 
Copy UserPort.SYS to %WINDIR%SYSTEM32DRIVERS
Start UserPort.EXE and add the addresses you want and remove the others and clock on start. 
Run UserPort.EXE with the driver filename and path as an argument

¿¹Á¦1
run UserPort.EXE X:YOURDIRUserPort.SYS
Add the addresses you want and remove the others and clock on start.
You should now have usermode access to the addresses you have chosen.

¿¹Á¦2
Port instructions are not included in development environments (such as Visual C++ and Delphi)
because direct I/O access isn¡¯t allowed by the operating system.
You will therefore need to include a portion of assembler code into your software
in order to access your hardware, see Figure 2, 3 and 4.

 
±×¸²¼³¸í
shows how simple it now is to access hardware from a usermode program.
The UserPort package should contain the files IOPort.c,
IOPort.h and IOPort.pas to be when developing C, C++ and Delphi programs.

±â¼ú¿ä¾à
The driver gives user mode program access to selected ports
by changing the x86-processors IOPM (I/O Permission Map).

Figure 1 shows how the driver works.
For a detailed description on the TSS see Intel proccessor handbooks. 
 
 
The original size of the TSS is 0x20ab and the driver extends it to 0x2135.
The default IOPM offset is 0x20ad and this value is rewritten
by the OS on every task switch. The IOPM offset must therefore be changed
with the undocumented function Ke386IoSetAccessProcess, which sets the IOPM offset to 0x88.

The AllProcessesIOPM is written to 0x20ad because this is the default IOPM offset
for all processes and the ThroughCreateFileIOPM is written to 0x88
because the Ke386IoSetAccessProcess function sets the IOPM offset to 0x88.
The Ke386IoSetAccessProcess function is called when a user mode program opens the file ¡°.UserPort¡±.

The driver loads the two IOPM:s from:
HKEY_LOCAL_MACHINESoftwareUserPortAllProcessesIOPM
HKEY_LOCAL_MACHINESoftwareUserPortThroughCreateFileIOPM
It will use default values below if these doesn't exist.

This driver is influenced and inspired by an article written by Dale Roberts 8/30/95,
published in May 96 Dr Dobbs Journal,
¹Ù·Î°¡±â: http://www.ddj.com/

AVRTOOLS¢â
   
À­±Û AT89C2051°ú EM4095¸¦ »ç¿ëÇÑ RFID ÀåÄ¡ÀÇ Á¦ÀÛ
¾Æ·¡±Û ¾Æ³¯·Î±× PID Á¦¾î ȸ·Î
    N         Á¦¸ñ    ±Û¾´ÀÌ ÀÛ¼ºÀÏ Á¶È¸ Ãßõ
74 AT89C2051°ú EM4095¸¦ »ç¿ëÇÑ RFID ÀåÄ¡ÀÇ Á¦ÀÛ leeky 2006/12/31 (ÀÏ) 1231 0
73 UserPort for Windows 2000 leeky 2007/11/12 (¿ù) 860 0
72 ¾Æ³¯·Î±× PID Á¦¾î ȸ·Î leeky 2007/11/12 (¿ù) 1445 0
71 Windows Scope 2K4 leeky 2007/11/12 (¿ù) 992 0
70 12C508 ±Ý¼Ó°ËÃâ±â leeky 2006/02/24 (±Ý) 1155 0
69 16C84 LCDÇ¥½Ã L,C ¸ÞÅÍ leeky 2006/02/25 (Åä) 1199 2
68 89C2051 LCDÇ¥½Ã LC¸ÞÅÍÀÇ Á¦ÀÛ leeky 2006/02/14 (È­) 1220 8
67 12C508A ÃÊÀ½ÆÄ °Å¸® ÃøÁ¤±â avrtools 2006/02/23 (¸ñ) 1095 0
66 Caliper to computer (RS-232) interface leeky 2006/02/23 (¸ñ) 1126 4
65 °¡¼Óµµ¼¾¼­ ADXL202ÀÇ PIC12C508 ÀÎÅÍÆäÀ̽º leeky 2006/02/20 (¿ù) 1085 2
64 16F84 ±¤ÇÐ½Ä ½É¹ÚÃøÁ¤±â leeky 2006/02/27 (¿ù) 1163 6
63 12C508 ÀüÀÚ ³ªÄ§ÆÇ leeky 2006/02/27 (¿ù) 759 0
62 ENC28J60 Ethernet to SPI Header Board leeky 2007/03/26 (¿ù) 1029 0
61 SHT11 ½Àµµ¼¾¼­ 8051 ÀÎÅÍÆäÀ̽º leeky 2006/02/14 (È­) 1084 0
60 SHT11 ½Àµµ¼¾¼­ SX18 ÀÎÅÍÆäÀ̽º leeky 2006/03/16 (¸ñ) 729 2
59 SRF04 ÃÊÀ½ÆÄ °Å¸®¼¾¼­ÀÇ Á¦ÀÛ leeky 2006/02/25 (Åä) 773 0
58 Ambient Light Sensors TSL2550 avrtools 2006/04/06 (¸ñ) 756 0
57 PIC16F877A BioSense Physiologic Sensing leeky 2006/04/06 (¸ñ) 652 0
56 Electrocardiogram (ECG) Front End leeky 2006/04/06 (¸ñ) 719 0
55 Biometric Interface Board leeky 2006/04/06 (¸ñ) 838 0
54 MAX2242 802.11b ºí·çÅõ½º RFÁõÆø±â leeky 2006/04/06 (¸ñ) 534 0
53 AX.25 9600BPS ¹«¼±¸ðµ© L2PCX leeky 2006/04/06 (¸ñ) 425 0
52 TCS230 »ö»ó°ËÃâ Æò°¡Å°Æ® leeky 2006/04/06 (¸ñ) 1707 0
51 100V10A 50W ÀüÀÚºÎÇÏ leeky 2006/04/06 (¸ñ) 619 0
50 FLAME SENSOR UVTRON R2868 leeky 2006/04/06 (¸ñ) 605 0
49 Compact Optical Image Scanner leeky 2006/04/06 (¸ñ) 543 0
48 ÁöÀڱ⠹æÀ§°è ¸ðµâ CMPS03 leeky 2006/04/06 (¸ñ) 701 0
47 0~1.5KV Á¤Àü±â ÃøÁ¤¼¾¼­ PKE05A1 leeky 2006/04/06 (¸ñ) 382 0
46 Rain Sensor ÀÎÅÍÆäÀ̽º ȸ·Î leeky 2006/04/06 (¸ñ) 611 0
45 ÃÊÀ½ÆÄ °¨Áö ¼¾¼­ leeky 2006/04/06 (¸ñ) 616 0
44 HUMIDITY SENSOR HS-1100 leeky 2006/04/06 (¸ñ) 483 0
43 Relative Humidity Sensor KSH01, KSH-02 leeky 2006/04/06 (¸ñ) 371 0
42 Digital Radar Speedometer leeky 2006/04/06 (¸ñ) 539 0
41 Touch Sensitive Switch leeky 2006/04/06 (¸ñ) 580 0
40 Economy radar detector leeky 2006/04/06 (¸ñ) 415 0
39 Twin Loop metal detector leeky 2006/04/06 (¸ñ) 548 0
38 Proximity Detector CS209A/D leeky 2006/04/06 (¸ñ) 539 0
37 Lego Sound Sensor leeky 2006/04/06 (¸ñ) 487 0
36 12C508 IR Proximity Detector leeky 2006/04/06 (¸ñ) 701 0
35 Sharp IR Sensor Hack leeky 2006/04/06 (¸ñ) 673 0
34 TIL300 PRECISION LINEAR OPTOCOUPLER leeky 2006/04/06 (¸ñ) 428 0
33 Analog Opto Isolator leeky 2006/04/06 (¸ñ) 473 0
32 Rich Caudle's capaciflector leeky 2006/04/06 (¸ñ) 317 0
31 Geiger Tube leeky 2006/04/06 (¸ñ) 425 0
30 Lynxmotion Infrared Proximity Detector leeky 2006/04/06 (¸ñ) 403 0
29 Low Power LED Flasher leeky 2006/04/06 (¸ñ) 479 0
28 ¹é»ö LED BLU ±¸µ¿È¸·Î leeky 2006/04/06 (¸ñ) 513 0
27 ÀúÀü¾Ð ¹é»ö LED ±¸µ¿È¸·Î leeky 2006/04/06 (¸ñ) 548 0
26 IR LED ¼Û½Åȸ·Î avrtools 2006/04/06 (¸ñ) 563 0
25 LED Ãѹæ»ç ±¤·®ÀÇ ÃøÁ¤ leeky 2006/04/06 (¸ñ) 445 0
24 Àڿܼ± ÃøÁ¤¼¾¼­ÀÇ ±³Á¤ leeky 2006/04/06 (¸ñ) 399 0
23 UV¼¾¼­ S9050ÀÇ µ¥ÀÌÅÍ leeky 2006/04/06 (¸ñ) 313 0
22 µðÁöÅÐ Àڿܼ± ¸ÞÅÍ leeky 2006/04/06 (¸ñ) 362 0
21 Simple Metal Detector leeky 2006/04/06 (¸ñ) 551 0
20 DS1820 ¿Âµµ¼¾¼­ Àбâ leeky 2006/04/04 (È­) 622 0
19 RC5 Àû¿Ü¼± ¸®¸ðÄÜÀÇ ½Åȣó¸® leeky 2006/02/17 (±Ý) 702 0
18 NEC Àû¿Ü¼± ¸®¸ðÄÜÀÇ Àü¼Û±Ô°Ý leeky 2006/02/17 (±Ý) 614 0
17 MBI-6001 TRANSLESS LED DRIVER leeky 2006/02/14 (È­) 430 0
16 PC·Î Á¦¾îÇÏ´Â AD9850 DDS ½ÅÈ£¹ß»ý±â leeky 2006/02/14 (È­) 474 0
15 2400 Mhz test oscillator leeky 2006/02/14 (È­) 497 0
14 DC BRUSHLESS FANS leeky 2006/02/14 (È­) 581 0
13 RF mW Meter for SHF (2300MHz) leeky 2006/02/14 (È­) 409 0
12 FET·Î ¸¸µå´Â 400W SSR leeky 2006/02/14 (È­) 642 0
11 Scope2k4 ¼ÒÇÁÆ®¿þ¾î ¹× Çϵå¿þ¾î ȸ·Î leeky 2006/02/14 (È­) 768 0
10 LTC1298¸¦ »ç¿ëÇÑ PC º´·ÄÆ÷Æ®¿ë ADC leeky 2006/02/14 (È­) 432 0
9 0~14V °¡º¯Á¤Àü¾Ð, 0~2A °¡º¯Á¤Àü·ù Àü¿ø avrtools 2006/02/14 (È­) 558 0
8 ATV 1240-1300MHz Æ©³Ê¿ë PLL leeky 2006/02/14 (È­) 309 0
7 1 Transistor FM Microphone leeky 2006/02/14 (È­) 363 0
6 Helical Antenna Design Software leeky 2006/02/13 (¿ù) 468 0
5 IRF510À» »ç¿ëÇÑ 7MHz Ãâ·Â10W ÁõÆø±â, PLL leeky 2006/02/13 (¿ù) 539 0
4 MC34063A ¼³°è¿ë °è»ê±â avrtools 2006/02/13 (¿ù) 501 0
3 RS232 ½ÅÈ£ º¯È¯È¸·Î leeky 2006/02/13 (¿ù) 652 0
2 Sound card based multimeter Scope leeky 2006/02/13 (¿ù) 787 0
1 2400MHz Helical Antenna Design leeky 2006/02/08 (¼ö) 437 0
1

¹Ù±¸´Ï : 0
 º¸°üÇÔ : 0
¿À´Ãºä : 0
HOME   £ü   ȸ»ç¼Ò°³   £ü   Á¦È޾ȳ»   £ü   ȸ»çÀ§Ä¡   £ü   ¼­ºñ½ºÀÌ¿ë ¾à°ü   £ü   °³ÀÎÁ¤º¸ º¸È£Á¤Ã¥   £ü   »çÀÌÆ®¸Ê
17015 °æ±âµµ ¿ëÀνà ±âÈﱸ µ¿¹éÁß¾Ó·Î16¹ø±æ 16-25, 508È£. ÀüÈ­ : 031-282-3310
»ç¾÷ÀÚ µî·Ï¹øÈ£ : 697-47-00075 / ´ëÇ¥ : À̰ǿµ / ¾÷Å : Á¦Á¶¾÷ / Á¾¸ñ : LEDÁ¶¸í, LEDÀü¿ø, Á¦¾îÀåÄ¡.
°³ÀÎÁ¤º¸ °ü¸®Ã¥ÀÓÀÚ : ȨÆäÀÌÁö °ü¸®ÀÚ . Copyright ¨Ï2016 ¾ÆÅ©·¹Áî (ACLEDS INC.)
HOME TOP PREV ¤ý NEXT 0 0 0