Re: [Freedos-devel] Kernel 2035a HD format problem (Arkady's unstable version)

2004-08-20 Thread Johnson Lam
On Thu, 19 Aug 2004 19:13:17 +0300, you wrote:

Hello Lucho and other Kernel people,

What is the partition type - FAT32 LBA (a.k.a. FAT32X), or FAT32 CHS 
(a.k.a. FAT32)? My successful tests were with FAT32 LBA partitions. I 
didn't try FAT32 CHS. I used MS-DOS FDISK, if this matters

BIOS setting is CHS (translation), FDISK shows FAT32 (not FAT32 L).

=
C:\format d: /u /d

[DEBUG]  This is FORMAT 0.91r, selected drive - D:

 WARNING: ALL DATA ON NON-REMOVABLE DISK
 DRIVE D: WILL BE LOST! PLEASE CONFIRM!
 Proceed with format (YES/NO)? YES
[DEBUG]  GDP: Looks like FAT32.
 Disk size: 3093 Mbytes, FAT32. ***
[DEBUG]  Enabled disk access flags.
Please enter volume label (max. 11 chars):
 Full Formatting (wiping all data)
 Zapping / checking 6346305 sectors
To skip the rest of the surface scan after the first 34 MB
AT OWN RISK, press ESC (only checked at 'percent boundaries').
 bad sector(s): 1 (code 0x20c) on WRITE *
 bad sector(s): 1 (code 0x20c) on READ *
One of the first 5 sectors is broken. FORMAT not possible.

==

Also after format with M$-DOS, another FreeDOS format without
re-partition was successful!

=
C:\format d: /u /d

[DEBUG]  This is FORMAT 0.91r, selected drive - D:

 WARNING: ALL DATA ON NON-REMOVABLE DISK
 DRIVE D: WILL BE LOST! PLEASE CONFIRM!
 Proceed with format (YES/NO)? YES
[DEBUG]  GDP: Looks like FAT32.
 Disk size: 3093 Mbytes, FAT32. ***
[DEBUG]  Enabled disk access flags.
Please enter volume label (max. 11 chars): 3-GB
 Full Formatting (wiping all data)
 Zapping / checking 6346305 sectors
To skip the rest of the surface scan after the first 34 MB
AT OWN RISK, press ESC (only checked at 'percent boundaries').
  0%   1%   2%   3%

=

That's all I got.


Rgds,
Johnson.



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel


[Freedos-devel] Idea about Virtual PC compatibility / A20 handling

2004-08-20 Thread Eric Auer

Hi, Pavel Novy, author of some tiny tool which Tyler found useful,
writes me some explanation for if you want to keep it tiny, then
why does it start with mov ah,30h / int 21h (but does not do any-
thing with the returned DOS version information)?. He found that
the following code sequence would hang in Virtual PC:

(com program)
 Start:jmp   Begin
 XMSControldd?
 Begin:mov   ax,4300h
int   2fh
cmp   al,80h
jne   _errexit
mov   ax,4310h
int   2fh
mov   word ptr [XMSControl],bx
mov   word ptr [XMSControl + 2],es
mov   ah,00h
call  dword ptr [XMSControl]
 _errexit:
mov   ax,4c00h
int   21h

Can somebody try to reproduce? Should we add some handling to our
HIMEM / EMM386 for it? I think this is A20 related, something like
disable A20 on exec() and reenable it again on the first int 21
call. Which is, by the way, a very useless feature: LOADFIX (should be
part of every FreeDOS distro! Do we have one? It takes care to load
programs outside the first 64k) is, as far as I know, taking care of
possible program might expect wraparound at 1 MB in a better way.

And of course I vote - again - for some HIMEM command line option switch
A20 on at HIMEM start time but refuse to switch it off later. Thanks.


Thanks to Pavel for checking his archives about the background of this
use int 21.30 before releasing the environment of the program (which
is where it was used in the binary found by Tyler) trick.

Eric




---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Idea about Virtual PC compatibility / A20 handling

2004-08-20 Thread Aitor SantamarĂ­a Merino
Hi,
LOADFIX (should be
part of every FreeDOS distro! Do we have one?
LOADFIX is internal, and IIRC it is already implemented in FreeCOM.
Aitor
---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel