MEMORY
{
  ZP: start=$0, size=$100, type=rw, define=yes;
  RAM: start=$0200, size=$7d00, type=rw, define=yes;
  ROM: start=$8000, size=$8000, type=ro, define=yes, fill=yes, fillval=$ff, file=%O;
}

SEGMENTS
{
  ZEROPAGE: load=ZP, type=zp, define=yes;
  DATA: load=RAM, type=rw, define=yes, run=RAM;
  BSS: load=RAM, type=bss, define=yes;
  CODE: load=ROM, type=ro,  offset=$4000;
  VECTORS: load=ROM, type=ro, offset=$7ffa;
}
