[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedos-kernel
Subject:    Re: [kernel] Problems with build 2024c and build 2029
From:       Bart Oldeman <oldeman () math ! ohio-state ! edu>
Date:       2003-03-26 7:07:02
[Download RAW message or body]

On Wed, 26 Mar 2003, Stephan Brauss wrote:

> > SB> until yesterday, I used the freedos kernel build 2024c
> > SB> together with dosemu-1.0.2. With this environment, the
> > SB> appended program shows that one byte in main memory allocated
> > SB> by malloc() is altered as soon as a key is pressed. This byte
> >
> >      Which compiler? If this is Borland's compiler, then there should be
> > some clarifications:
> Yes, thank you for the hints. You are right, my code is badly written.
> I applied your changes but the problem still persists.

I didn't see any problems with your code (as long as it would use the
compact, large or huge memory model). Using unsigned ints instead of
signed ints wasn't strictly necessary because none of them overflowed (in
the loop).

> I use a rather old
> Microsoft Compiler called QuickC.
> Yesterday evening, I compiled 2024h and with this kernel the program runs correct.
> Also the find_first/next functions seem to work for me. I did not try to print
> until now.

yes, likely some DOS memory allocation problem was fixed at the time.

about findfirst/findnext and printing: please try with kernel 2024c (or
another one that works) and 2029 and run identical sessions with:

dosemu -D+Ddp -o logfile

for both cases, and then compare the two logfiles that are generated by
DOSEMU.

Bart

==^================================================================
This email was sent to: freedos-kernel@progressive-comp.com

EASY UNSUBSCRIBE click here: http://topica.com/u/?b1ddyi.b3hD5O.ZnJlZWRv
Or send an email to: fd-kernel-unsubscribe@topica.com

TOPICA - Start your own email discussion group. FREE!
http://www.topica.com/partner/tag02/create/index2.html
==^================================================================

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic