                 processor 6502

;Memory map:
                  ;$80-$ff Zero page

                  ;$7000--$ffff Bank, screens and graphics as shown on screen

  include globals.s

  seg.u zp
  org $0080
zp_start:

  seg code
  org $7000

start: subroutine
  ldx #0
  ldy #0
  lda #0
.loop:
  stx $d020
  inx
  bne .loop
  sty $d021
  iny
  bne .loop
  rts

