Re: [Freedos-kernel] exeflat (2035a) start segment must be variable

2004-08-13 Thread Alain
Hi Arkady,
good to have you back :)
Please send me your email address for direct contact. I sent you a 
message that was probably lost :(

Alain

---
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-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] exeflat (2035a) start segment must be variable

2004-08-12 Thread Arkady V.Belousov
Hi!

7--2004 13:28 [EMAIL PROTECTED] (Luchezar Georgiev) wrote to
[EMAIL PROTECTED]:

LG exeflat.c of build 2035a (not 2035) has a problem. The start segment is an
LG argument so it's a variable and its value - 2 must be loaded into DI
LG instead of the constant 0x5E. Here's a fix:
LG +*(short *)trailer[3] = start_seg - 2;

 True. Thank you, Lucho.

PS: My working machine died, so I currently change my machine, disks and OS.
The more so, many times I spend by playing into Heroes III. :( So, some time
I will answer slowly.




---
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-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


[Freedos-kernel] exeflat (2035a) start segment must be variable

2004-08-07 Thread Luchezar Georgiev
exeflat.c of build 2035a (not 2035) has a problem. The start segment is an 
argument so it's a variable and its value - 2 must be loaded into DI 
instead of the constant 0x5E. Here's a fix:

--- cvs\kernel\utils\exeflat.c  2004-07-09 04:16:30.0 +0200
+++ src\kernel\utils\exeflat.c  2004-08-07 13:16:38.0 +0200
@@ -303,6 +303,7 @@
   0x33,0xFF,   /* 27 xor di,di */
   0xFF,0xE7,   /* 29 jmp di; jmp 0 */
 };
+*(short *)trailer[3] = start_seg - 2;
 *(short *)trailer[15] = (short)size + 0x20;
 *(short *)trailer[20] = start_seg + header.exInitSS;
 *(short *)trailer[25] = header.exInitSP;
---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] exeflat (2035a) start segment must be variable

2004-08-07 Thread Bart Oldeman
On Sat, 7 Aug 2004, Luchezar Georgiev wrote:

 exeflat.c of build 2035a (not 2035) has a problem. The start segment is an
 argument so it's a variable and its value - 2 must be loaded into DI
 instead of the constant 0x5E. Here's a fix:

 --- cvs\kernel\utils\exeflat.c2004-07-09 04:16:30.0 +0200
 +++ src\kernel\utils\exeflat.c2004-08-07 13:16:38.0 +0200
 @@ -303,6 +303,7 @@
 0x33,0xFF,/* 27 xor di,di */
 0xFF,0xE7,/* 29 jmp di; jmp 0 */
   };
 +*(short *)trailer[3] = start_seg - 2;
   *(short *)trailer[15] = (short)size + 0x20;
   *(short *)trailer[20] = start_seg + header.exInitSS;
   *(short *)trailer[25] = header.exInitSP;

Hi Lucho,

This is against exeflat.c of 2035a-UNSTABLE. Neither 2035a (i.e. CVS
HEAD) nor 2035 have this problem.

Bart


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel