Network & Internet    Other     PortTalk

PortTalk 2.2


Description of

PortTalk


PortTalk is a Windows NT I/O Port Device Driver.A problem that plagues Windows NT/2000 and Windows XP, is it's strict control over I/O ports. Unlike Windows 95 & 98, Windows NT/2000/XP will cause an exception (Privileged Instruction) if an attempt is made to access a port that you are not privileged to talk to. Actually its not Windows NT that does this, but any 386 or higher processor running in protected mode.Accessing I/O Ports in protected mode is governed by two events, The I/O privilege level (IOPL) in the EFLAGS register and the I/O permission bit map of a Task State Segment (TSS).Under Windows NT, there are only two I/O privilege levels used, level 0 & level 3. Usermode programs will run in privilege level 3, while device drivers and the kernel will run in privilege level 0, commonly referred to as ring 0.PortTalk will allow the trusted operating system and drivers running in kernel mode to access the ports, while preventing less trusted usermode processes from touching the I/O ports and causing conflicts. All usermode programs should talk to a device driver which arbitrates access.The I/O permission bitmap can be used to allow programs not privileged enough (I.e. usermode programs) the capability to access the I/O ports. When an I/O instruction is executed, the processor will first check if the task is privileged enough to access the ports. Should this be the case, the I/O instruction will be executed. However if the task is not allowed to do I/O, the processor will then check the I/O permission bitmap.The I/O permission bitmap, as the name suggests uses a single bit to represent each I/O address. If the bit corresponding to a port is set, then the instruction will generate an exception however if the bit is clear then the I/O operation will proceed. This gives a means to allow certain processes to access certain ports. There is one I/O permission bitmap per task.Accessing I/O Ports under NT/2000/XPThere are two solutions to solving the problem of I/O access under Windows NT. The first solution is to write a device driver which runs in ring 0 (I/O privilege level 0) to access your I/O ports on your behalf. Data can be passed to and from your usermode software to the device driver via IOCTL calls. The driver can then execute your I/O instructions. The problem with this, is that it assumes you have the source code to make such a change.Another possible alternative is to modify the I/O permission bitmap to allow a particular task, access to certain I/O ports. This grants your usermode software running in ring 3 to do unrestricted I/O operations on selected ports, per the I/O permission bitmap. This method is not really recommended, but provides a means of allowing existing applications to run under windows NT/2000. Writing a device driver to support your hardware is the preferred method. The device driver should check for any contentions before accessing the port.However, using a driver such as PortTalk can become quite inefficient. Each time an IOCTL call is made to read or write a byte or word to a port, the processor must switch from ring 3 to ring 0 perform the operation, then switch back. If your intentions were to write, for example a microcontroller programmer which is programmed serially using a parallel port pin, it would make better sense to send a pointer to a buffer of x many bytes. The device driver would then serialise the data and generate the handshake necessary in the programming of a PIC device.Such an example is the USBLPTPD11 driver at www.beyondlogic.org/usb/usblptpd11.htm. This driver accepts a buffer of bytes via the IOCTL_WRITE_I2C IoDeviceCall and then big bangs this out in I2C format on a parallel port pin. The source code for this driver is available and is well worth a look.The porttalk device driver comes complete with source code. It provides the facility to modify the IO permission bitmap and/or write and read to I/O ports via IOCTL calls.Compatibility - Using existing applications under Windows NT/2000/XPPortTalk can be used in conjunction with allowio to make existing programs that access the I/O ports work under Windows NT/2000/XP. As you already know, any 32bit software will cause a Privileged Instruction Exception. Many hacks have been produced for I/O port access under Windows 95 and 98 such as .DLL libraries. Should you need to run such a software under Windows NT, an exception will occur. Try PortTalk.16 Bit Windows and DOS programs will run on virtual machines. In many cases existing applications should be transparent on Windows NT/2000/XP. However others just refuse to run. The virtual machines has support for communication ports, video, mouse, and keyboard. Therefore any software using these common I/O ports should run, however there is often a problem with timing. Other MS-DOS programs accessing specific hardware requires VDDs (Virtual Device Drivers) written to enable them to be used with Windows NT.The Virtual Machine will intercept I/O operations and send them to a I/O handler for processing. The way the Virtual Machine does this, is by giving insufficient rights to I/O operations and creating an exception handler to dig back into the stack, find the last instruction and decode it. By giving the VDM full rights to I/O ports, it has no means of intercepting I/O operations, thus creating less problems with timing or the need to provide VDDs for obscurer hardware.In order to change a processes IOPM, we must first have the process ID for the process we want to grant access too. This is accomplished by creating the process ourselves, so we can pass the ProcessID to our device driver. An small software is used which accepts the software name as an argument. This software then creates the process (i.e. executes the program) which starts and continues as another process in the system.Note : We can also register a callback with the operating system which notifies our driver of any processes started and what their ID is. We can then keep a directory of processes that we want to have access to certain ports. When this process is executed, the callback informs the driver it has started and what it's process ID is. We could then automatically change the IOPM of this process. See


