Installation of S.Ha.R.K. 1.4
--------------------------------------------------
by Giacomo Guidi
Apr 26, 2004
--------------------------------------------------
>> Linux:
-----------------------------------------------------------------------------
1) Download shark-1.4.tar.bz2 from the S.Ha.R.K. web site
2) tar xvjf shark-1.4.tar.bz2
3) cd shark
4) Edit shark.cfg
This step is needed to setup the compiler
options and to optimize the kernel for faster
and more precise time computation.
5) make
S.Ha.R.K. is compiled
6) cd demos
7) make
The demos are compiled. You can run the demos using
the FreeDOS bootdisk with x.exe or directly load a demo
thought Grub.
>> DOS:
-----------------------------------------------------------------------------
In DOS real mode it's important to load smartdrive (smartdrv 16000 /x)
to speedup all these steps.
IMPORTANT: You need DOSLFN.ZIP (http://shark.sssup.it/distrib/doslfn.zip),
a TSR to use long name files under DOS real mode. Yon don't need it only
if you are inside a DOS emulation window.
(see Windows Millennium/NT/2000/XP paragraph)
1) Download unzip32.exe, mindj333.zip and shark14.zip from
the S.Ha.R.K. web site.
2) unzip32 -o mindj333.zip -d c:
(if you already have PkZip, pkunzip -d -o mindj333.zip c:\)
3) cd c:\djgpp
(if you change this directory name or position, you have also to
modify the .bat files)
4) install.bat
5) setvar.bat
(this script automtically set the environement variables
for DJGPP, you must run this files every time you reboot
and start a compile session)
Now DJGPP is installed and ready to compile shark
6) unzip32 -o shark14.zip -d c:
(or pkunzip -d -o shark14.zip c:\)
7) cd c:\shark
8) Edit shark.cfg:
This step is needed to setup the compiler
options and to optimize the kernel for faster
and more precise time computation.
9) make
S.Ha.R.K. is compiled
10) cd demos
11) make
The demos are compiled. If you want to test a demo
12) cd
13) x
In real DOS environement, you can compile and run a demos without reboot.
>> Windows version with DOS real mode support (Windows 95/98):
-----------------------------------------------------------------------------
1) Download unzip32.exe,mindj333.zip and shark14.zip from the
S.Ha.R.K. web site.
2) Go to DOS real mode
3) Follow the previous procedure for normal DOS environement
PAY ATTENTION: DON'T UNZIP mindj333.zip AND shark14.zip INSIDE WINDOWS,
LIKE USING WINZIP OR PKUNZIP FROM DOS EMULATION WINDOWS. THIS WILL CAUSE
ERRORS DUE TO THE FAT32 LONG NAMES.
>> Windows Millennium/NT/2000/XP:
-----------------------------------------------------------------------------
1) Download unzip32.exe,mindj333.zip and shark14.zip from the
S.Ha.R.K. web site.
2) Go in a DOS emulation window (DOS prompt)
3) Follow the previous procedure for normal DOS environement
The big difference between this install and the others is that YOU
CANNOT EXECUTE X.EXE EXTENDER INSIDE A DOS EMULATION WINDOW. So to
test a compiled demo you have to reboot with FreeDOS bootdisk or
something similar.