Re: [SeaBIOS] [Qemu-devel] : Memory problem with Qemu/SeaBIOS

2012-05-07 Thread Kevin O'Connor
On Mon, May 07, 2012 at 08:58:45AM -0700, Alain Ribière wrote:
> Hello,
> 
> I have a memory trouble with an old DOS OS from Digital Research called 
> Concurrent DOS.
> It worked fine till Qemu v0.11.1.
> I use Qemu to make a legacy application run without any modification.
> 
> Starting with Qemu 0.12, my legacy application has not enough memory to run.
> Actually it seems that the SeaBIOS doesn't use the same memory mapping than 
> PC-BIOS used to, causing trouble to my application.
> 
> Is there any way to get SeaBIOS use (more or less) the same memory amount and 
> memory mapping than the older PC-BIOS ?
> 
> I tried to recomplie SeaBIOS 1.7.0 with less options but the result is the 
> same.

When reporting an issue with SeaBIOS, please include the log obtained
when running qemu with "-chardev stdio,id=seabios -device
isa-debugcon,iobase=0x402,chardev=seabios".

I took a quick look at this, and I don't think this is a memory size
issue - the screenshots actually show that running under seabios makes
more memory available (15664 vs 15648).  Instead, I'd guess concurrent
dos is not making a "banked window" that is large enough.  I don't
know why the memory segments between 0x0b00 and 0x3400 aren't being
used.  There is no legacy bios interface to reserve memory under 1meg,
so I'm sure SeaBIOS isn't doing this wrong.  Indeed, SeaBIOS is much
more careful about touching ram under 1meg than Bochs bios is.

So, I'd guess something unrelated is confusing concurrent dos and the
above is just a symptom of the problem.  Unfortunately, I don't know
of any way to track that down without source code for the image and
spending a large amount of debugging time.

-Kevin

___
SeaBIOS mailing list
SeaBIOS@seabios.org
http://www.seabios.org/mailman/listinfo/seabios


Re: [SeaBIOS] [Qemu-devel] : Memory problem with Qemu/SeaBIOS

2012-05-07 Thread Peter Stuge
Alain Ribière wrote:
> I also join two print screen of the same C-DOS utility. One with
> Qemu 1.0 and SeaBIOS 1.7.0 and the other with Qemu 0.10.0. The
> amount of memory is quite different between the versions.

It might be interesting to see even more verbose output, like from
the mem tool in MS-DOS. Maybe you have some DOS images around and can
compare?


//Peter

___
SeaBIOS mailing list
SeaBIOS@seabios.org
http://www.seabios.org/mailman/listinfo/seabios