kiosk mode: add link to user guide, tweak help text and add alphabetic zoom controls

This commit is contained in:
BigEd 2010-11-27 13:54:31 +00:00
parent e6d3c62057
commit 13e1f51b47
2 changed files with 6 additions and 6 deletions

View File

@ -62,11 +62,11 @@ lots of RAM. If you have trouble, please <a href="browsertrouble.html">check com
<br />
<span id="browsertrouble"></span>
<br />
Hit '>' to zoom in, '<' to zoom out
Keyboard controls: 'z' to zoom in, 'x' to zoom out, 'n' to step the simulation.
<br />
Left-click and drag to scroll around
Mouse controls: Left-click and drag to scroll around (when you're zoomed in.)
<br />
Enter your own program into the array of RAM
More information in the <a href="http://visual6502.org/wiki/index.php?title=JssimUserHelp">User Guide<a>.
<br />
<br />
</span>

View File

@ -104,9 +104,9 @@ function setup_part3(){
function handleKey(e){
var c = e.charCode;
c = String.fromCharCode(c);
if('<>?np'.indexOf(c)==-1) return;
if(c=='<' && zoom>1) setZoom(zoom/1.2);
else if(c=='>' && zoom<grMaxZoom) setZoom(zoom*1.2);
if('zx<>?np'.indexOf(c)==-1) return;
if((c=='x' || c=='<') && zoom>1) setZoom(zoom/1.2);
else if((c=='z' || c=='>') && zoom<grMaxZoom) setZoom(zoom*1.2);
else if(c=='?') setZoom(1);
else if(c=='n') stepForward();
else if(c=='p') stepBack();