What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] Msn Flash 1.1

[Release] Msn Flash 1.1
Author: Message:
Themuzz
New Member
*


Posts: 14
Joined: Jun 2006
RE: [Release] Msn Flash 1.1
It's not that hard. To control hardware with your lpt1 port you do this

here an image from your lpt1 port:

[Image: printer2.gif]

here some information:

Pin-nummer - Uitgang - Waarde
2 - D0 - 1
3 - D1 - 2
4 - D2 - 4
5 - D3 - 8
6 - D4 - 16
7 - D5 - 32
8 - D6 - 64
9 - D7 - 128
18 = mass

here the circuit:

[Image: printer1.gif]


the end that says 'data' you connect with the pin (2,3,4,5,6,7,8,9) and the '-' you connect with the mass (18).

So you can make this 8 times and connect the 'data' line to a new pin and the '-' everytime to the mass (18).

The you can connect every hardware that works in the range of 9-12V. The power source of the hardware you connect with the + and the - with the end of the hardware (i hope you understand, otherwise just ask).

-------------------------------------------

now the software part:

First you have to donload io.dll, i included it.

Download io.dll
Mirror 1

Then include it in your project.

+++++
Here some functions you can then use:

PortOut
Outputs a byte to the specified port.

PortWordOut
Outputs a word (16-bits) to the specified port.

PortDWordOut
Outputs a double word (32-bits) to the specified port.

PortIn
Reads a byte from the specified port.

PortWordIn
Reads a word (16-bits) from the specified port.

PortDWordIn
Reads a double word (32-bits) from the specified port.

SetPortBit
Sets the bit of the specified port.

ClrPortBit
Clears the bit of the specified port.

NotPortBit
Nots (inverts) the bit of the specified port.

GetPortBit
Returns the state of the specified bit.

RightPortShift
Shifts the specified port to the right. The LSB is returned, and the value passed becomes the MSB.

LeftPortShift
Shifts the specified port to the left. The MSB is returned, and the value passed becomes the LSB.

IsDriverInstalled
Returns non-zero if io.dll is installed and functioning. The primary purpose of this function is to ensure that the kernel mode driver for NT/2000/XP has been installed and is accessible.
+++++

I only used this function:

Call PortOut(888, 255)

The 888 stands for lpt port 1.
The 255 for the pins you turned on, if you want to turn on all the pins you dot his:
1+2+4+8+16+32+64+128=255

If you want to turn on pin 4 and 6:

4+16=20
so: Call PortOut(888, 20)


I hope I made it clear for you :)

If you have any questions just ask.

Greetz Themuzz

This post was edited on 06-26-2006 at 12:55 PM by Themuzz.
06-26-2006 12:52 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Release] Msn Flash 1.1 - by ivan300 on 06-26-2006 at 03:10 AM
RE: [Release] Msn Flash 1.1 - by ykz on 06-26-2006 at 03:23 AM
RE: [Release] Msn Flash 1.1 - by can16358p on 06-26-2006 at 07:21 AM
RE: [Release] Msn Flash 1.1 - by Themuzz on 06-26-2006 at 11:09 AM
RE: [Release] Msn Flash 1.1 - by novolo on 06-26-2006 at 11:18 AM
RE: [Release] Msn Flash 1.1 - by Themuzz on 06-26-2006 at 12:52 PM
RE: [Release] Msn Flash 1.1 - by novolo on 06-26-2006 at 01:05 PM
RE: [Release] Msn Flash 1.1 - by Themuzz on 06-26-2006 at 01:23 PM
RE: [Release] Msn Flash 1.1 - by vk3xem on 06-26-2006 at 01:34 PM
RE: [Release] Msn Flash 1.1 - by Themuzz on 06-26-2006 at 02:01 PM
RE: [Release] Msn Flash 1.1 - by novolo on 06-26-2006 at 04:14 PM
RE: [Release] Msn Flash 1.1 - by Lou on 06-26-2006 at 04:18 PM
RE: [Release] Msn Flash 1.1 - by Themuzz on 06-26-2006 at 05:44 PM
RE: [Release] Msn Flash 1.1 - by novolo on 06-26-2006 at 06:13 PM
RE: [Release] Msn Flash 1.1 - by Themuzz on 06-26-2006 at 07:07 PM
RE: [Release] Msn Flash 1.1 - by novolo on 06-26-2006 at 07:13 PM
RE: [Release] Msn Flash 1.1 - by DRaGoM on 06-26-2006 at 08:04 PM
RE: [Release] Msn Flash 1.1 - by ivan300 on 06-26-2006 at 08:56 PM
RE: [Release] Msn Flash 1.1 - by ivan300 on 06-27-2006 at 12:53 AM
RE: [Release] Msn Flash 1.1 - by novolo on 06-27-2006 at 02:12 PM
RE: [Release] Msn Flash 1.1 - by Lou on 06-27-2006 at 03:48 PM
RE: [Release] Msn Flash 1.1 - by DarkRaider on 06-27-2006 at 04:50 PM
RE: RE: [Release] Msn Flash 1.1 - by Bmw1000c on 06-27-2006 at 05:00 PM
RE: [Release] Msn Flash 1.1 - by novolo on 06-27-2006 at 05:05 PM
RE: [Release] Msn Flash 1.1 - by Lou on 06-27-2006 at 05:09 PM
RE: [Release] Msn Flash 1.1 - by novolo on 06-27-2006 at 05:21 PM
RE: RE: [Release] Msn Flash 1.1 - by Bmw1000c on 06-27-2006 at 05:28 PM
RE: [Release] Msn Flash 1.1 - by DarkRaider on 06-27-2006 at 05:33 PM
RE: [Release] Msn Flash 1.1 - by novolo on 06-27-2006 at 05:34 PM
RE: [Release] Msn Flash 1.1 - by DarkRaider on 06-27-2006 at 05:46 PM
RE: [Release] Msn Flash 1.1 - by novolo on 06-27-2006 at 06:48 PM
RE: [Release] Msn Flash 1.1 - by Apola Silverstone on 06-27-2006 at 07:21 PM
RE: [Release] Msn Flash 1.1 - by Themuzz on 06-27-2006 at 09:01 PM
RE: [Release] Msn Flash 1.1 - by novolo on 06-27-2006 at 10:11 PM
RE: [Release] Msn Flash 1.1 - by cyberdev on 06-28-2006 at 09:38 PM
RE: [Release] Msn Flash 1.1 - by ivan300 on 06-29-2006 at 02:11 AM
RE: [Release] Msn Flash 1.1 - by cyberdev on 06-29-2006 at 03:35 AM
RE: [Release] Msn Flash 1.1 - by DarkFox on 07-06-2006 at 12:10 AM
RE: [Release] Msn Flash 1.1 - by asfd64 on 07-09-2006 at 12:57 AM
RE: [Release] Msn Flash 1.1 - by ivan300 on 07-18-2006 at 05:08 AM
RE: [Release] Msn Flash 1.1 - by utenteprova on 04-22-2009 at 06:15 PM
RE: [Release] Msn Flash 1.1 - by Jarrod on 04-25-2009 at 12:21 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On