Skip to content

Commit

Permalink
Merge pull request #452 from paulscottrobson/cursorset
Browse files Browse the repository at this point in the history
Ability to set cursor
  • Loading branch information
paulscottrobson authored Apr 13, 2024
2 parents ec77677 + c06aa41 commit 255daef
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions basic/sources/commands/hardware/mouse.asm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ _MOControl:
.DoSendMessage ; set mouse visibility
.byte 11,2
.DoWaitMessage

rts

;
Expand All @@ -84,7 +83,6 @@ _MOTo:
.DoSendMessage ; set mouse position.
.byte 11,1
.DoWaitMessage

rts

.send code
Expand Down
2 changes: 1 addition & 1 deletion basic/test.bsc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file modified documents/release/basic.odt
Binary file not shown.
Binary file modified documents/release/basic.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion firmware/common/config/miscellany/group11_mouse.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 255daef

Please sign in to comment.