Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SDK version that should run on Windows 7 (and possibly Windows 10)
#1
I modified it and tested it successfully on Windows 7 64 bit, check the readme.txt before everything else for some instructions. Feedback welcome.

http://franck.charlet.pagesperso-orange.fr/NGPC_SDK.7z

Have a nice day,
f.
Reply
#2
Thank you so much for this, I was worried I would either have to either do all my development in a Windows 98 virtual machine or pay Toshiba $600 for a new version of their compiler. Out of curiousty, what did you have to modify to get it working?

edit: nvm, looks like you just run thc1 and thc2 manually instead of dealing with cc900 (I might write a wrapper program that does it a bit more "user friendly" than that at some point). Anyway, the default makefile also doesn't work properly with anything using that NGPC framework that everyone uses, so here's one that does:

Code:
.SUFFIXES: .c .asm .rel .abs
NAME = MAXIDEMO
OBJS = \
    maxidemo.rel \
    library.rel \
    

$(NAME).ngp: makefile ngpc.lcf $(OBJS)
    tulink -la -o $(NAME).abs ngpc.lcf system.lib $(OBJS)
    tuconv -Fs24 $(NAME).abs
    s242ngp $(NAME).s24

.c.rel:
    thc1 $< $<.thc
    thc2 -O3 $<.thc $<.asm
    asm900 -w $<.asm -o $@
    rm $<.thc $<.asm

clean:
    del *.rel
    del *.abs
    del *.map
    del *.s24

note that by "works" I mean "spits out a bazillion warnings because it's compiling shit out of order or something" but it does generate a functional binary
Reply
#3
Yes, i modified the SDK a bit to suit my needs like using gnu make or vasmz80 to assemble .s files (for z80 source files) i think it's more convenient that way, i also had to make a new mot2bin which needed to be compliant with TUCONV's output (the original mot2bin was à 16 bit application). CC900 refuses to work on Windows 7 (it can't open the subsidiary exes).
Reply
#4
Looks like i could have used 's242ngp', i didn't even know what it was for.
Reply
#5
Hi,
I'll try this SDK version this evening on my w10 pc.
btw, I was trying another way to be able to code easily for ngpc: I've ported Ivan's NGPC libraries to win32 and added z80 emu and sound part from "race!"
The result is available here: https://www.dropbox.com/s/ddg0yt60tdj8ab...c.zip?dl=0
I can compile and run on NGPC or Win32 (mingw or VS2017).
It's much easier to debug with Visual Studio...

Thor
Reply
#6
This is really cool to see new developments on this stuff again!!!

I wish I had time to play with the stuff, but (ugh) I seem like I'm barely keeping up with things I need to get done lately.

Thanks everyone!
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply
#7
Tested on my PC Windows 10 with the sqrxz code above and it works with few changes (removing Sys* function from library.c)
Great!
Q: How to add -D stuff in CFLAGS?
Reply
#8
Good question.
I've uploaded a new version (same url) just use something like:

CFLAGS = -DDEBUG
CFLAGS2 = -O3
Reply
#9
merci bien! (et ça marche!)
Reply
#10
Found a link to Toshiba's newest 900H C compiler that does work on Windows 7. Not sure it's the most "legitimate" way to get a hold of the software, but I don't feel like paying $600 for a compiler so this seems like a pretty good option for me.

Just the T900 folder (Take Sebastian Mihai's devkit and replace the T900 folder with this one): https://drive.google.com/open?id=1BVpU8n...uPwbW1aM0o

I found the installer at http://ftp.opticonusa.com/Toshiba/ if you want to install it yourself (all it does is put that T900 folder at C:\Program Files\Toshiba though)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)