dropped
A program of Roots.
What the tool said
NGA4505 `osVars` is pinned at $0200 and nothing reaches it, so it is dropped; mark it `root` if the hardware reads it /Users/waldek/Desktop/NGA/tutorial/13-roots/dropped/os.asm:4
main.ngp
target { region $0080 .. $00FF ram region $0200 .. $BFFF ram }
modules { "os.asm" "program.asm" }
container raw
os.asm
; The machine's OS keeps its variables in page two, and reads and writes them
; on every interrupt. This program never touches them, so no instruction in it
; names them.
.section absolute at $0200
osVars
.res $100
.ends
program.asm
; A buffer of the program's own, placed wherever the solver finds room, and the
; code that uses it.
.section
buffer
.res $100
.ends
.proc entry
lda #0
sta buffer
rts
.endp
Memory map
- (implicit)0 zero page, 262 bytes
| Address | Bytes | Section | Module | Kind | Phases | Waits |
|---|---|---|---|---|---|---|
| $0200–$02FF | 256 | buffer | program | section | 0 | |
| $0300–$0305 | 6 | entry | program | proc | 0 |