mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-13 07:29:54 +00:00
glados: mouse test code now works, thanks to inexorabletash on c.s.a2.p
This commit is contained in:
parent
f475446465
commit
e19783aafa
@ -6,10 +6,10 @@
|
||||
25 PRINT "NO MOUSE IN SLOT #4":END
|
||||
30 PRINT "MOUSE FOND SLOT #4"
|
||||
' Enable the mouse
|
||||
100 PRINT CHR$(4)"PR#4":PRINT CHR$(1)
|
||||
105 PRINT CHR$(4)"IN#4":INPUT "";X,Y,S
|
||||
110 PRINT X,Y,S
|
||||
120 PRINT CHR$(4)"IN#0"
|
||||
100 PRINT CHR$(4)"PR#4":PRINT CHR$(1):PRINT CHR$(4)"PR#0"
|
||||
105 PRINT CHR$(4)"IN#4":INPUT "";X,Y,B:PRINT CHR$(4)"IN#0"
|
||||
' X,Y,Button state (1 button) 4=up, 2=pressed, 1=down, 3=release
|
||||
110 PRINT X,Y,B
|
||||
130 GOTO 105
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user