I'll show the code 2 different ways. The screen SHOULD scroll in both cases. Any ideas on whats going on here?
Mike
In this case the program works great. The start procedure is on top.
[BITS 16]
[ORG 0x0100]
[SECTION .text]
Start:
mov al, 3
call scrollXLines
mov ax, 4c00h
int 21h
scrollXLines:
mov CX, 0
mov DX, 7924
mov bh, 7h
mov ah, 6h
int 10h
ret
In this case start is at the bottom and it just clears the screen.
[BITS 16]
[ORG 0x0100]
[SECTION .text]
scrollXLines:
mov CX, 0
mov DX, 7924
mov bh, 7h
mov ah, 6h
int 10h
ret
Start:
mov al, 3
call scrollXLines
mov ax, 4c00h
int 21h