Page 1 of 1

Questions for FB-C

Posted: Thu Aug 17, 2006 10:46 pm
by speewave
A few questions for fb are:

Can i use pp256 for my FB app?
Can i sell a game with BASSMOD with out paying a license?
will bassmod work on DOS\Linux?

And For C\C++:
Can SDL Work for DOS
________
Genetically modified food

Posted: Fri Aug 18, 2006 6:08 am
by {Nathan}
If you use allegro instead, yes, you can sell your game without paying royalties and it is cross-platform. Also, for PP256, check out http://www.freebasic.net/forum/viewtopic.php?t=5415.

Posted: Fri Aug 18, 2006 8:16 am
by BadMrBox
> Can i use pp256 for my FB app?
Yeah you can.

Code: Select all

bload "yourgfx.put", VARPTR(array(0))

Posted: Fri Aug 18, 2006 2:35 pm
by speewave
i haven't tried PP256 yet on FB but thanx for the tip!

also i made a small fb app. works great in Windows but it does not compile an EXE for DOS!

Here's what i typed:

Code: Select all

'HW.bas

Print "Hello World!"
Sleep

and in the command prompt i typed in:
fbc hw.bas and i found no hw.exe!!! do i need to type in any switches for that?

also... Should i use Allegro to make my dos game work for dos\windows or should i just use FB?
________
Alaska Medical Marijuana

Posted: Sat Aug 19, 2006 1:01 pm
by Guest
Allegro and SDL work on things called DLLs which DOS does not have and cannot execute or load into memory. Thus if you want to make a 32-bit DOS game you will have to rely on FB itself and libraries that can compile fully into your code.

It should have at least compiled. Do you have something called a.out or hw.o or hw.obj in the directory?

Posted: Sat Aug 19, 2006 6:56 pm
by {Nathan}
Allegro has a DOS port too. Basically any platform except for OS/2 is supported.