Page 1 of 1

[genccon] [ADAM] scrolling broken in 9918 text mode

Posted: Sat Nov 20, 2021 4:05 am
by tschak909
When using the generic console, scrolling is broken outright, the second to bottom line keeps being repeated, while the text on the last line is changedd.

Test program:

Code: Select all

#include <conio.h>
#include <msx.h>

void main(void)
{
     int i=0;
     while(1) { printf("%d",i++); }
}

Re: [genccon] [ADAM] scrolling broken in 9918 text mode

Posted: Sat Nov 20, 2021 8:08 pm
by dom
Sorry Thom I’ve not had a chance to look at this yet.

I’m guessing this is mode 2? It’s odd that code hasn’t changed in years and I thought it was working.

Re: [genccon] [ADAM] scrolling broken in 9918 text mode

Posted: Sat Nov 20, 2021 8:47 pm
by tschak909
oop sorry, that's mode 0.

there's supposed to be an msx_set_mode(0); in there. :)

Re: [genccon] [ADAM] scrolling broken in 9918 text mode

Posted: Sun Nov 21, 2021 12:51 am
by dom
That makes more sense...there were a couple of bugs there....

Should be fixed in the next nightly - thanks for the report!

Re: [genccon] [ADAM] scrolling broken in 9918 text mode

Posted: Mon Nov 22, 2021 8:30 pm
by tschak909
Yup, definitely fixed.
WIN_20211122_14_27_56_Pro.jpg
(don't mind missing chars, adamnet timing is still not 100% correct)

-Thom