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

Add custom segment layout support

This commit is contained in:
Karol Stasiak
2019-09-25 01:17:52 +02:00
parent 2a21dd8e2e
commit 5837c6fd7d
6 changed files with 196 additions and 130 deletions
+7
View File
@@ -152,6 +152,13 @@ For better debugging on NES, RAM segments should use bank number `$ff`.
* `segment_NAME_fill` the byte value used to fill gaps and other unused space in the bank. Default: `0`.
* `segment_NAME_layout` a comma-separated list of object names that defines in what order the objects are laid out in the segment.
One item has to be `*`, it means "all the other objects".
For example, `a,b,*,c,d` means that the output will contain `a` first, then `b`, then everything else except for `c` and `d`,
then `c` and finally `d`.
If an object from that list does not exist, it is ignored.
Default: `main,*`
#### `[output]` section
* `style` how multi-segment programs should be output: