QVSS: Fix to handle when cursor is near the right edge of the screen and only partially visible.

Prior fix for cursor tracking allowed this to now be observed.

The description of the prior change should have been:

The status bits need to be set in the upper byte of the DUART receiver buffer. This is not mentioned in the DEC manual but I found a Phillips datasheet for the 2681 chip, which has a small footnote about it.
This commit is contained in:
Mark Pizzolato 2013-08-19 06:48:24 -07:00
parent 47a6bdf952
commit c8f775a91e

View file

@ -743,6 +743,8 @@ for (ln = 0; ln < VC_YSIZE; ln++) {
if ((ln >= CUR_Y) && (ln < (CUR_Y + 16))) { /* cursor on this line? */ if ((ln >= CUR_Y) && (ln < (CUR_Y + 16))) { /* cursor on this line? */
cur = &vc_cur[((ln - CUR_Y) << 4)]; /* get image base */ cur = &vc_cur[((ln - CUR_Y) << 4)]; /* get image base */
for (col = 0; col < 16; col++) { for (col = 0; col < 16; col++) {
if ((CUR_X + col) >= 1024) /* Part of cursor off screen? */
continue; /* Skip */
if (CUR_F) /* mask function */ if (CUR_F) /* mask function */
line[CUR_X + col] = line[CUR_X + col] | cur[col]; line[CUR_X + col] = line[CUR_X + col] | cur[col];
else else