JE> Hello.. I wrote this code, but have been unable to get it to scroll
JE> properly.. the TEXT.TXT file mentioned in it contained 40 lines, which
JE> up:
JE> if location%=1 then return else decr location%
JE> ! MOV AH, &H07 'AH = Service Number, in this case, scroll up
JE> ! MOV AL, &H01 'AL = Lines to scroll
JE> ! MOV BH, &H00 'BH = fill character (0= nothing, or blank)
JE> ! MOV CH, &H00 'CH = upper row
JE> ! MOV CL, &H00 'CL = left column
JE> ! MOV DH, &H25 'DH = lower row
JE> ! MOV DL, &H80 'DL = right column
JE> ! INT &h10
JE> locate 1,1
JE> print wow$(location%);
JE> return
Your values in DH and DL need to be in hex. Also, the bios looks at
the screen as being 0-24 and 0-79. So you would need DH=&H18 and
DL=&H4F if you wanted to scroll from line 25 and column 80. Eric
--- QM v1.00
---------------
* Origin: Creekside Manor (805) 484-8016 CdCom Support BBS (1:206/2512.0)
|