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
This commit is contained in:
Kenneth J Davis 2009-05-11 21:45:12 +00:00
parent da25cd58b4
commit d41599e2cc

View File

@ -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;