From ffac6ebf7ae01f2ad3f7c1e40db5e0ed28ac91a9 Mon Sep 17 00:00:00 2001 From: theonlymirage Date: Mon, 2 Apr 2018 06:33:43 +0000 Subject: [PATCH] =?UTF-8?q?=D0=A1lear=20direction=20flag=20for=20Phoenix?= =?UTF-8?q?=20BIOS=20(for=20correct=20printing=20of=20messages=20in=20real?= =?UTF-8?q?=20mode).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://kolibrios.org@7215 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/bootloader/boot_fat12.asm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/bootloader/boot_fat12.asm b/kernel/trunk/bootloader/boot_fat12.asm index ebdb5af5ff..6ad4ef1d7d 100644 --- a/kernel/trunk/bootloader/boot_fat12.asm +++ b/kernel/trunk/bootloader/boot_fat12.asm @@ -34,10 +34,14 @@ include 'floppy1440.inc' ;include 'floppy1743.inc' start_program: - +; + cld ;clear direction flag for Phoenix BIOS, see next "lodsb" xor ax, ax + cli mov ss, ax mov sp, boot_program + sti +; <\Efremenkov S.V.> push ss pop ds