mirror of
https://github.com/trebonian/visual6502.git
synced 2025-01-18 05:33:57 +00:00
kiosk mode: add link to user guide, tweak help text and add alphabetic zoom controls
This commit is contained in:
parent
e6d3c62057
commit
13e1f51b47
@ -62,11 +62,11 @@ lots of RAM. If you have trouble, please <a href="browsertrouble.html">check com
|
|||||||
<br />
|
<br />
|
||||||
<span id="browsertrouble"></span>
|
<span id="browsertrouble"></span>
|
||||||
<br />
|
<br />
|
||||||
Hit '>' to zoom in, '<' to zoom out
|
Keyboard controls: 'z' to zoom in, 'x' to zoom out, 'n' to step the simulation.
|
||||||
<br />
|
<br />
|
||||||
Left-click and drag to scroll around
|
Mouse controls: Left-click and drag to scroll around (when you're zoomed in.)
|
||||||
<br />
|
<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 />
|
||||||
<br />
|
<br />
|
||||||
</span>
|
</span>
|
||||||
|
@ -104,9 +104,9 @@ function setup_part3(){
|
|||||||
function handleKey(e){
|
function handleKey(e){
|
||||||
var c = e.charCode;
|
var c = e.charCode;
|
||||||
c = String.fromCharCode(c);
|
c = String.fromCharCode(c);
|
||||||
if('<>?np'.indexOf(c)==-1) return;
|
if('zx<>?np'.indexOf(c)==-1) return;
|
||||||
if(c=='<' && zoom>1) setZoom(zoom/1.2);
|
if((c=='x' || c=='<') && zoom>1) setZoom(zoom/1.2);
|
||||||
else if(c=='>' && zoom<grMaxZoom) setZoom(zoom*1.2);
|
else if((c=='z' || c=='>') && zoom<grMaxZoom) setZoom(zoom*1.2);
|
||||||
else if(c=='?') setZoom(1);
|
else if(c=='?') setZoom(1);
|
||||||
else if(c=='n') stepForward();
|
else if(c=='n') stepForward();
|
||||||
else if(c=='p') stepBack();
|
else if(c=='p') stepBack();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user