Official GEMS development kit + an unreleased game

For anything related to sound (YM2612, PSG, Z80, PCM...)

Moderator: BigEvilCorporation

org
Newbie
Posts: 8
Joined: Wed Dec 12, 2007 8:08 am

Post by org » Wed Dec 19, 2007 1:54 pm

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.

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef » Thu Dec 20, 2007 10:09 pm

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.

neozeed
Interested
Posts: 11
Joined: Fri Sep 27, 2013 12:29 am
Location: hong kong
Contact:

Post by neozeed » Fri Sep 27, 2013 12:49 am

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!

r57shell
Very interested
Posts: 478
Joined: Sun Dec 23, 2012 1:30 pm
Location: Russia
Contact:

Post by r57shell » Fri Sep 27, 2013 2:15 am

I know many about GEMS...

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

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

powerofrecall
Very interested
Posts: 237
Joined: Fri Apr 17, 2009 7:35 pm
Location: USA

Post by powerofrecall » Sat Oct 12, 2013 3:56 pm

Does anyone still have that old Microtec C compiler? The old link is dead and I'd like to look at it.

Post Reply