Actually, PowerBASIC /DOS uses neither the BIOS nor DOS for COM port access.
Best regards,
Bob Zale
PowerBASIC Inc.
------------------
Announcement
Collapse
No announcement yet.
New user questions
Collapse
X
-
Originally posted by Aldo Cavini:
Since PB/DOS accesses the COMM ports corectly under WinNT/XP, it uses BIOS (INPs and OUTs are not allowed under those O.S.).
- LJ
------------------
Leave a comment:
-
franco,
since pb/dos accesses the comm ports correctly under winnt/xp, it uses bios (inps and outs are not allowed under those o.s.).
more than 15 years ago i started using turbobasic (the parent of pb/dos), which had problems in accessing comms on certain pcs. i wrote some direct i/o functions to access it, which still work under pb/dos (i posted a little sample: http://www.powerbasic.com/support/pb...read.php?t=837 ).
hence, if you don't work under nt-style operating systems, you can access comms via the bios, directly writing to the uart, or both (for instance, to setup a non-standard baud rate, you can open the line and then write the baud rate to the uart registers).
aldo
[this message has been edited by aldo cavini (edited june 22, 2006).]
Leave a comment:
-
hi franco.
about using libs, i think you can't do it directly, you should try to convert them into obj files compatible with pb, but i don't know how. this info comes from another thread which might be interesting for you:
http://www.powerbasic.com/support/pb...read.php?t=813
http://www.powerbasic.com/support/pb...ead.php?t=1227
about your 2nd question, i don't know.
------------------
davide vecchi
[email protected]
[this message has been edited by davide vecchi (edited june 22, 2006).]
Leave a comment:
-
New user questions
Hi all !
I've just bought the DOS version of PB.. I'll try to
use it to develop applications for micro embedded computers.
I have some LIB files that comes with the boards I'm using.
Some of them are really useful and I'd like to use them
with PB .
The LIBs are suitable for Borland Turbo-C 1.0x for DOS (16
bit code of course). Is it possible to use them with PB ??
A second question: does the PB COM lib use DOS or BIOS or do
direct access to serial port ??
Thank you in advance.
------------------
Tags: None
Leave a comment: