Hi again!!
Now I have a working copy of Free basic I hit my first snag Open com doesn't work!!!!! I read the manual and its not implemented in version .17 onwards "aaaarrrggg" this is what I wanted it for. So I've intalled version .16 (from the live CD of Freedos) and guess what! doesn't work either. Can I open com1 at 115200? I can in borland C 3.0 . Do you know how hard it is to get a 32 bit compiler to comunicate via dos AND let me develop a decent GUI to work with I really thought that FB would let me do both ah well back to 16 bit Borland C and a crappy 32 extender.
Ian
Open Com
Its actually written as a installable driver in windows and uses standard syscalls in linux. You should be able to use the bios calls directly but it very well could be much slower than pure 16bit because of the context switches. looks like all the functions you need to use are in the dos/bios.bi header.
-
- Posts: 5494
- Joined: Sep 12, 2005 20:06
- Location: California
Re: serial
bump for gold!DOS386 wrote:Discussion continues here:
http://www.freebasic.net/forum/viewtopic.php?t=9712
*** LOCK ***
<spam>
For more discussion on COM support in the DOS version of FreeBASIC:
http://www.freebasic.net/forum/viewtopic.php?t=10219
</spam>
For more discussion on COM support in the DOS version of FreeBASIC:
http://www.freebasic.net/forum/viewtopic.php?t=10219
</spam>