Tom Ehlert <[email protected]> wrote :
  
>  I'm no expert in XBDA moving, but

=1=
 
> http://support.microsoft.com/kb/135481/EN-US
| /E[:n]
|   Used without the :n parameter, indicates that Io.sys should suppress
|  the automatic relocation of EBIOS. 

> it seems to me the kernel behaves as it should.
 
= Yuk, right ! /E alone does not relocate, /E:n relocates n bytes. MS /is/ 
confusing, isn't it ? So this first point is not a bug as long as compat
is wanted. It is rather an obscurity, compounded by the fact that when  
the /E switch is missing in MS-DOS, nothing is relocated either - so what is 
the point ?
 
=2=

>> - However, in debug mode, "?SWITCHES = ..." is executed *always*
>> whether the operator answers Y or N when prompted !
>> This is a bug,
 
> the kernel code reads
 
 >>> if (nPass == 0) /* pass 0 always executed (rem
 Menu prompt switches) */
 
> note in the >>> line that 'switches' should be always executed

> I don't know know why this design decision was made, but
> this is one example of 'this not a bug, it's a feature' ;)
 
= A /*mis*feature,/ maybe ! This time FreeDOS is not following MS, 
 MS DOS [7.1 for reference] does obey the operator's interactive choice
on SWITCHES. Furthermore, the processing order of this directive 
wrt config'ed DEVICES is different (not a bug per se).

In sum, there is still a /bug/ around here: since the intent, and effect, of 
the FreeDOS
code is that this and similar "pass 0" directives be executed
/inconditionally/ then Kernel /should'nt ask/ its Y/N question on them!


(3) The 1k limit for XBDA moving introduced by MS, and followed by
FreeDOS is an anachronism. I suggest no arbitrary limit be set :
EBDA sizes of 2 to 6 k are common, and during our testing we
even found, with new "EFI" compatibilty BIOS modules, gigantic
EBDAs (one 47 kbytes - OMG what do 'they' hide in there !)

(4) The Kernel is confused and corrupts the MCB chain in certain circumstances 
- rather than go on here,  I think I'll open a new thread for that apparently 
serious bug. 


Thanks for your comments, with regards,
 
-- 
Czerno

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to