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

  1. (implicit)0 zero page, 262 bytes
AddressBytesSectionModuleKindPhasesWaits
$0200–$02FF256bufferprogramsection0
$0300–$03056entryprogramproc0