Unit NpsPort

Classes

TNpsPortB - *************** Freeware Freeware Freeware ******************************** * Name: NpsPort.
TNpsPortW - TNpsPortB {Word Port class

Functions

PortReadByte - dalay between two bytes operation depending of CPU speed and cards speed {**************************************************************** * Port Read byte function * * Parameter: port address * * Return: byte value from given port *
PortReadWord - ************************************************************** * HIGH SPEED Port Read Word function * * Parameter: port address * * Return: word value from given port * * Comment: may problem with some cards and computers * * that can't to access whole word, usualy it work.
PortReadWordLS - ************************************************************** * LOW SPEED Port Read Word function * * Parameter: port address * * Return: word value from given port * * Comment: work in all cases, only to adjust DELAY if need *
PortWriteByte - ************************************************************** * Port Write byte function * * Parameter: port address *
PortWriteWord - ************************************************************** * HIGH SPEED Port Write word procedure * * Comment: may problem with some cards and computers * * that can't to access whole word, usualy it work.
PortWriteWordLS - ************************************************************** * LOW SPEED Port Write Word procedure * * Parameter: port address * * Return: word value from given port * * Comment: work in all cases, only to adjust DELAY if need *
Register - TNpsPortW

Click {********************************************************************** * Component registration, change section name for you favorite AddOn *

Types

Constants

Variables


Functions


function PortReadByte(Addr:Word) : Byte;

dalay between two bytes operation depending of CPU speed and cards speed {**************************************************************** * Port Read byte function * * Parameter: port address * * Return: byte value from given port *

function PortReadWord(Addr:Word) : Word;

************************************************************** * HIGH SPEED Port Read Word function * * Parameter: port address * * Return: word value from given port * * Comment: may problem with some cards and computers * * that can't to access whole word, usualy it work. *

function PortReadWordLS(Addr:Word) : Word;

************************************************************** * LOW SPEED Port Read Word function * * Parameter: port address * * Return: word value from given port * * Comment: work in all cases, only to adjust DELAY if need *

procedure PortWriteByte(Addr:Word; Value:Byte);

************************************************************** * Port Write byte function * * Parameter: port address *

procedure PortWriteWord(Addr:Word; Value:Word);

************************************************************** * HIGH SPEED Port Write word procedure * * Comment: may problem with some cards and computers * * that can't to access whole word, usualy it work. *

procedure PortWriteWordLS(Addr:Word; Value:Word);

************************************************************** * LOW SPEED Port Write Word procedure * * Parameter: port address * * Return: word value from given port * * Comment: work in all cases, only to adjust DELAY if need *

procedure Register;

TNpsPortW

Click {********************************************************************** * Component registration, change section name for you favorite AddOn *


Types


Constants


Variables