The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: esmeco on June 07, 2006, 09:00:34 PM

Title: Cursor position
Post by: esmeco on June 07, 2006, 09:00:34 PM
Hello!

I'm programming the tic tac toe game on 8086 and I'm having difficulties trying to change the cursor position from one place to another,for example,I managed to place the cursor on the top left corner on the tic tac toe board and I want to change it to the right on the same row.How do i do that?

Thanks in advance for the replies!
Title: Re: Cursor position
Post by: JHER VON ARBANEL on June 07, 2006, 10:12:56 PM
if u r programing in DOS look out  the "INT 10h" it manage the mouse
now in masm, in windows help there a lot of functions that u can use, u just have to read a little
i will post some programs in DOS tomorrow if u are interested, im leaving my work now
:U
Title: Re: Cursor position
Post by: MichaelW on June 09, 2006, 02:58:50 PM
Hello esmeco, welcome to the board.

By "cursor", do you mean the text cursor in a DOS program or Windows console app, or the mouse cursor?

Title: Re: Cursor position
Post by: esmeco on June 09, 2006, 08:33:56 PM
Well,by cursor I mean the text cursor that the user moves within the tic tac toe board so that he can put the X or the O symbol...