Hi Eric,

I fixed the issue.  As I mentioned before I use a Compact Flash card as a 
harddisk and I noticed that I could only boot FreeDOS once after that I had 
to re-insert the CF card (to select ATA mode). The problem turned out to be 
my BIOS INT13/00 code which, for an unknown reason kills the ATA mode and 
reverts it back to Card mode. Since the kernel calls this service early on 
(ReadAllPartitionTables() in initdisk.c) it resulted in the partition error 
messages and defaulted back to the A drive.

So I am getting close, I just have to sort out the keyboard routine. I tried 
redirecting command.com to COM1 but this seemed to fail (still tries to read 
from CON?)

SHELL=C:\COMMAND.COM COM1 /P /E:256

Physical path: "C:\COMMAND.COM"
Current date is Tue 02-18-1986
Enter new date (mm-dd-[cc]yy):
Current time is 12:00:05.10 am
Enter new time: Error reading from device CON: unknown command given to 
driver
(A)bort, (I)gnore, (R)etry, (F)ail?
Invalid Opcode at 003A 0070 0285 035A 00D3 0070 0738 055A 0006 0006 0246 
055A 14
26

Thanks for your help,

Regards,
Hans.



FreeDOS kernel build 2038 [version Mar 9 2008 compiled Oct 29 2008]
Kernel compatibility 6.22 - WATCOMC

(C) Copyright 1995-2006 Pasquale J. Villani and The FreeDOS Project.
All Rights Reserved. This is free software and comes with ABSOLUTELY NO
WARRANTY; you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation;
either version 2, or (at your option) any later version.
HMA moving 026e:0000 up to 8fbd:0000 for 9e3f bytes
 - InitDiskDYNDATA:allocating ddt - 1 * 104 bytes, total 104, 0..104
DYNDATA:allocating ddt - 1 * 104 bytes, total 104, 104..208
DSK init: found 1 disk drives
drive parameters 80 - 196854-32-26 total size 7MB

WARNING: using suspect partition Pri:1 FS 0e: with calculated values 
0-0-2 in
stead of    0-1-1
WARNING: using suspect partition Pri:1 FS 0e: with calculated values 
163-2-32 i
nstead of  383-0-1
LBA enabled for drive C:
15710 sectors for FAT+data, starting with 231 sectors/cluster
Trying with 4 sectors/cluster:
FAT16: #clu=3919, fatlen=16, maxclu=4096, limit=65525
FAT16: would be misdetected as FAT12
Trying with 8 sectors/cluster:
FAT16: #clu=1961, fatlen=8, maxclu=2048, limit=65525
FAT16: would be misdetected as FAT12
Trying with 16 sectors/cluster:
FAT16: #clu=981, fatlen=4, maxclu=1024, limit=65525
FAT16: would be misdetected as FAT12
Trying with 32 sectors/cluster:
FAT16: #clu=490, fatlen=2, maxclu=512, limit=65525
FAT16: would be misdetected as FAT12
Trying with 64 sectors/cluster:
FAT16: #clu=245, fatlen=1, maxclu=256, limit=65525
FAT16: would be misdetected as FAT12
Trying with 128 sectors/cluster:
FAT16: #clu=122, fatlen=1, maxclu=256, limit=65525
FAT16: would be misdetected as FAT12
DYNDATA:allocating ddt - 1 * 104 bytes, total 104, 208..312
C: HD1, Pri[ 1], CHS=    0-0-2, start=     0 MB, size=     7 MB
drive parameters 80 - 196854-32-26 total size 7MB

drive parameters 80 - 196854-32-26 total size 7MB

SDA located at 0x00d3:0320
DYNDATA:allocating DPBp - 3 * 33 bytes, total 99, 312..411
init_buffers (size 532) at (8cee:0000) done
Preliminary:
 f_node 0x8f87:0000
 sft table 0x00d3:00cc
 CDS table 0x8c5f:0000
 DPB table 0x00d3:1ae2
Preliminary  allocation completed: top at 7c60:fff0
truename(AUX)
CDS entry: #2 @8c5f:00b0 (2) 'C:\'
Absolute logical path: "C:/AUX"
Physical path: "C:/AUX"
truename(CON)
CDS entry: #2 @8c5f:00b0 (2) 'C:\'
Absolute logical path: "C:/CON"
Physical path: "C:/CON"
truename(PRN)
CDS entry: #2 @8c5f:00b0 (2) 'C:\'
Absolute logical path: "C:/PRN"
Physical path: "C:/PRN"
truename(fdconfig.sys)
CDS entry: #2 @8c5f:00b0 (2) 'C:\'
SUBSTing from: C:\
Absolute logical path: "C:\FDCONFIG.SYS"
Physical path: "C:\FDCONFIG.SYS"
FDCONFIG.SYS not found
truename(config.sys)
CDS entry: #2 @8c5f:00b0 (2) 'C:\'
SUBSTing from: C:\
Absolute logical path: "C:\CONFIG.SYS"
Physical path: "C:\CONFIG.SYS"
Reading CONFIG.SYS...
truename(fdconfig.sys)
CDS entry: #2 @8c5f:00b0 (2) 'C:\'
SUBSTing from: C:\
Absolute logical path: "C:\FDCONFIG.SYS"
Physical path: "C:\FDCONFIG.SYS"
FDCONFIG.SYS not found
truename(config.sys)
CDS entry: #2 @8c5f:00b0 (2) 'C:\'
SUBSTing from: C:\
Absolute logical path: "C:\CONFIG.SYS"
Physical path: "C:\CONFIG.SYS"
Reading CONFIG.SYS...
dynamic data end at 00d3:1b45
kernelallocpara: 289 289 c F 0
truename(fdconfig.sys)
CDS entry: #2 @8c5f:00b0 (2) 'C:\'
SUBSTing from: C:\
Absolute logical path: "C:\FDCONFIG.SYS"
Physical path: "C:\FDCONFIG.SYS"
FDCONFIG.SYS not found
truename(config.sys)
CDS entry: #2 @8c5f:00b0 (2) 'C:\'
SUBSTing from: C:\
Absolute logical path: "C:\CONFIG.SYS"
Physical path: "C:\CONFIG.SYS"
Reading CONFIG.SYS...
starting FAR allocations at 297
kernelallocpara: 289 297 44 F 0
kernelallocpara: 289 2dc 3e6 B 0
init_buffers (size 532) at (02dd:0000) done
kernelallocpara: 289 6c3 2d F 0
kernelallocpara: 289 6f1 1c L 0
Final:
 f_node 0x0298:0000
 sft table 0x028b:0000
 CDS table 0x06f2:0000
 DPB table 0x00d3:1ae2
