It can't be the startup code, as the only difference in the toolset is the linker.
my rebuild of HCC/TOP/JAS + the 'segald' give a working exectuable, while mine has the stack in the wrong place.
While messing more in ld I did notice this in endsyms:
endsyms()
_etext 15B0:A2
_edata 15D0:A4
_end ...
Search found 11 matches
- Thu Apr 20, 2017 6:50 am
- Forum: Tools
- Topic: Sozobon source code changes?
- Replies: 17
- Views: 35710
- Thu Apr 20, 2017 2:59 am
- Forum: Tools
- Topic: Sozobon source code changes?
- Replies: 17
- Views: 35710
Re: Sozobon source code changes?
If you want, I can post the source code. ( if I can find it :D )
I think it might be a problem with your startup.s file, maybe deleted a space in the "title" area? thus throwing off the offsets.
If you can find it, that'd be very interesting, and cool as I wanted to run this in a super ...
I think it might be a problem with your startup.s file, maybe deleted a space in the "title" area? thus throwing off the offsets.
If you can find it, that'd be very interesting, and cool as I wanted to run this in a super ...
- Tue Jun 07, 2016 11:50 am
- Forum: Tools
- Topic: Sozobon source code changes?
- Replies: 17
- Views: 35710
Re: Sozobon source code changes?
I put my crap work up on sourceforge .
The linker is doing something different at relocations I think. Maybe it is the stack/ram being at 0xff0000? I can't figure out what 004926 is...
Comparing files demo5.bin and WORKING\DEMO5.BIN
0000035D: 00 FF
0000035E: 49 00
0000035F: 26 00
000006EB: 00 FF ...
The linker is doing something different at relocations I think. Maybe it is the stack/ram being at 0xff0000? I can't figure out what 004926 is...
Comparing files demo5.bin and WORKING\DEMO5.BIN
0000035D: 00 FF
0000035E: 49 00
0000035F: 26 00
000006EB: 00 FF ...
- Fri Apr 15, 2016 2:49 am
- Forum: Sound
- Topic: New Documentation: An authoritative reference on the YM2612
- Replies: 865
- Views: 2738060
Re: New Documentation: An authoritative reference on the YM2612
I'm sure everyone's seen this, but the ym2151.c in mame is now GPL!
Commits on Jan 21, 2016
@mmicko
Setting GPL license for Jarek Burczynski, by his request (nw)
https://github.com/mamedev/mame/commit/ec5b9deadee9a2f95e0691f7246a8f4663ba3ba9
// license:GPL-2.0+
// copyright-holders:Jarek ...
Commits on Jan 21, 2016
@mmicko
Setting GPL license for Jarek Burczynski, by his request (nw)
https://github.com/mamedev/mame/commit/ec5b9deadee9a2f95e0691f7246a8f4663ba3ba9
// license:GPL-2.0+
// copyright-holders:Jarek ...
- Wed Mar 30, 2016 3:47 am
- Forum: Tools
- Topic: Sozobon source code changes?
- Replies: 17
- Views: 35710
Re: Sozobon source code changes?
ehaliewicz wrote:Do you specifically need a C compiler or just runtime code generation of some sort?
I wanted a tiny and portable c compiler (linker and assembler ).
I may just give up, or start debugging.
- Mon Mar 28, 2016 4:43 pm
- Forum: Tools
- Topic: Sozobon source code changes?
- Replies: 17
- Views: 35710
Re: Sozobon source code changes?
Oh yeah sorry i didn't saw you wanted something running on M68K, i guess you can dig in the Amiga / Atari C compiler.
VBCC is a nice compiler and you can get the sources from here:
http://www.ibaug.de/vbcc/vbcc.tar.gz
VBCC hompage :
http://www.compilers.de/vbcc.html
The problem with Sobozon C ...
VBCC is a nice compiler and you can get the sources from here:
http://www.ibaug.de/vbcc/vbcc.tar.gz
VBCC hompage :
http://www.compilers.de/vbcc.html
The problem with Sobozon C ...
- Sun Mar 27, 2016 5:00 pm
- Forum: Tools
- Topic: Sozobon source code changes?
- Replies: 17
- Views: 35710
Re: Sozobon source code changes?
What Operating are you using ? If you are on Windows you can pick up the bin folder of SGDK, it includes a minimalist GCC 3.4.6 version which allow you to compile C code for Sega Genesis. You will have to remove all useless files / tools used by SGDK.
CP/M 68k, or something more bare/raw. I ...
CP/M 68k, or something more bare/raw. I ...
- Sun Mar 27, 2016 4:31 am
- Forum: Tools
- Topic: Sozobon source code changes?
- Replies: 17
- Views: 35710
Re: Sozobon source code changes?
I looked in my archive : got only the binaries
I think paul never released the source...
Oh well it was worth a shot. I'll either have to run JAS under a debugger to figure out why it has issues with 32k, or just find another assembler capable of assembling Sozobon... Or see just how hard it is ...
I think paul never released the source...
Oh well it was worth a shot. I'll either have to run JAS under a debugger to figure out why it has issues with 32k, or just find another assembler capable of assembling Sozobon... Or see just how hard it is ...
- Sat Mar 26, 2016 2:26 am
- Forum: Tools
- Topic: Sozobon source code changes?
- Replies: 17
- Views: 35710
Re: Sozobon source code changes?
From the included 'readme' of soz_3.zip
Sozobon C Compiler, release 3.0
03 Jan 2001
by P.Lee
Distribued by Kaneda
Compiler Limits
Some limits imposed by the Sozobon compiler were:
* Include files may not be nested more than 8 deep.
* The assembler will have problems with ...
Sozobon C Compiler, release 3.0
03 Jan 2001
by P.Lee
Distribued by Kaneda
Compiler Limits
Some limits imposed by the Sozobon compiler were:
* Include files may not be nested more than 8 deep.
* The assembler will have problems with ...
- Fri Mar 25, 2016 5:23 pm
- Forum: Tools
- Topic: Sozobon source code changes?
- Replies: 17
- Views: 35710
Sozobon source code changes?
I was wondering if the changes to the linker, and assembler to the Sozobon compiler were ever posted anywhere?
I figured the linker just omits the headder, since it is making a raw image. But the real fun is in JAS or namely how the modified version can assemble stuff greater than 32kb.
I know I ...
I figured the linker just omits the headder, since it is making a raw image. But the real fun is in JAS or namely how the modified version can assemble stuff greater than 32kb.
I know I ...
- Fri Sep 27, 2013 12:49 am
- Forum: Sound
- Topic: Official GEMS development kit + an unreleased game
- Replies: 49
- Views: 64199