[Coco] [Color Computer] OS-9 Question, GCC stuff

James Diffendaffer jdiffendaffer at yahoo.com
Fri Jul 22 16:35:56 EDT 2005


What limitations does OS-9 place on the use of page 0 and DP usage by
programs?  I'm guessing Page 0 is reserved for the OS but the DP would
be ok to use for a user program... but I don't have any OS-9 docs so I
wan't to make sure.  

GCC 68HC11 places it's software registers on page 0 for fast access. 
I figured I could place the soft registers in the GCC startup code or
at the start of the data segment and point the DP there to access
them.  Without that GCC's code will be significantly slower.

I've gone throught the instruction sets of the 09 and HC11.  The
differences are managable so far.  The remaining issue is whether or
not the compiler uses address modes that the 09 doesn't support for
the same instructions. 

To resolve the problems I was having with Cygwin I had to delete my
entire install and install from a different mirror.  Once I did that
the GCC configuration and make seemed to work great.  Something was
wrong with a file on the mirror I had been using and it was causing
problems with my install.  

The make took a while (I walked away after 20 minutes) to make the
entire GCC project on my 2.4GHz system the first time so anyone
planning to build everything should expect to start it and check back
later.






Brought to you by the 6809, the 6803 and their cousins! 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ColorComputer/

<*> To unsubscribe from this group, send an email to:
    ColorComputer-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the Coco mailing list