Author |
Message |
- Joined: 20 Apr 2018
- Posts: 6
- Location: Canada
|
New to forums but want to try and make a master system game.
Posted: Fri Apr 20, 2018 3:22 pm
|
I already use sdcc for colecovision development
I'm going to attempt to see if I make a project for sega master system. I got the devkitsms install and setup and was able to make the hello world sample compile.
I'm sure I'll be asking a few questions here & there.
I had colecovision first & my friend got the sega master system so we played that quite a bit too. I've recently become aware hom compatible these to systems were sg1000 & coleco are very similar and the master system is backwards compatible with the sg1000.
Would be cool just to see if I could reuse much of the coleco project and get it running on a master system.
|
|
|
- Joined: 29 Mar 2012
- Posts: 886
- Location: Spain
|
Posted: Sun Apr 22, 2018 7:57 am
|
Welcome to the forum and don't hesitate to ask!
|
|
|
- Joined: 05 Sep 2013
- Posts: 3827
- Location: Stockholm, Sweden
|
Posted: Wed May 02, 2018 12:20 pm
|
digress wrote Would be cool just to see if I could reuse much of the coleco project and get it running on a master system.
I think you'll have to recreate the graphical assets (Master System's 'mode4' graphics are different)... or you can code an SG-1000 game retaining the original graphics.
|
|
|
- Joined: 20 Apr 2018
- Posts: 6
- Location: Canada
|
Posted: Sun May 20, 2018 9:13 pm
|
I things when converting ihx2sms and never completes. Not sure why it worked when I first installed it but now just hangs forever at that last step.
C:\cygwin64\home\gerry\devkitSMS\hello>sdcc -c -mz80 hello-sdcc.c hello-sdcc.rel
C:\cygwin64\home\gerry\devkitSMS\hello>sdcc -o output.ihx -mz80 --data-loc 0xC00
0 --no-std-crt0 crt0_sms.rel hello-sdcc.rel SMSlib.lib
C:\cygwin64\home\gerry\devkitSMS\hello>ihx2sms output.ihx output.sms
*** sverx's ihx2sms converter ***
|
|
|
- Joined: 29 Mar 2012
- Posts: 886
- Location: Spain
|
Posted: Mon May 21, 2018 6:26 am
|
is it getting stuck there? no messages nor other feedback?
|
|
|
- Joined: 05 Sep 2013
- Posts: 3827
- Location: Stockholm, Sweden
|
Posted: Mon May 21, 2018 8:14 am
|
try latest version. if it fails too, please send me your ihx file - I'll test what's wrong with my converter :|
|
|
|
- Joined: 20 Apr 2018
- Posts: 6
- Location: Canada
|
Posted: Mon May 28, 2018 11:16 pm
|
sverx wrote try latest version. if it fails too, please send me your ihx file - I'll test what's wrong with my converter :|
Yeah that's it the above is the dos windows output and it just hangs with the ohx2sms line forever. Maybe it's something on my system interferrening like norton etc.
This had previously worked but this was a new install of the devkit setup
Here I zipped the hello directory.
|
|
|
- Joined: 05 Sep 2013
- Posts: 3827
- Location: Stockholm, Sweden
|
Posted: Tue May 29, 2018 7:43 am
|
it hangs on my PC as well.
I see the ihx file has *comments* in it, and it's something I didn't see before. Are you using SDCC, right? Which version are you using?
you can check that with:
sdcc -v
|
|
|
- Joined: 20 Apr 2018
- Posts: 6
- Location: Canada
|
Posted: Tue May 29, 2018 5:01 pm
|
$ sdcc -v
SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8 3.6.0 #9615 (MINGW64)
published under GNU General Public License (GPL)
looks like 3.6
sverx wrote it hangs on my PC as well.
I see the ihx file has *comments* in it, and it's something I didn't see before. Are you using SDCC, right? Which version are you using?
you can check that with:
sdcc -v
|
|
|
- Joined: 05 Sep 2013
- Posts: 3827
- Location: Stockholm, Sweden
|
Posted: Wed May 30, 2018 8:31 am
|
Please update that - it's just too old.
|
|
|
- Joined: 20 Apr 2018
- Posts: 6
- Location: Canada
|
Finally got it to work again.
Posted: Mon Jul 09, 2018 1:14 pm
|
sverx wrote Please update that - it's just too old.
so I finally got it to compile to hello world example again. sdcc was too old I think and I got the lastest version of the devkit so I can try something more complex next.
Thanks
|
|
|
- Joined: 05 Sep 2013
- Posts: 3827
- Location: Stockholm, Sweden
|
Posted: Tue Jul 10, 2018 8:00 am
|
sure! keep us posted :)
|
|
|