1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-12-23 08:29:35 +00:00

Docs: Fix some typos

This commit is contained in:
Karol Stasiak 2019-07-31 02:37:40 +02:00
parent 05c017e375
commit 96b020ce62
6 changed files with 8 additions and 8 deletions

View File

@ -56,7 +56,7 @@ The implementation depends on the target architecture:
it's implemented as a separate 256-byte memory area plus a single byte for the stack pointer,
exclusively for local stack variables; using it can help against stack overflows
* on 8080 and LR35902, the address is calculated from the stackpointer into the HL register pair
* on 8080 and LR35902, the address is calculated from the stack pointer into the HL register pair
* on Z80, the IX register is used as the base pointer; unlike all the previous platforms,
this makes stack-allocated variables independent from other stack operations

View File

@ -138,7 +138,7 @@ Default: 4 if targeting a 6502-based architecture, 0 otherwise.
* `-fdecimal-mode`, `-fno-decimal-mode`
Whether hardware decimal mode should be used (6502 only).
If disabled, a sofware decimal mode will be used.
If disabled, a software decimal mode will be used.
`.ini` equivalent: `decimal_mode`.
Default: no if targeting Ricoh, yes otherwise.

View File

@ -21,7 +21,7 @@ It is not allowed in any other places.
String literals can be used as either array initializers or expressions of type `pointer`.
String literals are equivalent to constanr arrays. Writing to them via their pointer is undefined behaviour.
String literals are equivalent to constant arrays. Writing to them via their pointer is undefined behaviour.
If a string literal is used as an expression, then the text data will be located in the default code segment,
regardless of which code segment the current function is located it. This may be subject to change in future releases.
@ -97,7 +97,7 @@ You can create a constant of a given struct type by listing constant values of f
point(5,6)
## Array initialisers
## Array initializers
An array is initialized with either:

View File

@ -94,7 +94,7 @@ Encoding | lowercase letters | backslash | pound | yen | katakana | card suits
`msx_ru` | yes | yes | no | no | no | yes
all the rest | yes | yes | no | no | no | no
1. `pet`, `origpet` and petscr` cannot display card suit symbols and lowercase letters at the same time.
1. `pet`, `origpet` and `petscr` cannot display card suit symbols and lowercase letters at the same time.
Card suit symbols are only available in graphics mode,
in which lowercase letters are displayed as uppercase and uppercase letters are displayed as symbols.
@ -110,7 +110,7 @@ then text and character literals containing lowercase letters are automatically
##### Escape sequence availability
Encoding | new line | braces | backspace | cursor movement | text colour | reverse | background colour
--|--|--|--|--|--|--
--|--|--|--|--|--|--|--
`pet`,`petjp` | yes | no | no | yes | yes | yes | no
`origpet` | yes | no | no | yes | no | yes | no
`oldpet` | yes | no | no | yes | no | yes | no

View File

@ -122,7 +122,7 @@ then the enumeration is considered _plain_. Plain enumeration types can be used
For plain enumerations, a constant `<name>.count` is defined,
equal to the number of variants in the enumeration.
Assigment between numeric types and enumerations is not possible without an explicit type cast:
Assignment between numeric types and enumerations is not possible without an explicit type cast:
enum E { EA, EB }
byte b

View File

@ -76,6 +76,6 @@ TODO: buggy.
#### void putbyte_safe(byte b)
Wrires a byte from file.
Writes a byte from file.
Sets `errno`.
TODO: buggy.