Сlear direction flag for Phoenix BIOS (for correct printing of messages in real mode).

git-svn-id: svn://kolibrios.org@7215 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
theonlymirage 2018-04-02 06:33:43 +00:00
parent c0b4b02997
commit ffac6ebf7a

View File

@ -34,10 +34,14 @@ include 'floppy1440.inc'
;include 'floppy1743.inc' ;include 'floppy1743.inc'
start_program: start_program:
; <Efremenkov S.V.>
cld ;clear direction flag for Phoenix BIOS, see next "lodsb"
xor ax, ax xor ax, ax
cli
mov ss, ax mov ss, ax
mov sp, boot_program mov sp, boot_program
sti
; <\Efremenkov S.V.>
push ss push ss
pop ds pop ds