GitPedia
viciious

viciious/32XDK

Development kit and wiki for the Sega 32X

3 Releases
Latest: 3y ago
20220418 devkit20220418Latest
viciiousviciious·3y ago·June 13, 2023
GitHub

# Chilly Willy's Sega MD/CD/32X devkit http://gendev.spritesmind.net/forum/viewtopic.php?p=37609#p37609 Featuring: gcc 12.1.0 binutils 2.38 newlib 4.2.0 zasm 4.4 The biggest change is zasm - you'll need to update the z80 make commands for it like this ASMZ80 = $(ROOTDIR)/bin/zasm FLAGSZ80 = -bv2 and the first couple lines of the z80 source file like this #target ram #code SRAM, $0000, $2000

Official documentationv1.0
viciiousviciious·5y ago·May 17, 2021
GitHub
20190504 devkit20190504
viciiousviciious·5y ago·May 14, 2021
GitHub

# Chilly Willy's Sega MD/CD/32X devkit http://gendev.spritesmind.net/forum/viewtopic.php?t=3024 Chilly Willy's 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 9.1.0, binutils 2.32, newlib 3.1.0, zasm 3.0.22 To build, make sure your /opt folder can be written by your user. Download chillys-sega-devkit-20190504.7z and decompress the archive into a folder; note that the file is about 101MB, compressed with 7zip. In a terminal, cd to the directory you decompressed everything to, then enter 'make'. It will create the toolchains directory (if need be) and then the sega directory inside that. It will then build c, c++, obj-c, and obj-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. The included samples are Yeti3D example, and the C/C++ TicTacToe examples for MD and 32X. All were tested and work fine on real hardware and Fusion 3.64. Binary version compiled on Ubuntu 20.04 LTS is also provided as a separate download.