Published by: beyondlogic.org
Downloads: 587
File Size: 66.4 KB
License: Freeware
Product Homepage: Visit beyondlogic.org
Release Date: 09 July, 2012
OS: Windows
Download Location: Primary Download Link Broken? Report it!


PortTalk 2.2 Download Tags:


Files32.com collects software information directly from original developers using software submission form. Sometimes it can happen that software data are not complete or are outdated. You should confirm all information before relying on it. Using crack, serial number, registration code, keygen and other warez or nulled soft is illegal (even downloading from torrent network) and could be considered as theft in your area. Files32 does not provide download link from Rapidshare, Yousendit, Mediafire, Filefactory and other Free file hosting service also. The software has been submitted by its publisher directly, not obtained from any Peer to Peer file sharing applications such as Shareaza, Limewire, Kazaa, Imesh, BearShare, Overnet, Morpheus, eDonkey, eMule, Ares, BitTorrent Azureus etc..
 
Top Software

FTP Rush 2.1.8
FTP Rush is a free comprehensive FTP client for smooth file transfer. The program offers fully-fledged functionality delivered in a user-friendly interface and allows experienced users to create...

Crypt4Free by

Crypt4Free 5.47
Crypt4Free is files encryption software with ability to encrypt files and text messages. Support for ZIP files and ability to secure delete sensitive files. Skinnable user friendly interface.

Luxand Blink! by

Luxand Blink! 2.0
Login to your PC without touching a thing! Luxand Blink! is a free tool to let you log in to your Windows account by simply looking into a webcam - no passwords to type and no fingers to scan.

InTask Personal by

InTask Personal 1.5
InTask designed to help team leaders, developers and QA persons to share their efforts and deliver the products on time. The product includes fast task management, interactive gantt, document...

Pop-up Free by

Pop-up Free 1.56
Get rid of annoying popup windows and enhance your Web surf experience. Kill unexpected popup windows and protect your privacy. No more annoying advertisement windows and save your time.

Glary Utilities Portable by

Glary Utilities Portable 2.56.0.8322
One Click A Day For PC Maintenance, Keeps Any PC Problems Away. With 7 million worldwide users, the first-rank & free Glary Utilities is an INDISPENSABLE friend for your PC, with its 100% safe,...

VPSpro by

VPSpro 3.695
VPSpro is the ultimate in the creation of financial projection and general business plans. The unique walk-through process is simple to use and makes easy work of the hard parts of business planning.

Rylstim Budget Lite by

Rylstim Budget Lite 4.5.1.6376
Plan and manage your finances with a simple friendly calendar. Perfect solution for home users and freelancers!

Neox Screen by

Neox Screen 1.0.0.277
Neox Screen is a free application which with the help of the hotkeys you can take screenshots that are crystal sharp, small in size and ready to be shared.

EMCO Remote Installer Free by

EMCO Remote Installer Free 4.1.1
This free remote software deployment tool is designed to install and uninstall Windows software on remote PCs through local networks. You can use it to install and uninstall EXE setups and MSI...

Latest Software

Leawo Music Recorder 3.0.0.0
Leawo Music Recorder is the best Windows music recording software. It could record any audio sources including built-in input audios and computer stream audios. It also allows people to schedule...

pdfMachine by

pdfMachine 15.22
Convert to PDF the quick and easy way. Supports Sticky notes, Stationery, Watermarks, Encryption, Editing, URLs, Bookmarks, Attachments, Properties, Email, N-Up, Scanning, OCR, Print Profiles,...

Elcomsoft eXplorer for WhatsApp 2.50.29453
Download, view and decrypt WhatsApp histories from Android and iOS phones. The tool automatically acquires WhatsApp databases from a range of local and cloud sources, processes information and...

Halloween Mystery Screensaver by

Halloween Mystery Screensaver 2.0
Halloween Holiday is coming very soon! Love to tickle your nerves? Then this screensaver is for you! We present you a free animated screensaver Halloween Mystery. Want to feel the atmosphere of...

HelpSmith by

HelpSmith 8.0
HelpSmith is a complete help authoring tool for CHM, Web Help, and Printed Manuals Creation. Dynamic Styles, NO HTML Coding principle combined with the tool's useful features make help authoring a...

PitchGridTest by

PitchGridTest 1.00
The Pitch Grid Test assesses your relative pitch sense with a relative pitch indicator, which shows your pitch-distance recognition ability in cents. Your answering speed is also measured: an...

SamP3P4 by

