Skip to content

Commit f6fcc1c

Browse files
committed
docs: update Material theme dependencies
1 parent 2c9c9ae commit f6fcc1c

21 files changed

Lines changed: 98 additions & 34 deletions

docs/archive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository (git).
1010
You can contribute to ZX BASIC by reporting possible bugs or improvement suggestions at the
1111
[forum](http://www.boriel.com/forum) or in social media.
1212

13-
Latest stable version is <span style="color: green;">**1.18.1**</span>.
13+
The latest stable version is <span style={{color: "green"}}>**1.18.1**</span>.
1414
Click on the desired icon below to download the package suitable for your platform:
1515

1616
* [<img src="https://zxbasic.readthedocs.io/en/docs/img/win32.png" alt="win32zip" width="32px"/>

docs/dim.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A [type](types.md) is a name for the kind of data (`Integer`, `Byte`, `String`,
1212
DIM <variable_name>[,<variable_name>...] [AS <type>] [= <value>]
1313
```
1414

15-
Where _<type>_ can be one of **INTEGER**, **BYTE**, **FLOAT**, etc.
15+
Where `<type>` can be one of **INTEGER**, **BYTE**, **FLOAT**, etc.
1616
See the list of [available types](types.md). If type is not specified, **FLOAT** will be used, unless you use
1717
a suffix (usually called _sigil_) like `$` or `%`.
1818

@@ -46,7 +46,7 @@ Declaring a variable that has already been referenced in previous lines will res
4646

4747
### Examples of variable declarations
4848

49-
```
49+
```basic
5050
REM Declares 'a' as a 16 bit signed integer variable
5151
DIM a AS INTEGER
5252

docs/fastcall.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ The above function, when called with `whatLetter(<value>)` will return the `<val
3838
`"A Man, A Plan, A Canal, Panama"`.
3939

4040
### Notes
41-
* Note that the A register already contains <value> when the inline assembly is reached.
41+
* Note that the A register already contains `<value>` when the inline assembly is reached.
4242
* Note that we do NOT need to put a ret opcode on the end of the assembly. The compiler will do that for us.

docs/for.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Clearly, since the largest value a byte can hold is 255, it's not possible for i
5555
The variable will "wrap around" to 0 and as a result, the loop will not ever terminate.
5656
This can happen in much more subtle ways when `STEP` is used.
5757
There has to be "room" within the variable type for the iterator to exceed the terminator when it is being
58-
incremented by <step> amounts.
58+
incremented by `<step>` amounts.
5959

6060
For example, this loop will neved end
6161

docs/identifier.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Identifiers shown in bold are taken from the Sinclair BASIC (beware their meanin
3838
* [CONST](const.md)
3939
* **[CONTINUE](continue.md)** **(statement)**
4040
* **[COS](cos.md)** **(function)**
41-
* **[DECLARE](declare.md)** **<modifier>**
41+
* **[DECLARE](declare.md)** **(modifier)**
4242
* **[DIM](dim.md)** **(statement)**
4343
* [DO](do.md) **(statement)**
4444
* **[DATA](data.md)** **(statement)**
@@ -79,7 +79,7 @@ Identifiers shown in bold are taken from the Sinclair BASIC (beware their meanin
7979
* **[PAPER](paper.md)** **(statement)**
8080
* **[PAUSE](pause.md)** **(statement)**
8181
* **[PEEK](peek.md)** **(function)**
82-
* **[PI](pi.md)** **<constant>**
82+
* **[PI](pi.md)** **(constant)**
8383
* **[PLOT](plot.md)** **(statement)**
8484
* **[POKE](poke.md)** **(statement)**
8585
* **[PRINT](print.md)** **(statement)**
@@ -91,8 +91,8 @@ Identifiers shown in bold are taken from the Sinclair BASIC (beware their meanin
9191
* **[RND](rnd.md)** **(function)**
9292
* **[SAVE](load.md)** **(statement)**
9393
* **[SGN](sgn.md)** **(function)**
94-
* [SHL or <<](shl.md) (operator)
95-
* [SHR or >>](shl.md) (operator)
94+
* [SHL or &lt;&lt;](shl.md) (operator)
95+
* [SHR or &gt;&gt;](shl.md) (operator)
9696
* **[SIN](sin.md)** **(function)**
9797
* **[SQR](sqr.md)** **(function)**
9898
* [StdCall](stdcall.md)

docs/img/zxbasic_logo.png

14.3 KB
Loading

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* [About](about.md)
33
<br />About the ZX BASIC SDK
44

5-
* [ChangeLog](https://github.com/boriel/zxbasic/blob/master/Changelog.md)
5+
* [ChangeLog](https://github.com/boriel-basic/zxbasic/blob/master/CHANGELOG.md)
66
<br />A reduced list of changes/bugfixes
77

88
* [Installation](installation.md)

docs/library/asc.bas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ variable = asc(A$,n)
1111
```
1212
Where `A$` is a string variable and `N` defines which character in the string we are interested in.
1313

14-
##Requirements
14+
## Requirements
1515

1616
ASC is a library function that must be included before it can be used. Use the following directive:
1717

docs/library/print64x32.bas.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ thread http://www.boriel.com/forum/wishlist/64-char-print-32-lines-version-t680.
1414
Print64x32At(y,x)
1515
```
1616

17-
Moves the print64 system's print cursor to row Y, column X. Note that 0<= x <= 63 -
18-
that is the range of values for X can be up to 63. The range of values for Y is 0-31.
19-
* Note that the `print64x32` system's cursor position is independent from that of the
17+
Moves the print64 system's print cursor to row Y, column X. Note that `0 <= x <= 63` -
18+
that is the range of values for X can be up to 63. The range of values for Y is `0-31`.
19+
* Note that the `print64x32` system's cursor position is independent of that of the
2020
ZX Basic Print routine, or any other, such as the print42 system.
2121

2222

@@ -41,7 +41,7 @@ An All in one function - sets the AT position, and prints the string.
4141
4242
## CODE
4343

44-
```
44+
```basic
4545
SUB Print64x32At(Y as uByte,X as UByte)
4646
Poke(@Print64x32XCoord),X
4747
Poke (@Print64x32XCoord+1),Y

docs/library/puttile.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
# putTile.bas
44

55
This subroutine takes a 2X2 tile of data from the given address and copies
6-
it to the screen co-ordinates at (x, y) - x and y in character addresses, where 0 <= x <= 31 and 0 <= y < =23.
6+
it to the screen co-ordinates at `(x, y) - x` and `y` in character addresses, where `0 <= x <= 31` and
7+
`0 <= y < =23`.
78

89
Note that this uses pushes and pops to move the data, using the fastest known data moving algorithm for the Z80.
9-
As a consequence, while active it uses ALL the registers, including alternates and IY and IX as well as the
10+
As a consequence, while active it uses ALL the registers, including alternates and `IY` and `IX` as well as the
1011
Stack Pointer SP. It is kind enough to put these back for the purposes of exiting the subroutine
1112
though - ZX BASIC uses that register quite extensively.
1213

0 commit comments

Comments
 (0)