[Implemented] Serial port commands

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
SimpleMind
Enthusiast
Enthusiast
Posts: 112
Joined: Sun May 18, 2003 12:40 pm
Location: Netherlands

Post by SimpleMind »

Dreglor wrote:suposeably you can Write with this piece of assembly
p is the port address and n is the number to send out

Code: Select all

MOV DX,p
MOV AL,n
OUT DX,AL 
althought it crashes here, im not sure why

not sure what input is thought
If you code at this level I think you can better get the Application notes of the semiconductor device to see which registers you have to program.
Give me books, fruit, french wine, fine weather and a little music.
John Keats
mlwhitt
User
User
Posts: 67
Joined: Sat Jun 11, 2005 3:38 am
Location: Western Kentucky
Contact:

Post by mlwhitt »

Has there been any word yet of native serial / com support?
PB and PureVision XP Registered.
www.michaelwhitt.com
Post Reply