Search found 1479 matches

by Dinosaur
Jul 30, 2005 2:38
Forum: DOS
Topic: Error with Hex$
Replies: 11
Views: 6484

Error with Hex$

Hi all This is the qb code to start with. Why does this create an error when compiling. LOCATE 3,20:PRINT "150="; + HEX$(Inportb(&H15F)); PortIO.BAS(196) : error 21: Type mismatch, found: ';' LOCATE 3,20:PRINT "150="; + HEX$(Inportb(&H15F)); So remove the ";" Po...
by Dinosaur
Jul 30, 2005 2:18
Forum: DOS
Topic: In and OUT
Replies: 20
Views: 12068

Hi all Downloaded the Dos version and corrected a path problem and it worked. One of the problems was that when you extract the zip file and nominate the Directory, ie:C:\FreeBasic, it then creates another FreeBasic directory. So you end up with C:\FreeBasic\FreeBasic\..... Many thanks, the first ob...
by Dinosaur
Jul 29, 2005 14:02
Forum: DOS
Topic: In and OUT
Replies: 20
Views: 12068

On the other hand it is easier to rename all my OUT and IN instructions then to make all of them in-line code.

Getting late in Eastern Oz now

Regards
by Dinosaur
Jul 29, 2005 13:16
Forum: DOS
Topic: In and OUT
Replies: 20
Views: 12068

DrV, I thought in my readings of all the info, that the latest version was Dos & Windows combined ?

Either way I will follow your advise.

Regards
by Dinosaur
Jul 29, 2005 9:29
Forum: DOS
Topic: In and OUT
Replies: 20
Views: 12068

Hi all Finally got some time to get back to this thread. Getting this to work is crucial to using FB. Wrote a small test program to test outportb and getting a linking error. Basically the program declares only one .bi file as suggested by DrV #include "C:\Program1\FreeBasic\inc\dos\pc.bi"...
by Dinosaur
Jul 25, 2005 7:31
Forum: DOS
Topic: Fake
Replies: 4
Views: 4263

Hi all

Thank you v1ctor.
What about the assembly routines.?

Regards
by Dinosaur
Jul 25, 2005 1:39
Forum: DOS
Topic: Fake
Replies: 4
Views: 4263

Fake

Hi all Been looking for help on using the compiler. The Wiki site is pretty good for the language, but cant seem to find anything to help me with the following questions. 1. Filename.o:fake:(text+0x420) Where can i find explanations on how to analyze these messages. 2. A project with 15 basic module...
by Dinosaur
Jul 24, 2005 2:22
Forum: DOS
Topic: In and OUT
Replies: 20
Views: 12068

Hi all

Jofers, I was referring more to I/O boards that we use to drive output
relays on our machines. We manufacture these ourselves, so we have to make the "drivers".

Thanks Drv, that answers the question.

Regards
by Dinosaur
Jul 24, 2005 1:45
Forum: DOS
Topic: In and OUT
Replies: 20
Views: 12068

In and OUT

Hi all When I originally looked at FB there were to many missing or unsupported instructions, but most of these have now been implemented. So now seriously investigating swapping to FreeBasic. The only obstacle is the Qb instructions In and Out. Am I right by assuming that FB will only create 32 bit...