Mail Archives: djgpp/1994/03/13/18:57:06
I got sally (fsdb090.zip) to work under dpmi (os/2), although I don't
understand the consequences of the changes I had to make.
1. In fullscr.c, remove call to sleep(1).
2. In fullscr.c, add cases for non-extended keyboard arrow keys.
3. In read.s, change
cmpl $4096,%ecx
jae old_way
to
cmpl $4096,%ecx
ja old_way /* don't jump on equal */
This is the one I really don't understand, and it's scary because read.s
is not specific to the debugger, it's probably used by most programs.
At this point, %ecx seems to hold the number of bytes to read, and I think
$4096 is the size of the transfer buffer. I suspect I'm actually
compensating for a go32 problem, and if more than 4096 bytes were being
read, my change wouldn't help.
- Raw text -