Having trouble wih the mouse and outpot
I want to allow the user to click on his chosen submarine (which are already located:)) and then he clicks another time on the screen and the submarine appers there. For some reason no matter what i click on or where the same submarine (submarine 4) appers and after i move my mouse some of […]
Having trouble with mouse functiom Tasm assembly
proc UseMouse push ax ; mouse register push cx ; x cordinates (for future submarine) push dx ; y cordinates (for future submarine) mov ax,0h int 33h mov ax,1h int 33h mov ax,3h int 33h shr cx,1 wait_for_leftclick: cmp bx, 01h je loop3 jmp wait_for_leftclick loop3: Tnai1: cmp al, 4 je Printsub1 jmp Tnai2 Tnai2: […]