Tvùrce webu je i pro tebe! Postav tøeba web. Bez grafika. Bez kodéra. Hned.
wz

<< Back

cesky: , English:

DISPFRAM

Display frames


DispFrameChar - display frame character

INPUT:
AL =
mask (FRAME_H,...FRAME_B)
AH =
color attributes
DL = column
DH = row


DispFrameH - display horizontal frame line

INPUT:
AL =
mask (0 or FRAME_H)
AH =
color attributes
CL = width (0...)
DL = column
DH = row


DispFrameV - display vertical frame line

INPUT:
AL =
mask (0 or FRAME_V)
AH =
color attributes
CH = height (0...)
DL = column
DH = row


DispFrameHE - display horizontal frame line with edges

INPUT:
AL =
mask (FRAME_H,...FRAME_B)
AH =
color attributes
CL = width (0...)
DL = column
DH = row


DispFrameVE - display vertical frame line with edges

INPUT:
AL =
mask (FRAME_H,...FRAME_B)
AH =
color attributes
CH = height (0...)
DL = column
DH = row


DispFrame - display frame

INPUT:
AL =
flags (FRAME_H,...FRAME_FILL)
AH =
color attributes
CL = width (0...)
CH = height (0...)
DL = column
DH = row

NOTES: Use AL=0 for single frame or FRAME_DBL for double frame.


DispTable - display table frame

INPUT:
AL =
flags (0 or FRAME_FILL)
AH =
color attributes
BX = table template:
- 1 byte: number of columns NC (1..),
- NC bytes: columns internal width (B7=double line),
- 1 byte: number or rows NR (1..),
- NR bytes: rows internal height (B7=double line)
DL = column
DH = row

NOTES: First column and row sets double flag to end line, too.

Sample, table of 5 columns and 6 rows, with double frame and heads:

db 5,10+B7,5+B7,5,5,8
db 6,2+B7,1+B7,1,1,1,1


Frame flags:

FRAME_H: (=B0) horizontal double (single otherwise)
FRAME_V: (=B1) vertical double (single otherwise)
FRAME_L: (=B2) left neighbor
FRAME_R: (=B3) right neighbor
FRAME_T: (=B4) top neighbor
FRAME_B: (=B5) bottom neighbor
FRAME_FILL: (=B6) fill frame inside

FRAME_DBL: (=FRAME_H+FRAME_V) horizontal and vertical double
FRAME_ALL: (=FRAME_L+FRAME_R+FRAME_T+FRAME_B) all directions
FRAME_MASK: (=FRAME_DBL+FRAME_ALL) frame bits mask


Source code DISPFRAM.ASM

<< Back