Page 1 of 1

booteable purebasic console apps?

Posted: Mon Mar 14, 2005 5:16 pm
by dagcrack
can I create booteable console apps in purebasic or I should go to moonrock instead? and how would I do the boot part? with an autoexec bat or something?

Posted: Mon Mar 14, 2005 6:00 pm
by thefool
you mean a dos app?

Re: booteable purebasic console apps?

Posted: Mon Mar 14, 2005 7:56 pm
by PB
> can I create booteable console apps in purebasic?

No. All PureBasic apps are Win32-based and can't be called from DOS.
If you try, you'll just get this familiar error message at the DOS prompt:
This program cannot be run in DOS mode.

> should I go to moonrock instead?

That's one nice freeware Basic alternative that works, yes. Don't expect it
to be anywhere as good as PureBasic though, but it can do a lot of things.

> how would I do the boot part? with an autoexec bat or something?

Yep, just call the MoonRock *.com file from AutoExec.bat and it'll run. I've
done this in the past with no problems -- that's why it's in the FAQ. ;)

Posted: Tue Mar 15, 2005 3:02 am
by fsw
If you want something more up to date go for FreeBASIC - there is also a 32 bit DOS version.

Posted: Tue Mar 15, 2005 9:59 am
by dagcrack
I'll check FreeBASIC thanks!