--
; memory map
;
; -------------------------------------

; --- screen --- 
; $0400 - $07ff
Screen = $0400

; --- escape buffer --- 
; $0800 - $0bff

; --- char --- 
; $2000 - $27ff
font_table = $2000

; -------------------------------------
; constant declaration
;
; -------------------------------------

esc = $1b
brace = $5b

.code

;intialize VT100 emulation state
;inputs: none
;outputs: none
vt100_init_terminal:

  jsr initialise_variables ; init memory variables
  jsr 