EtchedPixels Posted April 3, 2022 Share Posted April 3, 2022 I've been putting together an RC2014 based TMS9995 system and whilst waiting for a 12Mhz can oscillator to turn up I decided to do something about tools. I've retargetted Ragge's ANSI pcc to the TMS9995, including keeping the workspace fixed (not using BLWP chains down the stack), along with the ex MWC assembler kit I use for other things like Z8 and 1802, and my linker. It's good enough at this point to build all the Fuzix codebase without exploding or generating invalid assembler and it's correct enough I've gott Fuzix running to the point of starting up, finding and loading init from the file systeem and making a system call before crashing on the syscall return path in some of my asm glue. https://github.com/EtchedPixels/pcc-tms9995-support has the support files and explains how to get and build the compiler phase, assembler and linker. At this point it I imagine there are still going to be a few bugs to find and I have one known bug with varargs and the register argument passing scheme to tidy up. It's a nice clean and small compiler kit so hopefully any bugs are easy to swat. Whilst it's all set up to build for Linux there isn't anything in there that ought to be non-portable code, so it ought to build on a Mac, and Windows has grown Linux emulation. It in theory also knows how to build 9900 code and to generate TI99/4A EA5 files (euwch...) but I've only tested that so far on building a boot loader for the Geneve to replace MDOS. Alan 6 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.