diff --git a/basic/sources/commands/hardware/mouse.asm b/basic/sources/commands/hardware/mouse.asm index 483e6e20..9992c1e6 100644 --- a/basic/sources/commands/hardware/mouse.asm +++ b/basic/sources/commands/hardware/mouse.asm @@ -58,7 +58,6 @@ _MOControl: .DoSendMessage ; set mouse visibility .byte 11,2 .DoWaitMessage - rts ; @@ -84,7 +83,6 @@ _MOTo: .DoSendMessage ; set mouse position. .byte 11,1 .DoWaitMessage - rts .send code diff --git a/basic/test.bsc b/basic/test.bsc index 4e2fa4b0..7d73860e 100644 --- a/basic/test.bsc +++ b/basic/test.bsc @@ -2,7 +2,7 @@ ' BASIC Mouse cursor manipulation ' mouse show -mouse cursor 1 +mouse cursor 2 cls:line 0,0 ink 3 to 100,100 mouse to 260,180 repeat diff --git a/documents/release/basic.odt b/documents/release/basic.odt index 5ef51eb0..cfd86ecb 100644 Binary files a/documents/release/basic.odt and b/documents/release/basic.odt differ diff --git a/documents/release/basic.pdf b/documents/release/basic.pdf index 7824afb1..ba51433e 100644 Binary files a/documents/release/basic.pdf and b/documents/release/basic.pdf differ diff --git a/firmware/common/config/miscellany/group11_mouse.inc b/firmware/common/config/miscellany/group11_mouse.inc index aa2db07c..f28d12e2 100644 --- a/firmware/common/config/miscellany/group11_mouse.inc +++ b/firmware/common/config/miscellany/group11_mouse.inc @@ -42,5 +42,5 @@ GROUP 11 Mouse FUNCTION 5 Select mouse Cursor *DERROR = CURSetCurrent(DPARAMS[0]); DOCUMENTATION - Select a mouse cursor in \Param{0} ; returns error status. + Select a mouse cursor in \Param{0} ; returns error status if the cursor is not available. \ No newline at end of file