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 ?
Moderator: BigEvilCorporation
Code: Select all
Do you know if it can pass parameters in register ?
Unfortunatly this is simply ignored by GCC :-/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).
I'm not sure, but register modifier is there.Code: Select all
Do you know if it can pass parameters in register ?
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)....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.