I have problems with the syntax in turbo pascal, this in debug works with no problem, but I can't make it work in Turbo Pascal.
I don't know what is wrong.
PD: what means the h, the $ and the b in this thing?
Best How To :
INT 10h / AH=06h needs also a value in
mov ah, 06h
mov bh, $21
mov cx, $0000
mov bx, $1950 (* Should it rather be `dx`? *)
mov al, 25 (* Scroll up 25 lines *)
mov ah, 00h
To clear the entire window you can set
AL to zero (
mov al, 0 or
xor al, al).
The suffix 'h' means that this is a hexadecimal number. The prefix '$' means the same. The first is the Assembly notation, the second is the Pascal notation. Without suffix or prefix it is a decimal number.