Skip to content
Open
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
release/*
2 changes: 1 addition & 1 deletion X16 Reference - 02 - Editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ On boot, the US layout (`ABC/X16`) is active:
| Shift+Alt+`b` | ² |
| Shift+Alt+`/` | ¿ |

(The X16 logo is code point \xad, SHY, soft-hyphen.)
(The X16 logo is code point \\xad, SHY, soft-hyphen.)

The following combinations are dead keys:

Expand Down
8 changes: 4 additions & 4 deletions X16 Reference - 09 - Sound Programming.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,9 @@ Range|Type|Description
</tr>
</table>

## YM2151 Register Details
### YM2151 Register Details

### Global Parameters:
#### Global Parameters:

**LR** (LFO Reset)

Expand Down Expand Up @@ -581,7 +581,7 @@ Register $1B, Bits 0-1
Sets the LFO waveform:
0: Sawtooth, 1: Square (50% duty cycle), 2: Triangle, 3: Noise

### Channel Control Parameters:
#### Channel Control Parameters:

**RL** (Right/Left output enable)

Expand Down Expand Up @@ -647,7 +647,7 @@ Sensitivity values: (dB)
-|-|-|-
0|23.90625|47.8125|95.625

### Operator Control Parameters:
#### Operator Control Parameters:

Operators are arranged as follows:

Expand Down
14 changes: 14 additions & 0 deletions build-release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
set -euo pipefail
pandoc --version || {
echo Install the following commands:
echo sudo apt install pandoc texlive texlive-xetex
}
mkdir -p release
rm -f programmers-guide.md
echo Generating pdf...
find . -iname "X16 *.md" -print0 | sort --zero-terminated \
| xargs -0 pandoc --file-scope --pdf-engine=xelatex -o release/programmers-guide.pdf
echo Generating docfile...
find . -iname "X16 *.md" -print0 | sort --zero-terminated \
| xargs -0 pandoc --file-scope -o release/programmers-guide.docx