diff --git a/Documentation.md b/Documentation.md index d41fa8d..1b750cb 100644 --- a/Documentation.md +++ b/Documentation.md @@ -698,7 +698,7 @@ Sets the currently selected view's value. Currently only useful for progress bar X: WGSetState A: new value -&SETV(V value) +&SETV(value) diff --git a/WeeGUI_MLI.s b/WeeGUI_MLI.s index e227ff0..ae8a306 100644 --- a/WeeGUI_MLI.s +++ b/WeeGUI_MLI.s @@ -67,5 +67,6 @@ WGDeleteView = 66 WGEraseView = 68 WGExit = 70 WGCreateProgress = 72 +WGSetState = 74 diff --git a/applesoft.s b/applesoft.s index 8c298a3..0617d82 100644 --- a/applesoft.s +++ b/applesoft.s @@ -474,7 +474,7 @@ WGAmpersand_PROG: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; WGAmpersand_SETV -; Set value (state) +; Set the 'value' field of the selected view ; &SETV(v) WGAmpersand_SETV: jsr WGAmpersandBeginArguments diff --git a/weegui.s b/weegui.s index 4c606a2..4168d1e 100644 --- a/weegui.s +++ b/weegui.s @@ -75,6 +75,7 @@ WGEntryPointTable: .addr WGEraseView .addr WGExit .addr WGCreateProgress +.addr WGSetState ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; WGInit @@ -86,7 +87,7 @@ WGInit: ; ; See section 5.1.4 in the ProDOS 8 Technical Reference Manual ; for an explanation of these values. We're reserving memory - ; pages $7c-$95 so that ProDOS won't use our memory for file + ; pages $7b-$95 so that ProDOS won't use our memory for file ; buffers, or allow Applesoft to step on us ; ; Byte in System Bitmap : Bit within byte