ô > NVMEMSW/src .ô Implement non-volatile memory OSBYTEs by ô storing data in memory. ((ô Command line to switch ON and OFF. 2: <fname$="NVRAM" FÞ mcode% &200 P$BYTEV=&20A:lptr=&A8:OSARGS=&FFDA Zload%=&FFFF0A88 d*NVMBASE=&900 :ô Memory to use as nvmem n+NVMSIZE=128 :ô Number of NVM locations x&NVMRAM =14 :ô First ram location ‚: Œ ã P=0 ¸ 1 –P%=load%:O%=mcode%  [OPT P*3+4 ª.go% ´FLDX #2 :\ Two vector bytes to check ¾.switchLp1 È LDA BYTEV-1,X:CMP newvec-1,X Ò#BNE switchChk:DEX:BNE switchLp1 Ü.switchChk:PHP æ: ð>LDA #1:LDX #lptr:LDY #0:JSR OSARGS :\ ptr=>command line úALDA (lptr),Y:CMP #13:BEQ switchOn :\ NVRAM -> turn on ?INY:LDA (lptr),Y:€ #&DF :\ NVRAM ON -> turn on @CMP #—"N":BEQ switchOn :\ NVRAM OFF -> turn off : ".switchOff ,>PLP:BEQ switchVector:RTS :\ Already off, exit 6 .switchOn @=PLP:BEQ switchExit:CLC :\ Already on, exit J.switchVector T>LDX #1:PHP:SEI :\ Swap vectors over ^.switchLp2 h>LDA oldvec,X:BCS switch2 :\ CS=restore vector r