Open Com

DOS specific questions.
Post Reply
Ianr
Posts: 6
Joined: Oct 02, 2007 15:45

Open Com

Post by Ianr »

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
sir_mud
Posts: 1402
Joined: Jul 29, 2006 3:00
Location: A van down by the river
Contact:

Post by sir_mud »

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.
DrV
Site Admin
Posts: 2116
Joined: May 27, 2005 18:39
Location: Midwestern USA
Contact:

Post by DrV »

OPEN COM is not implemented in the DOS version.
DOS386
Posts: 798
Joined: Jul 02, 2005 20:55

serial

Post by DOS386 »

Discussion continues here:

http://www.freebasic.net/forum/viewtopic.php?t=9712

*** LOCK ***
anonymous1337
Posts: 5494
Joined: Sep 12, 2005 20:06
Location: California

Re: serial

Post by anonymous1337 »

DOS386 wrote:Discussion continues here:

http://www.freebasic.net/forum/viewtopic.php?t=9712

*** LOCK ***
bump for gold!
coderJeff
Site Admin
Posts: 4386
Joined: Nov 04, 2005 14:23
Location: Ontario, Canada
Contact:

Post by coderJeff »

<spam>
For more discussion on COM support in the DOS version of FreeBASIC:
http://www.freebasic.net/forum/viewtopic.php?t=10219
</spam>
Post Reply