61
Lowlevel-Coding / Re: cls in Assembler
« am: 31. October 2009, 11:34 »
02d = 02h
Daran wirds nicht liegen
Edit: Also bei mir funktioniert folgendes (exakt dein Code) ohne Probleme
Daran wirds nicht liegen
Edit: Also bei mir funktioniert folgendes (exakt dein Code) ohne Probleme
Code: [Auswählen]
[ORG 0x7C00]
mov ax, 40h
mov ds, ax
mov ah, 06h
mov al, 0 ; Alle Zeilen scrollen
mov bh, 7 ; Schriftfarbe
mov ch, 0 ; Zeile
mov cl, 0 ; Splate
mov di, 84h
mov dh, [di]
mov di, 4ah
mov dl, [di]
dec dl
int 10h
mov bh, 0 ; Bildschirmpage
mov dl, 0 ; Reihe
mov dh, 0 ; Zeile
mov ah, 02
int 10h
jmp $
times 510 - ($-$$) db 0
dw 0xAA55