home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 15
/
CD_ASCQ_15_070894.iso
/
vrac
/
dnalib7a.zip
/
BSCROLL.BAS
< prev
next >
Wrap
BASIC Source File
|
1994-05-14
|
569b
|
14 lines
SUB BiosScroll(TopRow%,LeftColumn%,BottomRow%,RightColumn%,NumberOfRows%,Direction%,Attr%)PUBLIC
$CODE SEG "DNASEG2"
IF Direction% THEN UpDown% = 7 ELSE UpDown% = 6
REG 1, NumberOfRows% + 256 * UpDown% ' Set AX = # of rows
REG 2, Attr% * 256 ' Set BX = Color to use
REG 3, (LeftColumn% - 1) + 256 * (TopRow% - 1) ' Set CX = left and top
REG 4, (RightColumn% - 1) + 256 * (BottomRow% - 1) ' Set DX = right and bot
CALL INTERRUPT &H10 ' Call BIOS service
END SUB