forked from catseye/JaC64
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index_jac64.html
119 lines (104 loc) · 4.82 KB
/
index_jac64.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<html>
<head>
</head>
<body >
<h3>JaC64 Test page</h3>
Thanks for trying JaC64, a 100% Java C64 emulator. You can find more
information about JaC64 at
<a href=http://www.jac64.com/>jac64.com</a>, and (old site)
<a href=http://www.dreamfabric.com/c64/>dreamfabric</a>.
If everything is working, you should see a running JaC64 below
(and some instructions). <p>
<p>
<center id=center> <applet id="c64" name="c64" code="C64Applet.class"
archive="c64small.jar" WIDTH="768" HEIGHT ="568" MAYSCRIPT>
<param name="soundOn" value="1">
<param name="doubleScreen" value="1">
<!-- <param name="autostartDisk" value="games/delta.t64"> -->
<!-- <param name="autostartPGM" value=random> <!--"DELTA.BIN"> -->
<param name="extendedKeyboard" value="1">
<param name="hotkey-f1" value='enterText("load \"$\",8~run~")'>
<!-- <param name="autostartProgram" value="1"> -->
</applet></center><br>
<param name="autostartProgram" value="0">
<a href="javascript:document.c64.reset()">Reset</a>,
<a href="javascript:document.c64.setStick(0)">Joystick 0</a>,
<a href="javascript:document.c64.setStick(1)">Joystick 1</a>,
<a href="javascript:document.c64.setSoundOn(false)">Sound off</a>,
<a href="javascript:document.c64.setSoundOn(true)">Sound on</a><br>
<a href="javascript:document.c64.pause()">Pause</a>,
<a href="javascript:document.c64.unpause()">unPause</a>,
<a href="javascript:document.c64.poke(53280,1)">poke 53280,1</a>,
<a href="javascript:document.c64.fullscreen(true)">Fullscreen</a><br>
<a href="javascript:document.c64.loadGame(0)">Load Gorf</a>,
<p>
<a href="javascript:document.c64.loadGame(0)">Load Gorf</a>,
<a href="javascript:document.c64.loadGame(1)">Load Blue Max</a>,
<a href="javascript:document.c64.loadPGM('c64programs/Bonzieed.prg')">Load Demo</a>,
<a href="javascript:document.c64.loadPGM('c64programs/jeroen_tel_music.prg')">Load Music</a>
<a href="javascript:document.c64.insertDisk('c64programs/games1.d64')">Insert disk1</a>
<a href="javascript:document.c64.insertDisk('c64programs/jac64d.d64')">Insert disk2</a>
<a href="javascript:document.c64.enterText('load "$",8~list~')">Load dir...</a>
<a href="javascript:document.c64.setSIDEmulation(1)">Resid 6581</a>,
<a href="javascript:document.c64.setSIDEmulation(2)">Resid 8581</a>,
<a href="javascript:document.c64.setSIDEmulation(3)">JaC64 SID</a>,
<h4>JaC64 Features and Known Bugs</h4>
<b>Feature:</b>
<ul>
<li>CPU 6510, most of the 6510/02 instructions (inluding many undocumented)
<li>RAM/ROM and Bank Switching (ROM - on / off, IO on / off)
<li>Interrupts (IRQ, NMI) from raster, sprites, CIA timers, etc.
<li>VIC Graphics (text modes, hi-res, multicolor) - instruction/cycle
based, sprites (normal, expanded, multicolor, collisions)
<li>SID (6581) Sound, with support for most of the SID features such as
3-oscillators/4 waveforms + mix, ADSR, synch., ring-mod, filters, etc.
<li>CIA - timers
<li>Keyboard & Joystick
<li>Support for .d64 .prg/p00 and .t64 files (directly into memory)
<li>Support for 1541 - e.g. loading .d64 files from an emulated
diskdrive
<li>New fullscreen mode activated/deactivated by pressing control-f12
</ul>
<b>Known Bugs:</b>
<ul>
<li> VIC-II emulation is not yet 100% correct (see the demos/music here)
<li> Some instruction are also not 100% correct (and/or interrupts handling)
<li> SID is not 100% cycle correct
</ul>
<h4>Requirements to run the applet</h4>
A JRE (1.4 or better) is required, and you need to have a folder
called "roms" with the rom files for the C64 for the applet to work.
From version 1.0 Beta 3 this folder is no longer needed since the rom
files are included in the jar file.
<h4>Controlling the C64</h4>
Joystick emulation:
<ul>
<li>Up: Numpad 8 or arrow up
<li>Down: Numpad 5,2 or arrow down
<li>Left: Numpad 4 or arrow left
<li>Right: Numpad 6 or arrow right
<li>Fire: Numpad 0 or shift
</ul>
Other important keys
<ul>
<li>ctrl-alt-backspace: resets the emulator
<li>ctrl-f12: toggle fullscreen mode
<li>ESC: run-stop
</ul>
<h4>Parameters to the applet</h4>
<table>
<tr><th>Parameter</th><th>Usage</th></tr>
<tr><td>autostartDisk = URL/File</td><td>The disk/tape image to load file from</td></tr>
<tr><td>autostartPGM = Filename</td><td>The file from the disk/tape image</td></tr>
<tr><td>autostartProgram = file number</td><td>The file number (id) of the program in the games.txt file</td></tr>
<tr><td>soundOn = 0/1</td><td>The status of sound (0 mutes applet)</td></tr>
<tr><td>doubleScreen = 0/1</td><td>if set to 1 the emulator will be running
in double size mode</td></tr>
</table>
<h4>Thanks to</h4>
[2002] Jan Blok - reimplementation of memory model and fixing CPU bugs<br>
[2006] Jörg Jahnke - help with refactoring of CPU class<br>
[2006] ByteMaster of Cache64.com - extensive testing and bug reporting huge thanks!<br>
</body>
</html>