Page 4 of 4

Posted: Wed Dec 19, 2007 1:54 pm
by org
I giving up, after some fights with compiler options and its linker script. I found problem: it is not able to resident static variables in RAM space (0xFF0000) :( I even tryed A5-relative addressing, but compiler cryes with many errors like "illegal 16-bit constant size".
I hope drx will release his version of this tools (seems this source is originally compiled by earlier 3.X version, rather mine, which is 4.4).

Code: Select all

Do you know if it can pass parameters in register ?
I'm not sure, but register modifier is there.

Posted: Thu Dec 20, 2007 10:09 pm
by Stef
org wrote:I giving up, after some fights with compiler options and its linker script. I found problem: it is not able to resident static variables in RAM space (0xFF0000) :( I even tryed A5-relative addressing, but compiler cryes with many errors like "illegal 16-bit constant size".
I hope drx will release his version of this tools (seems this source is originally compiled by earlier 3.X version, rather mine, which is 4.4).

Code: Select all

Do you know if it can pass parameters in register ?
I'm not sure, but register modifier is there.
Unfortunatly this is simply ignored by GCC :-/
static variable are also missing in GCC... i tried to fix the LD file to allow it but without success yet.

Posted: Fri Sep 27, 2013 12:49 am
by neozeed
org wrote:drx
There must be some sound present, according to source code, so I also tried to compile it with Microtec compiler, but I have missed graphics somewhere (SEGA logo and sprites), dont know why :(

My resources:

http://org.dremora.com/SMD/Microtec_C_Compiler.rar
http://org.dremora.com/SMD/M68000PRM.pdf
http://org.dremora.com/SMD/GEMS.rar (I replaced old 2.0 GEMS in SHIP directory to the new 2.5 from GEMS directory)
http://org.dremora.com/SMD/srec_120.zip
http://org.dremora.com/SMD/FixCheckSum.rar

To compile demo, run test.bat in GEMS.rar
You must replace paths to your MCC68K in test.bat and ship.cmd also.

SHIP.BIN in GEMS.rar is my compilation and SHIPORIG.BIN is made by drx.

Regarding IO port access under XP: I think WinIO library from http://www.internals.com/ can be useful.
I know this thread is old, but is there any chance that anyone still has these files? I'm interested in trying to use GEMS, but it seems that the toolset needed is long lost (again)....

Or if anyone has any guide to using GEMS?

Thanks!

Posted: Fri Sep 27, 2013 2:15 am
by r57shell
I know many about GEMS...

Here about official files:
viewtopic.php?t=1349

here is my thread:
viewtopic.php?t=1442

Posted: Sat Oct 12, 2013 3:56 pm
by powerofrecall
Does anyone still have that old Microtec C compiler? The old link is dead and I'd like to look at it.