kernelallocpara: 289 70e 80 S 0
Stacks allocated at 070f:0000
Allocation completed: top at 0x78f
truename(AUX)
CDS entry: #2 @06f2:00b0 (2) 'C:\'
Absolute logical path: "C:/AUX"
Physical path: "C:/AUX"
truename(CON)
CDS entry: #2 @06f2:00b0 (2) 'C:\'
Absolute logical path: "C:/CON"
Physical path: "C:/CON"
truename(PRN)
CDS entry: #2 @06f2:00b0 (2) 'C:\'
Absolute logical path: "C:/PRN"
Physical path: "C:/PRN"
HMA not available, moving text to 790
HMA moving 8fbd:0000 up to 0790:0000 for 9e3f bytes
kernel is low, start alloc at 1175truename(C:[EMAIL PROTECTED]@-.TMP)
CDS entry: #2 @06f2:00b0 (2) 'C:\'
SUBSTing from: C:\
Absolute logical path: "C:[EMAIL PROTECTED]@-.TMP"
Physical path: "C:[EMAIL PROTECTED]@-.TMP"
KERNEL: Boot drive = C
Process 0 starting: C:\COMMAND.COM COM1 /P /E:256

truename(C:\COMMAND.COM)
CDS entry: #2 @06f2:00b0 (2) 'C:\'
SUBSTing from: C:\
Absolute logical path: "C:\COMMAND.COM"
Physical path: "C:\COMMAND.COM"
truename(C:\COMMAND.COM)
CDS entry: #2 @06f2:00b0 (2) 'C:\'
Absolute logical path: "C:\COMMAND.COM"
Physical path: "C:\COMMAND.COM"
DosExeLoader. Loading 'C:\COMMAND.COM' at 117b
truename(C:\COMMAND.COM)
CDS entry: #2 @06f2:00b0 (2) 'C:\'
SUBSTing from: C:\
Absolute logical path: "C:\COMMAND.COM"
Physical path: "C:\COMMAND.COM"
truename(C:\COMMAND.COM)
CDS entry: #2 @06f2:00b0 (2) 'C:\'
SUBSTing from: C:\
Absolute logical path: "C:\COMMAND.COM"
Physical path: "C:\COMMAND.COM"
truename(C:\COMMAND.COM)
CDS entry: #2 @06f2:00b0 (2) 'C:\'
SUBSTing from: C:\
Absolute logical path: "C:\COMMAND.COM"
Physical path: "C:\COMMAND.COM"
truename(C:\COM1)
CDS entry: #2 @06f2:00b0 (2) 'C:\'
SUBSTing from: C:\
Absolute logical path: "C:\COM1"
Physical path: "C:\COM1"
truename(C:\COM1)
CDS entry: #2 @06f2:00b0 (2) 'C:\'
SUBSTing from: C:\
Absolute logical path: "C:\COM1"
Physical path: "C:\COM1"
truename(COM1)
CDS entry: #2 @06f2:00b0 (2) 'C:\'
Absolute logical path: "C:/COM1"
Physical path: "C:/COM1"

truename(C:\COMMAND.COM)
CDS entry: #2 @06f2:00b0 (2) 'C:\'
SUBSTing from: C:\
Absolute logical path: "C:\COMMAND.COM"
Physical path: "C:\COMMAND.COM"

FreeCom version 0.82 pl 3 [Dec 10 2003 06:54:37]
truename(\autnexec.bat)
CDS entry: #2 @06f2:00b0 (2) 'C:\'
SUBSTing from: C:\
Absolute logical path: "C:\AUTNEXEC.BAT"
Physical path: "C:\AUTNEXEC.BAT"
truename(C:\COMMAND.COM)
CDS entry: #2 @06f2:00b0 (2) 'C:\'
SUBSTing from: C:\
Absolute logical path: "C:\COMMAND.COM"
Physical path: "C:\COMMAND.COM"
Current date is Tue 02-18-1986
Enter new date (mm-dd-[cc]yy):
Current time is 12:00:05.10 am
Enter new time: Error reading from device CON: unknown command given to 
driver
(A)bort, (I)gnore, (R)etry, (F)ail?
Invalid Opcode at 003A 0070 0285 035A 00D3 0070 0738 055A 0006 0006 0246 
055A 14
26



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to