mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-23 05:44:41 +02:00
Use the largest possible lastdrive value ('Z',26) for the initial CDS.
This allows device=f:\foo.sys to work. git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1335 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
3f1938d8e8
commit
a4bc22884c
@ -302,7 +302,9 @@ STATIC void init_kernel(void)
|
||||
|
||||
/* Do first initialization of system variable buffers so that */
|
||||
/* we can read config.sys later. */
|
||||
LoL->lastdrive = Config.cfgLastdrive;
|
||||
|
||||
/* use largest possible value for the initial CDS */
|
||||
LoL->lastdrive = 26;
|
||||
|
||||
/* init_device((struct dhdr FAR *)&blk_dev, NULL, 0, &ram_top); */
|
||||
blk_dev.dh_name[0] = dsk_init();
|
||||
|
Loading…
x
Reference in New Issue
Block a user