Die Dreamshell ist das Betriebssystem für den Sega Dreamcast, das auf dem KallistiOS-Kernel basiert. Es verfügt über ein dynamisch ladbares modulares System und eine Schnittstelle zum Erstellen von Anwendungen mit XML-Benutzeroberfläche und sowohl C/C++- als auch Lua-Skripten. Beispiele finden Sie in vorgefertigten Anwendungen und Modulen, Treibern für verschiedene Geräte, Formate und Schnittstellen. Beispiele für Audio- und Videodekodierung, Komprimierung, Paketierung, Bindung, Netzwerk, Emulation, Skripte und mehr. Vom Hardcore-Assembler auf niedriger Ebene bis hin zu Anwendungen auf hoher Ebene. Es gibt auch ein großes Unterprojekt, nämlich den ISO Loader, der die Emulation von BIOS-Systemaufrufen, CDDA-Wiedergabe und VMU enthält, außerdem kann er Interrupts für verschiedene SDKs und mehr einbinden.
sudo apt update
sudo apt install -y gawk patch bzip2 tar make cmake pkg-config
sudo apt install -y gettext wget bison flex sed meson ninja-build
sudo apt install -y build-essential diffutils curl python3 rake
sudo apt install -y genisoimage squashfs-tools texinfo git
sudo apt install -y libgmp-dev libmpfr-dev libmpc-dev libelf-dev libisofs-dev
sudo apt install -y libpng-dev libjpeg-dev liblzo2-dev liblua5.2-dev
cd /tmp
git clone https://github.com/LuaDist/tolua.git
cd /tmp/tolua && mkdir build && cd ./build
cmake ../ && make && sudo make install sudo mkdir -p /usr/local/dc/kos
sudo chown -R $(id -u):$(id -g) /usr/local/dc
cd /usr/local/dc/kos
git clone https://github.com/KallistiOS/kos-ports.git
git clone https://github.com/KallistiOS/KallistiOS.git kos
cd /usr/local/dc/kos/kos
git clone https://github.com/DC-SWAT/DreamShell.git ds
git checkout `cat ds/sdk/doc/KallistiOS.txt`
cp ds/sdk/toolchain/environ.sh environ.sh
cp ds/sdk/toolchain/patches/*.diff utils/dc-chain/patches sudo mkdir -p /opt/toolchains/dc
sudo chown -R $(id -u):$(id -g) /opt/toolchains/dc
cd /usr/local/dc/kos/kos/utils/dc-chain
cp Makefile.default.cfg Makefile.cfg
make cd /usr/local/dc/kos/kos
source ./environ.sh
make && cd ../kos-ports && ./utils/build-all.sh
cd ${KOS_BASE}/ds/sdk/bin/src && make && make install
cd ${KOS_BASE}/ds
ln -nsf `which tolua` sdk/bin/tolua
ln -nsf `which mkisofs` sdk/bin/mkisofs
ln -nsf `which mksquashfs` sdk/bin/mksquashfs cd /usr/local/dc/kos/kos/ds && source ../environ.sh make build make clean-all make release make update make update-build make toolchain make cd ${KOS_BASE}/ds/modules && make
cd ${KOS_BASE}/ds/commands && make
cd ${KOS_BASE}/ds/applications && make cd ${KOS_BASE}/ds/firmware/bootloader && make && make release
cd ${KOS_BASE}/ds/firmware/isoldr && make && make installmake runmake run-serialmake lxdreammake nulldcmake flycastmake cdi