Page 1 of 1

Is ALEGRO usable for OS Dev??

Posted: Tue Sep 24, 2002 4:33 pm
by soilwork
is it?

or does it have doss/bios calls?

if it works in pmode and is not made to be used by dos, would it work in my OS???

thanks

Re:Is ALEGRO usable for OS Dev??

Posted: Tue Sep 24, 2002 9:12 pm
by gtsphere
as long as it does not depend on the platform for anything, then it should be alright.

BIOS calls, from what i have learned, are mainly done in ASM so linking an asm file to a c file is possible, if once again ALEGRO can output a flat binary (platform independent code). So if the printf, scanf functions, (so to speak) don't use DOS interrupts then you should be okay, but nothing is for sure until you try it.

And PMODE is set up through asm calls as well, so once again an assembler is what you're looking for.

I am new at this, but i do believe that is what you're looking for.

I do know someone on the board who could easily answer this question, and hopefully if dronkit reads this can correct anything i said that is wrong!! lol :P

Re:Is ALEGRO usable for OS Dev??

Posted: Tue Sep 24, 2002 9:18 pm
by dori
U do know that ALEGRO is the game graphics library that comes with DJGPP...

thanks for the help.. just that reading your post I got the impression that youre talking about some kind of dev environment like compilelr IDE assembler and stuff like that

Im just wondering if I can use the graphics library... Wondering.. I might do just that if .. never used it before so thats why Im asking

Re:Is ALEGRO usable for OS Dev??

Posted: Tue Sep 24, 2002 9:22 pm
by gtsphere
oooo yea, lol, :-[

well, take part of what i said about the indepedent'ness of it, i do believe whether or not it depends on DOS interupts, altho is allergo avaiable for linux?? so maybe its portable? *shrugs*