kept

A program of Roots.

main.ngp

target { region $0080 .. $00FF ram   region $2000 .. $BFFF ram }
modules { "screen.asm" }
container raw

screen.asm

; tag kept
; A display list is what ANTIC reads to know how to draw the screen, and the
; screen it points at is forty bytes ANTIC reads as well. No instruction in
; this program names either of them, because nothing in this program looks at
; them: the hardware does. One word says so, and it stands on the display
; list alone — the forty bytes are reached from it, the way anything else is
; reached from what names it.
.section root
displayList
        .byte $70, $70, $70, $42
        .word row
        .byte $41
        .word displayList
.ends

.section
row
        .res 40
.ends

.proc entry
        rts
.endp
; end kept

Memory map

  1. phase00 zero page, 50 bytes
AddressBytesSectionModuleKindPhasesWaits
$2000–$20089displayListscreensection0
$2009–$203040rowscreensection0
$2031–$20311entryscreenproc0