Home | Forums | What's new | Resources | |
My current devkit for MD/CD/32X |
Chilly Willy - Aug 18, 2022 |
Chilly Willy | Aug 18, 2022 | |||||||
I'm posting an arc of the source needed to build my latest toolchain, along with a few examples. All the needed code is included together with a makefile to build everything at once. The toolchain is comprised of gcc 12.1.0 binutils 2.38 newlib 4.2.0 zasm 4.4 Those are all the latest releases. To build, make sure your /opt folder can be written by your user. Download this archive... and decompress into a folder; note that the file is over 100 MB, compressed with 7zip. In a terminal, cd to the directory you decompressed everything to, then enter 'make'. It will create the toolchain's directory (if need be) and then the sega directory inside that. It will then build c and c++ compilers for SH2 and 68000, using newlib for the standard c libraries. It will then create a bin directory in toolchains/sega, build zasm, and copy it into that bin directory. It will then copy the bootblocks and ldscripts directories into toolchains/sega. Once it's done, you can clean up the build folder by running 'make clean'. Note that the examples aren't copied into the toolchain. Once the toolchain is done, you can build the examples to check that everything is working. I included my Yeti3D example, and the C/C++ TicTacToe examples for MD and 32X. All were tested on my system under Xubuntu 20.04 and work fine on real hardware and Fusion 3.64. I've also been building Doom 32X Resurrection and OpenLara with this for more than a month without issue, so it should be safe to update if you're using one of my older toolchains. Note that zasm 4.x introduced some changes - you need to change the makefile targeting the z80 like this
and the first couple lines of the z80 source file like this
|
vbt | Aug 24, 2022 | |||||
Thanks @Chilly Willy..., how good is GCC 12.1 for SH2 ? GCC team is so fast, so they already released 12.2:/// |
dibz | Aug 26, 2022 | |||||
Maybe they're using Semver versioning? If that's the case, the major version bumps could imply they changed something that could break something. |
LG30 | Aug 27, 2022 | |||
Hello and congratulations for your work and your tools. I would like to know if you have at your disposal an encoder for SGA video files. Thank you for your answer. |
LG30 | Mar 16, 2025 | |||
And could you share the disassembled sources of the cinepak driver for the SCD? Thank you in advance. |