1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-20 03:16:45 +00:00

Allow initializing writable variables on cartridge targets

This commit is contained in:
Karol Stasiak
2019-06-28 16:28:49 +02:00
parent 7f28a6b10f
commit 674f8d1983
22 changed files with 436 additions and 107 deletions
+10
View File
@@ -4,6 +4,16 @@ Definitions on the following list are frequently provided by the default automat
However, as they are not the part of the standard library, they might not be available on all targets:
#### `void init_rw_memory()`
Initializes all writable arrays and variables with their initial values.
If the preprocessor feature `INIT_RW_MEMORY` is defined and non-zero,
then `init_rw_memory` is available and should be called before accessing any preinitialized writable object.
If the preprocessor feature `INIT_RW_MEMORY` is not defined or is zero,
then `init_rw_memory` is not available.
#### `void putchar(byte char)`
Prints a single character.