Re: [Freedos-kernel] Boot sector drive incompatibility with other boot sectors

2004-09-13 Thread Arkady V.Belousov
Hi! 12--2004 14:30 [EMAIL PROTECTED] (tom ehlert) wrote to Luchezar Georgiev [EMAIL PROTECTED]: Only 0 and 80 are used by MS-DOS. All other values are FreeDOS extensions ;-) te are you SURE ? How strange. B-\ I receive this letter two minutes back, whereas I answer yesterday to Lucho's

Re: [Freedos-kernel] Boot sector drive incompatibility with other boot sectors

2004-09-13 Thread Luchezar Georgiev
Although I dislike the idea of patching the bootsector, choice 2 does seem most compatible and is slightly smaller boot code (as the logic is moved to sys). I agree and prefer method 2 too. The distance between this new patched boot sector offset and the existing boot segment offset seems

Re: [Freedos-kernel] Boot sector drive incompatibility with other boot sectors

2004-09-13 Thread Luchezar Georgiev
Hello, Award BIOS dated 1999 for Intel i810, and the original IBM PC/AT BIOS don't seem to pass anything in DL on Int 19h. How did I verify it? For those who can't guess, let this be my little secret ;-G (Table 00653) Values Bootstrap loader is called with (IBM BIOS): CS:IP = h:7C00h DH =

Re: Re: [Freedos-kernel] Boot sector drive incompatibility with other boot sectors

2004-09-13 Thread Luchezar Georgiev
The BIOS Boot specification warns that only 0 and 80h can be [...] [...] interesting enough... Nevertheless, trying it gives me 404... Moved - http://www.phoenix.com/NR/rdonlyres/56E38DE2-3E6F-4743-835F-B4A53726ABED/0/specsbbs101.pdf --- This

Re: [Freedos-kernel] Boot sector drive incompatibility with other boot sectors

2004-09-13 Thread Arkady V.Belousov
Hi! 13--2004 12:48 [EMAIL PROTECTED] (Luchezar Georgiev) wrote to [EMAIL PROTECTED]: My AwardBIOS here for example does have such a feature. However, when I look at the boot record of my second hard drive, I see again boot drive = 80. Do you try to boot from second drive with this boot

Re: [Freedos-kernel] Boot sector drive incompatibility with other boot sectors

2004-09-13 Thread Luchezar Georgiev
Ie., second disk was enumerated as 80h (and, for example, partitions from it was labeled earlier, than from first disk)? Yes, exactly. This warning may be only because authors of tose spec may know about existance of buggy BIOSes. No, they state several times that ONLY 0 AND 80 may be boot

Re: [Freedos-kernel] Boot sector drive incompatibility with other boot sectors

2004-09-13 Thread Arkady V.Belousov
Hi! 13--2004 19:55 [EMAIL PROTECTED] (Luchezar Georgiev) wrote to [EMAIL PROTECTED]: This warning may be only because authors of tose spec may know about existance of buggy BIOSes. LG No, they state several times that ONLY 0 AND 80 may be boot drives. Ok. What about boot managers? No,

Re: [Freedos-kernel] Boot sector drive incompatibility with other boot sectors

2004-09-13 Thread Arkady V.Belousov
Hi! 12--2004 14:08 [EMAIL PROTECTED] (Luchezar Georgiev) wrote to [EMAIL PROTECTED]: I don't understand this. SYS writes 0/FF only into its own images, builtin into SYS executables. And, if _after_ SYS someone will change boot loader, then 0/FF value also will be replaced. Where is trouble?

Re: [Freedos-kernel] Boot sector drive incompatibility with other boot sectors

2004-09-12 Thread Arkady V.Belousov
Hi! 10--2004 20:05 [EMAIL PROTECTED] (Luchezar Georgiev) wrote to [EMAIL PROTECTED]: LG brain-dead BIOSes if the boot drive is A: (but not if it's C:), the FF LG value written to by SYS causes a compatibility problem. What happens if LG someone decides to overwrite our boot sector later with a

Re: [Freedos-kernel] Boot sector drive incompatibility with other boot sectors

2004-09-12 Thread Luchezar Georgiev
I don't understand this. SYS writes 0/FF only into its own images, builtin into SYS executables. And, if _after_ SYS someone will change boot loader, then 0/FF value also will be replaced. Where is trouble? The trouble is that most SYSes don't bother to set this value - they just copy the whole

Re: [Freedos-kernel] Boot sector drive incompatibility with other boot sectors

2004-09-12 Thread tom ehlert
Hello Luchezar, D:==second disk? Second disk is a 81h value. Only 0 and 80 are used by MS-DOS. All other values are FreeDOS extensions ;-) are you SURE ? I remember a BIOS that had the option to boot from 2'nd drive. this only makes sense if DOS then boots from 0x81. tom