many moons ago (20years) I wrote a lot of assembler professonally for DOS - but have not doen any since.
I am creating a Museum display based on a PC with Win 98 and display pages created with HTML. The system will be interactive in so far as I have hard wired 2 buttons into mouse and the whole lot is behind perspex so that the mouse canot be touched, just the buttons. Everything works except 1 pesky thing, which I cant do in Javascript. I want to turn off the mouse cursor and make the current mouse hot spot out of the way, default at power on is in the middle of the screen
If my memory serves me well something like
MOV AX,04h ;Set mouse to x=0,y=0
MOV CX,00h
MOV DX,CX
INT 33h
MOV AX,02h
INT 33h ;Turn mouse cursor off
MOV AL,0oh ;return code 0
MOV AH,4ch ;exit program
INT 21h
All well and good - but will it work with windows
if not can any of you good folks help me out
(I no longer have access to MASM,LINk and must rely on DEBUG)
I am creating a Museum display based on a PC with Win 98 and display pages created with HTML. The system will be interactive in so far as I have hard wired 2 buttons into mouse and the whole lot is behind perspex so that the mouse canot be touched, just the buttons. Everything works except 1 pesky thing, which I cant do in Javascript. I want to turn off the mouse cursor and make the current mouse hot spot out of the way, default at power on is in the middle of the screen
If my memory serves me well something like
MOV AX,04h ;Set mouse to x=0,y=0
MOV CX,00h
MOV DX,CX
INT 33h
MOV AX,02h
INT 33h ;Turn mouse cursor off
MOV AL,0oh ;return code 0
MOV AH,4ch ;exit program
INT 21h
All well and good - but will it work with windows
if not can any of you good folks help me out
(I no longer have access to MASM,LINk and must rely on DEBUG)