Report inner exceptions in saved stack traces
[jpcrr.git] / BRIEF-INSTALLATION-INSTRUCTIONS
blobb3fe77e16c74b774e8384664224cb5c1cf130912
1 JPC-RR quick installation instructions:
3 1) Ensure you have JDK6 installed, if not, install it (no, JRE or JDK5 is
4 not sufficient)
6 2) Compile the source. './build.sh' (Unix) or 'build' (windows).
8 3) Get BIOS/DOS disk images. Original JPC source code
9 (http://www-jpc.physics.ox.ac.uk/download_download.html) is good place
10 to rip those from. They are files bios.bin, vgabios.bin and floppy.img.
12 4) Change directory to top of source tree.
14 5) Launch the emulator
16 'java JPCApplication -library disklibrary -autoexec assemble.jpcrrinit'
18 disklibrary is directory where disk images are found and stored
19 (if it doesn't exist, it will be created).
20 assemble.jpcrrinit contains reasonable set of initialization commands.
22 If you run emulator from directory other than the source tree, then:
24 -Set CLASSPATH to '<directory-jpcrr-source-is>:.' (Unix) or
25 '<directory-jpcrr-source-is>;.' (Windows)
26 - Replace 'disklibrary' with path to library directory.
27 - Replace 'assemble.jpcrrinit' with path to corresponding file.
29 First time you start, you may get complaint about being unable
30 to find BIOS image. Just dismiss it.
32 5) Convert the images:
34 Import BIOS image: Select Drives  -> Import Image and input
36 Image Name: BIOS
37 Image File: <path-to-bios.bin>
38 Image Type: BIOS image
40 Then hit "import". Pop-up should say that image was imported.
42 Then same thing for VGABIOS, this time values are:
44 Image Name: VGABIOS
45 Image File: <path-to-vgabios.bin>
46 Image Type: BIOS image
48 Import FreeDOS image, values are:
50 Image Name: FreeDOS
51 Image File: <path-to-floppy.img>
52 Image Type: Floppy disk
53 Standard geometry: Checked
55 Note that BIOS should be named 'BIOS' and vgabios should be named
56 'VGABIOS' as those are the defaults for main system BIOS / VGA BIOS.
58 If the boot floppy is oddly sized, you may have to specify geometry
59 manually.
61 6) Grab game files and make images out of these:
63 File -> Import image and fill the form. The image file may be directory.
65 I use 16 sides,63 sectors,16 tracks if game fits into that (it provodes
66 ~8MB space). If it doesn't then bump tracks to 128 (~64MB) or even 1023
67 (~512MB).
69 The emulator should now be set up (File->Assemble)
71 7) To relaunch the emulator, use the same command as in 4)
73 'java JPCApplication -library disklibrary -autoexec assemble.jpcrrinit'
75 Replace parameters with appropriate values if needed (and set CLASSPATH
76 if needed, see 4)).
78 Hints:
80 - DOSIDLE interferes with emulator. Either skip autoexec.bat coming
81 on FreeDOS that comes with JPC or confirm line by line and leave
82 that out.
83 - Putting the HD as HDD (4th hard drive) avoids BIOS having to timeout
84 HDD, speeding up boot.