VOGONS


First post, by tkcmd

User metadata
Rank Newbie
Rank
Newbie

Think i found (and solved) another small bug
it seemed to happen in textmode concerning int 10 AH 02 and number of rows involved.
I noticed this when trying the game stackup
Before the game starts you have an option menu in textmode. When a key was pressed it became corrupted every time more and more
After some debugging i could backtrace the problem to this in the source coude (Dosbox developers please confirm this as i am no real debugging wiz 😀 )
Seems like there was something wrong with the number of rows that was used

in /src/ints/int10.h
(somewhere around line 96)

#define BIOS_NROWS Bit16u nrows=real_readb(BIOSMEM_SEG,BIOSMEM_NB_ROWS)+1;

And changed it to

#define BIOS_NROWS Bit16u nrows=real_readb(BIOSMEM_SEG,BIOSMEM_NB_ROWS);

That fixed the problem
Added some screens so you would understand it a little better
Ow btw the game still has some other problems when using it together with soundblaster ...

Reply 1 of 1, by Snover

User metadata
Rank l33t++
Rank
l33t++

Please use PNG instead of JPEG in the future for these things.

Yes, it’s my fault.