From d41599e2cc2a46c9c67af6c8f32998c55a5671f7 Mon Sep 17 00:00:00 2001 From: Kenneth J Davis Date: Mon, 11 May 2009 21:45:12 +0000 Subject: [PATCH] from Lucho, there is no any key, don't ask the user to press it git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1378 6ac86273-5f31-0410-b378-82cca8765d1b --- kernel/dsk.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/kernel/dsk.c b/kernel/dsk.c index 42632b5..6adb663 100644 --- a/kernel/dsk.c +++ b/kernel/dsk.c @@ -67,7 +67,7 @@ UWORD ASMPASCAL floppy_change(UWORD); STATIC int LBA_Transfer(ddt * pddt, UWORD mode, VOID FAR * buffer, ULONG LBA_address, unsigned total, UWORD * transferred); -#define NENTRY 26 /* total size of dispatch table */ +#define NENTRY 26 /* total size of dispatch table */ #define LBA_READ 0x4200 #define LBA_WRITE 0x4300 @@ -210,14 +210,14 @@ STATIC WORD play_dj(ddt * pddt) dx.b.h = pddt2->ddt_logdriveno; /* call int2f/ax=4a00 */ if (floppy_change(dx.x) != 0xffff) { - /* if someone else does not make a nice dialog... */ - template_string[DRIVE_POS] = 'A' + pddt2->ddt_logdriveno; - put_string(template_string); - put_string("Insert"); - template_string[DRIVE_POS] = 'A' + pddt->ddt_logdriveno; - put_string(template_string + 6); - put_string("Press the any key to continue ... \n"); - fl_readkey(); + /* if someone else does not make a nice dialog... */ + template_string[DRIVE_POS] = 'A' + pddt2->ddt_logdriveno; + put_string(template_string); + put_string("Insert"); + template_string[DRIVE_POS] = 'A' + pddt->ddt_logdriveno; + put_string(template_string + 6); + put_string("Press any key to continue ... \n"); + fl_readkey(); } pddt2->ddt_descflags &= ~DF_CURLOG; pddt->ddt_descflags |= DF_CURLOG;