Data tables for a software tool

John S. Gwynne jsg at jsgpc.mrcday.com
Thu Sep 28 19:20:50 GMT 2000



| It appears that there is an old 680x0 "standard" that limits the data
| space to 32K.  This "standard" creates the data space off the stack by
| making a special stack frame "around" the entire program.  This data is
| referenced by signed 16 bit offsets off of a pointer register.

I could see something like this on an 8086 or an 8-bit cpu, but m68k's
are 32-bit cpu's (even the 68008 with the 8-bit bus). What were they
thinking.... :)


| > Under what OS would that be a problem?
| 
| Heh!  The very OS I'm developing on!  (See above.)  I'm currently
| compiling for the Macintosh 680x0 runtime which inherited the data space
| setup I mentioned above.  The data space can actually be bigger than 32K
| (or 64K), but this requires making the compiler/linker/libraries jump
| through lots of hoops.

The obvious/simplest answers... though not helpful...
(a) change OS (perhaps the mac port of Linux)
(b) change computers
HTH's :)

john gwynne

----------------------------------------------------------------------------
To unsubscribe from gmecm, send "unsubscribe gmecm" (without the quotes)
in the body of a message (not the subject) to majordomo at lists.diy-efi.org




More information about the Gmecm mailing list