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 ...

Attachments

  • start_uncorrupted.jpg
    Filename
    start_uncorrupted.jpg
    File size
    14.19 KiB
    Views
    1085 views
    File comment
    Uncorrupted options Screen
    File license
    Fair use/fair dealing exception
  • corrupted_after_1st_keypress.jpg
    Filename
    corrupted_after_1st_keypress.jpg
    File size
    18.18 KiB
    Views
    1085 views
    File comment
    Corruption After 1st keypress
    File license
    Fair use/fair dealing exception