[GEM Development] [GEM-DEV] GEM 32

lyricalnanoha lyricalnanoha at usotsuki.hoshinet.org
Mon Nov 9 04:00:30 PST 2009



On Mon, 9 Nov 2009, Shane Gough wrote:

> For portability support GCC/GAS is almost a must. Between them they cover
> almost all available OS's and platforms. DJGPP comes with a DOS extender (is
> it GO32 or something similar? I don't recall off the top of my head).

go32, yeah.

> In any case, support for DJGPP will restrict the PC processor to a 386 
> or better - maintaining support for previous processors (at the VDI/AES 
> level at least) would be difficult. This would mean a new implementation 
> of VDI and AES that is fully 32 bit and protected mode aware. You could 
> use 'thunking' (the way WIN32 was supported on Win31) but it would add a 
> lot of complexity which would be better to avoid. How would existing 
> (binary only) GEM applications run on top of this?

Thunking the other way, like win95?

> I was wondering about the Atari GEM implementation as well. Ideally it
> should be supported as part of any standard API (from the documents I have
> read there is little functional difference between the TOS/DOS
> implementations of the GEM API). I don't know enough about it to say how
> easy it would be to port applications from Atari GEM to other GEM - from
> what I gather the TOS API is not exactly POSIX like (neither is DOS for that
> matter). Is there the equivelant of GCC (and it's standard C library) for
> TOS?

I have a GCC 3.3.3 crosscompiler that produces TOS binaries.  Meant for 
MiNT, but I've run the binaries on Emutos.

-uso.


More information about the gem-dev mailing list