title 'Definitions of Video storage area, Kaypro 4' ; aseg ; entry scrnbas, oneline, maxln; fundamental entry vstate, cursor entry row, cchar, cmark, attrib ; entry endline, colmask, line25; computed ; scrnbas equ 03000h oneline equ 128; storage used per line maxln equ 24; lines available per screen ; ; Must compute here for linkage system endline equ scrnbas + (maxln-1) * oneline line25 equ (endline + oneline) shr 8 colmask equ oneline-1 ; org 03c30h; video RAM space available vstate: ds 2; init to vnorm. State machine cursor: ds 2; location of cursor on screen row: ds 1; 1st areg in "esc=yx" sequence cchar: ds 1; char for cursor location, saved cmark: ds 1; cursor char for screen for blank attrib: ds 1; video attrib for new chars, 80h for flash ; end