Re: [PATCH] Improve FreeDOS direct loading support compatibility.

2013-01-27 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Committed with minor problems fixed. Thanks. On 08.07.2012 10:28, C. Masloch wrote: > diff --git a/ChangeLog b/ChangeLog > --- a/ChangeLog > +++ b/ChangeLog > @@ -1,3 +1,18 @@ > +2012-06-30 C. Masloch > + > + Improve FreeDOS direct loading support compatibility. > + > + * include/grub/i

Re: [PATCH] Improve FreeDOS direct loading support compatibility.

2012-09-09 Thread C. Masloch
On 2012-09-09 21:49 +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: + { +grub_relocator_chunk_t ch; +err = grub_relocator_alloc_chunk_addr (rel, &ch, GRUB_FREEDOS_BPB_ADDR, + GRUB_DISK_SECTOR_SIZE); I don't understand this. Shouldn't it

Re: [PATCH] Improve FreeDOS direct loading support compatibility.

2012-09-09 Thread Vladimir 'φ-coder/phcoder' Serbinenko
r releases of the FreeDOS kernel too, still called DOS-C. > These DOS-C releases already are under GPLv2+ so I hope it is okay to > mention them in the comment, as the attached patch does. > > Regards, > Chris > > improve-freedos-compatibility-2.diff > > >

Re: [PATCH] Improve FreeDOS direct loading support compatibility.

2012-07-08 Thread C. Masloch
Thanks for the help. The attached patch includes spaces around all operators, doesn't include the void cast, and doesn't mention (E)DR-DOS any longer. I recently learned that the dl register requirement is present in prior releases of the FreeDOS kernel too, still called DOS-C. These DOS-

Re: [PATCH] Improve FreeDOS direct loading support compatibility.

2012-07-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 30.06.2012 07:43, C. Masloch wrote: > #define GRUB_FREEDOS_SEGMENT 0x60 > +#define GRUB_FREEDOS_ADDR(GRUB_FREEDOS_SEGMENT<<4) > #define GRUB_FREEDOS_STACK_SEGMENT 0x1fe0 > -#define GRUB_FREEDOS_STACK_POINTER 0x8000 > +#define GRUB_FREEDOS_STACK_BPB_POINTER

[PATCH] Improve FreeDOS direct loading support compatibility.

2012-06-29 Thread C. Masloch
Hello, A bit about me first; feel free to skip this paragraph. I know 86 assembly language well and have been involved in FreeDOS kernel development. On the freedos-user list I read that GRUB 2.00 added FreeDOS direct loading support. I have reviewed GRUB's implementation of the FreeDOS loa