diff --git a/ReadMe.md b/ReadMe.md index 2611303..12c1375 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -2,8 +2,6 @@ Known issues ------------ -- Negative cursor positions unsupported -- Positive scroll values unsupported - Hitting Reset in app that uses windows and desktop (no mouse needed) seems to mess up screen holes for Disk II - Mashing a button with mouse in Applesoft will cause Undefined Statement error - Repainting a view while the mouse cursor is on it will cause artifacts when mouse moves diff --git a/views.s b/views.s index bc24421..1a4475b 100644 --- a/views.s +++ b/views.s @@ -973,6 +973,10 @@ WGScrollX: LDY_ACTIVEVIEW pla + bmi WGScrollX_Store + lda #0 ; Prevent positive scroll values + +WGScrollX_Store: sta WG_VIEWRECORDS+5,y jsr cacheClipPlanes ; Scroll offset changed, so clipping cache is stale @@ -1043,6 +1047,10 @@ WGScrollY: LDY_ACTIVEVIEW pla + bmi WGScrollY_Store + lda #0 ; Prevent positive scroll values + +WGScrollY_Store: sta WG_VIEWRECORDS+6,y jsr cacheClipPlanes ; Scroll offset changed, so clipping cache is stale diff --git a/weegui.dsk b/weegui.dsk index 7689eda..c564e64 100644 Binary files a/weegui.dsk and b/weegui.dsk differ