Main
Getting Started
Controls
Applet FAQ
Advanced Applet
Download JStella
JStella Project
Troubleshooting
SourceForge.net Logo


JStella

 

Advanced applet setup

Optional applet parameters

These are advanced options, and thus optional.  If you just want to set up a simple applet, go to the regular applet page

Format :

<applet archive="jstella_0_7.jar" code="jstella.runner.JStellaApplet.class" height="480" width="480">

<PARAM NAME=ROM  VALUE="myROM.bin">
<PARAM NAME=appletparam VALUE="value goes here">
<PARAM NAME=anotherparam VALUE="some other value">

Your browser doesn't seem to support applets.
</applet>

 

 

 

Param name : CARTRIDGETYPE
Param values :  2K, 4K, F8, F8 swapped, F8SC, F6, F6SC, F4, FE, DPC, E0, E7, 3F, F4SC
This is used to manually specify the cartridge type.  Include this parameter only if you wish JStella to forgo the automatic type detection.
As of version 0.75

 

Param name : DISPLAYHEIGHT
Param value :  integer - intended height of display
This is used to manually specify the display height.  Include this parameter only if you wish JStella to forgo the automatic height detection.
As of version 0.75

Param name : PADDLEMODE
Param value :  n/a
This is used to lock in paddle-mode.
As of version 0.75

Param name : OPTIONSPANELENABLED
Param value : TRUE / FALSE
The "options panel" is the panel at the bottom of the applet that contains buttons (e.g. reset, help).  This option lets you choose whether or not it will be shown.  For those who are either a)using the JStellaOptionsApplet instead of the panel, or b)using JavaScript etc. to configure your own user interface, this parameter should be set to FALSE.
As of version 0.75

 


Options Applet

Those who want a simple buttons panel but don't want it sharing the same applet as the screen can add an extra applet, the options applet, to anywhere in the webpage.  This is set up with the following:

<applet archive="jstella_0_7.jar" code="jstella.runner.JStellaOptionsApplet.class" height="35" width="240"> </applet>

Note the subtle differences between this applet tag and the once used to launch the main applet.

 


Using JavaScript for JStella User Interface

The JStella applet can interact with its environment through JavaScript.  JavaScript can be used to link the webpage to the applet, so that HTML (etc) components can serve as a joystick, paddles, switches, etc.

Because this interface is still in the process of changing, those wishing to interface JavaScript with the JStella applet should look in the source code for the applet to find the appropriate methods to call.

 


 

 

 


  

SourceForge.net Logo