Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SDK version that should run on Windows 7 (and possibly Windows 10)
#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


Messages In This Thread
RE: SDK version that should run on Windows 7 (and possibly Windows 10) - by shicky256 - 12-18-2017, 09:27 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)