Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help updates #444

Merged
merged 1 commit into from
Sep 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,8 @@ <h5 class="modal-title" id="helpModalLabel">Help</h5>
</div>
<div class="modal-body">
<div>
This is an emulator for the <a href="https://en.wikipedia.org/wiki/Bbc_micro">BBC Micro</a>
Model B, a popular home computer in the UK in the 1980s.
This is an emulator for the <a href="https://en.wikipedia.org/wiki/Bbc_micro">BBC Micro</a>, a popular
home computer in the UK in the 1980s. It emulates the BBC B &amp; Master version of the computer.
</div>
<div>
The default disc image is Elite - a pioneering 3D space trading game. To boot discs on the BBC, one would
Expand Down Expand Up @@ -478,15 +478,33 @@ <h5>Handy key mappings</h5>
<td>
<div class="dbl key">*<br />:</div>
</td>
<td>TODO</td>
<td>TODO</td>
<td>
<div class="dbl key">"<br />'</div>
</td>
<td>
<div class="dbl key">"<br />'</div>
</td>
</tr>
<tr>
<td>
<div class="dbl key">CAPS<br />LOCK</div>
</td>
<td class="key">CAPSLOCK</td>
<td>See notes</td>
</tr>
<tr>
<td>Debug</td>
<td><span class="key">Ctrl-Home</span></td>
<td>TODO</td>
<td><span class="key">Ctrl-Home</span></td>
</tr>
</table>
<div>
Note that caps lock doesn't work well on OS X because browsers don't give proper key down and key up
events for that key. That means jsbeeb can't know when you've released the physical key; it just guesses
that you tapped the key whenever it notices the caps lock state changes. That's fine for typing but
means that some games that use caps lock for left or fire, don't work. Consult the main documentation
for details on how to map keys.
</div>
</div>
</div>
<div class="modal-footer">
Expand Down
5 changes: 5 additions & 0 deletions jsbeeb.css
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,11 @@ div.led {
background-color: #911;
}

table.keymap {
margin-left: auto;
margin-right: auto;
}

table.keymap th {
width: 5em;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@
"eslint --cache --fix",
"prettier --write"
],
"*.{css,md}": "prettier --write"
"*.{css,md,html}": "prettier --write"
}
}