[Coco] [Color Computer] Re: GCC 6809 Libs question
James Diffendaffer
jdiffendaffer at yahoo.com
Thu May 18 11:02:08 EDT 2006
>Is this the one on my site?
Yes.
>If so, it doesn't cover disk IO at all,
>just console IO. System specific stuff is incorporated into the
>various components, it wasn't written to be extremely portable.
What system was this for? The comments say "monitor" in the assembly
calls to what I assume is the ROM. Vectrex? Flex?
Just curious.
After looking at the assembly I was surprised that the B register was
used for the return code instead of A. I understand why but the
compiler would be more difficult to port to other 68xx cpus.
I guess that's someone elses problem though.
It does mean changing more code for use with coco ROM calls though
since they tend to use A. I don't think they were thinking about
compilers back then and were used to the 6502.
I have patched some of the routines for use on the coco and will post
them somewhere once I get further. The changes aren't difficult and
the code should also work for the Dragon and CP400 if POLCAT and
PUTCHAR are the same. It's pretty simple stuff really.
I'll need to do the disk I/O stuff, that will be tougher but I've
already written a lot of the assembly for input.
I still have to see if the GCC 6809 setup works under MinGW. I might
have to do some things by hand since the MinGW environment is pretty
limited.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Home is just a click away. Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
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