SamP3P4 10.8.1.1
The great lottery software SamP3P4 since 2003 and continued strong. SamP3P4 software works with all the Pick 3/4 lotteries and supports 120 lotteries from the USA and Canada.

InPixio Free Photo Editor by

InPixio Free Photo Editor 8.6
Easy to use! Add Filters & Effects: turn your photos into artwork! Cut & Crop: Change the Focus and Size of your photos. Editing: Change the Color & Brightness Enhance your photos with...

Water Supply by

Water Supply 3.76
Water Supply is a calculator by Dynamic Applications that allows you to calculate cost, effort, time and volume of your own, self-built House Well. Includes a sophisticated, enhanced Water...

COM Port Redirector by

COM Port Redirector 7.1
COM Port Redirector is a handy utility that is tailored for sharing RS232, RS422, and RS485 serial interfaces. The app works over TCP/IP as well as UDP/IP networks and makes it possible to create...

Dr.Web CureIt by

Dr.Web CureIt 11.5.201809130
Dr.Web CureIt is an indispensable tool for curing computers running MS Windows 8/7/Vista/XP/Server 2003/2008/2012 (32-/64-bit systems). Dr.Web CureIt detects and neutralizes viruses, rootkits,...

VShell Server for Windows 4.4.1
VShell SSH server is a secure alternative to Telnet and FTP on Windows, Mac, and UNIX providing strong encryption, robust authentication and data integrity. Fine-tune your environment with...

Related Searches

Currently Searching

Currently Downloading

AimOne PSP Video Converter by

AimOne PSP Video Converter 1.51
AimOne PSP Converter converts PSP MP4 video file to AVI, MPEG, VCD, SVCD, DVD, 3GP, iPod Mp4, PSP MP4, MP4, FLV, etc.format. Supports watermark,subtitle adding , frame size adjustment and video...

AimOne MP4 Converter by

AimOne MP4 Converter 1.51
AimOne MP4 Converter converts MP4 video file to AVI, MPEG, VCD, SVCD, DVD, 3GP, iPod Mp4, PSP MP4, MP4, FLV, etc.format. Supports watermark,subtitle adding , frame size adjustment and video image...

EZ Mp3 Wav Converter for tomp4.com by

EZ Mp3 Wav Converter for tomp4.com 5.0
EZ MP3 Wav Converter is specifically designed to decode mp3 files to wav files and encode wav files to mp3 files EZ MP3 Wav Converter is specifically designed to decode mp3 files to wav files and...

Computer Status Gadget 1.1
Computer Status Gadget is a sidebar gadget, let you to see the status of your Computer/Notebook in the Sidebar and on a SideShow device. View CPU, RAM, WiFi, Battery and Recycle Bin status. It also...

Reversi 3d by

Reversi 3d 1.0
This is a reversi game in 3d. It features excellent graphics, a smart opponent, and tons of

AimOne Audio/Video to MP3/WAV Converter by

AimOne Audio/Video to MP3/WAV Converter 1.01
With AimOne Audio/Video to MP3/WAV Conveter, you can easily extract and convert audio from almost any kind of Audio and Video file types to MP3/WAV output in batch mode. It offers a built-in-player...

LifeStrateg by

LifeStrateg 1.2
LifeStrateg will help you to set up your life goals the way they could be achieved as fast as it is possible! LifeStrateg will teach you to set goals that will be achieved very quickly. LifeStrateg...

AimOne 3GP Cutter & Joiner by

AimOne 3GP Cutter & Joiner 1.01
AimOne 3GP Cutter & Joiner is a powerful 3gp movie edit tool. 3GP Cutter allows you split/cut 3gp video/audio file into small 3gp files, or extract manually selected segments of an 3GP file to...

Ailt Word RTF DOC to TXT Converter by

Ailt Word RTF DOC to TXT Converter 6.0
Ailt Word RTF DOC to TXT Converter is a batch document converter that converts Word DOC, DOCX,DOCM, RTF documnents to Text TXT files. Its easy-to-use interface allows you to create Text files from...

Ailt Word Excel PowerPoint to TXT Converter by

Ailt Word Excel PowerPoint to TXT Converter 6.0
Ailt Word Excel PowerPoint to TXT Converter is an easy-to-use and professional converter which is designed to free batch convert DOC, DOCX, DOCM, XLS, XLSX, XLSM, PPT, PPTX, PPTM to TXT....

Jagacy TN3270 Terminal Emulator by

Jagacy TN3270 Terminal Emulator 2.0
Jagacy TN3270 is an easy to use3270 terminal emulator. It supports SSL, TN3270E, and over thirty languages.

Protector Plus for Windows Server 9.1.007
Protector Plus antivirus program for Windows is the ideal antivirus program to protect your computer against all types of threats like viruses, trojans, worms, spyware and other potential threats.