code           equ     $4800   change this and you must reassemble rssdidb09

idb09ram        equ     code+3
idb09code       equ     code+$100

debugstart      equ     idb09code
debugnmi        equ     idb09code+$a

        org     $fed4            define soft ram vectors and common state

fetchbytefromcocoroms   rmb 3    vector filled at initialize time

CURRENTBACKGROUND rmb 1 ; 0  --> black background, $FF --> white background
CURSORX         RMB 2   LOGICAL X POSITION IN DOTS FROM LOWER SCREEN LEFT
CURSORY         RMB 2   LOGICAL Y POSITION IN DOTS FROM LOWER SCREEN LEFT

cursortoggleenable rmb  1        ; <0 don't toggle cursor now
                                 ; =0 toggle cursor now
                                 ; >0 count down to toggle
vdgandsam       rmb     3        used by debugger and system for vdg
swivectorsystem rmb     3        used by debugger and system for swi

serialnumber    rmb     8        ; set by RSSDMT common code

;  Jmp vectors pointed to by rom

swi3vector      rmb     3
swi2vector      rmb     3
frqvector       rmb     3
irqvector       rmb     3
swi1vector      rmb     3        points to code to select system
                                 ; and jump to swivectorsystem
nmivector       rmb     3
resetvector     rmb     3
