From: Thomas F. <tfj...@sh...> - 2008-07-24 01:17:01
|
On July 23, 2008, Elias Pschernig wrote: > On Wed, 2008-07-23 at 18:56 +1000, Peter Wang wrote: > > On 2008-07-23, Thomas Fjellstrom <tfj...@sh...> wrote: > > > On July 23, 2008, Milan Mimica wrote: > > > > Peter Wang wrote: > > > > > On 2008-07-22, Milan Mimica <mil...@gm...> wrote: > > > > >> Peter Wang wrote: > > > > >>> There's also the no-asm issue on djgpp. > > > > >> > > > > >> What's that? > > > > > > > > > > http://www.allegro.cc/forums/thread/596566 > > > > > > > > Since when we care about people trying to run DJGPP executables on > > > > WinXP? > > > > > > I'm not 100% certain but I think it effects pure DOS exes as well. Its > > > as if noone ever tested the C only mode with DOS (and I mean pure C, > > > with all of the asm disabled including various drivers that depend on > > > it, and all of the fancy allegro calling conventions..) > > > > Exactly. I might try it in qemu later. > > I can confirm that most examples crash in qemu (the only two who open a > graphics mode and work here are exfont and extimer I think).. but I have > no idea how to debug it. If I run gdb, it stays in fullscreen and all I > can do is close the qemu window :/ > > Also, with my qemu setup, compilation took almost an hour.. much longer > than it took in real DOS back then - so that's no good for doing much > testing either. > > Does someone remember what exactly the problem is? Why would the C-only > version need non-C calling convention for anything? I don't think the DOS code was ever properly converted to be 100% C only. lots of allegro still makes some assumptions about running on a DOS like system, all that selector and "ds" stuff along with video and input drivers that contain a large portion of asm. A lot of legacy stuff was kept, and not totally purged when we started implementing C only mode. > -- > Elias Pschernig <el...@us...> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -- Thomas Fjellstrom tfj...@sh... |