# This is a semi-automatic script for building the binary packages. # It is designed to be run on Cygwin, # but it should run fine on Linux and other GNU environments. set -x ARCHIVES_DIR="/cygdrive/i/Compilations GNU/Sources GCC/hatari-0.50" BUILD_DIR=$HOME/compil INSTALL_DIR=/usr PACKAGENAME=hatari VERSION=-0.50 VERSIONPATCH= VERSIONBIN=-bin-mintv4e VERSIONBUILD=-`date +%Y%m%d` cd $BUILD_DIR tar zxvf "$ARCHIVES_DIR/$PACKAGENAME$VERSION.tar.gz" #mv $PACKAGENAME$VERSION $PACKAGENAME$VERSION$VERSIONPATCH #tar zxvf "$ARCHIVES_DIR/$PACKAGENAME$VERSION.tar.gz" cd $PACKAGENAME$VERSION$VERSIONPATCH #bzcat "$ARCHIVES_DIR/$PACKAGENAME$VERSION$VERSIONPATCH.patch.bz2" |patch -p1 #cd .. #sed -i 's|\(CFLAGS="-O3 -fomit-frame-pointer"\)|: #\1|g' configure sed -i 's|\(^#if defined(uae_s64)\)|#undef toint\n\1|g' src/uae-cpu/fpp.c sed -i 's|@datadir@|.|g' Makefile.cnf.in ./configure --host=m68k-atari-mint --prefix=$INSTALL_DIR CC="m68k-atari-mint-gcc -mcpu=5475" SDL_CONFIG=`m68k-atari-mint-gcc -print-prog-name=sdl-config` make DISTDIR=binary-package/$PACKAGENAME$VERSION$VERSIONPATCH mkdir -p $DISTDIR cp src/hatari $DISTDIR/hatari.prg cp -R doc $DISTDIR cp readme.txt $DISTDIR cp gpl.txt $DISTDIR cat <$DISTDIR/readme-first.txt Hatari binary for TOS and MiNT/68k Version 0.50 http://hatari.sourceforge.net/ This document only contains some hints concerning the binary release version for TOS and MiNT/68k. Please refer to the files in the "doc" subdirectory for more information. - This binary release ships with EmuTOS (the file "tos.img"). EmuTOS is an open source TOS clone licensed under the GPL. Please visit the official EmuTOS page (http://emutos.sourceforge.net/) for more information and for obtaining versions in other languages or the source code. However, if you want to play games or watch demos, you should better use an original TOS ROM image since many games and demos do not work very well with EmuTOS yet. - This version of Hatari needs a 68020 or better CPU to run. Of course you also need a very fast CPU. I've only tested it on Aranym (without JIT) - and Hatari is running too slow there to be usable. - You need about 24 MB contiguous free RAM to run the emulator! - You can activate the Hatari configuration dialogs by pressing F10 while the emulator is running - normally it is activated by pressing the F12 key, but there is no F12 on the Atari keyboard, so I had to use the F10 key. Hatari for TOS/MiNT isn't very usable yet, I'm sorry. Just consider it as a proof of concept... That's all for the moment. Please read the documentation in the "doc" subdirectory, too. EOF cat <$DISTDIR/hatari.cfg [Joystick0] bCursorEmulation = FALSE bEnableAutoFire = FALSE [Joystick1] bCursorEmulation = TRUE bEnableAutoFire = FALSE [Keyboard] bDisableKeyRepeat = TRUE nKeymapType = 0 szMappingFileName = [Sound] bEnableSound = FALSE nPlaybackQuality = 0 szYMCaptureFileName = [Memory] nMemorySize = 1 [Floppy] bAutoInsertDiscB = TRUE [HardDisc] bBootFromHardDisc = FALSE bUseHardDiscDirectory = FALSE bUseHardDiscImage = FALSE [TOS-GEM] bUseExtGEMResolutions = FALSE nGEMResolution = 0 nGEMColours = 2 [System] nMinMaxSpeed = 0 nCpuLevel = 0 bCompatibleCpu = FALSE bBlitter = TRUE bPatchTimerD = TRUE [Screen] bFullScreen = FALSE bDoubleSizeWindow = FALSE bAllowOverscan = FALSE bFrameSkip = TRUE ChosenDisplayMode = 3 bCaptureChange = FALSE nFramesPerSecond = 1 bUseHighRes = FALSE bInterlacedScreen = FALSE [RS232] bEnableRS232 = FALSE szOutFileName = /dev/modem szInFileName = /dev/modem [Printer] bEnablePrinting = FALSE bPrintToFile = TRUE [Midi] szMidiOutFileName = /dev/midi bEnableMidi = FALSE EOF m68k-atari-mint-strip $DISTDIR/*.prg unix2dos $DISTDIR/*.txt $DISTDIR/doc/*.txt cd binary-package zip -9 -r $PACKAGENAME$VERSION$VERSIONPATCH$VERSIONBIN$VERSIONBUILD.zip $PACKAGENAME$VERSION$VERSIONPATCH