flat assembler
Message board for the users of flat assembler.

Index > DOS > call cursor to next line

Author
Thread Post new topic Reply to topic
GhostXoPCorp



Joined: 13 Dec 2008
Posts: 199
Location: 01F0:0100
GhostXoPCorp
ok, i want my cursor to go to the next line when someone typesomething in and hits enter, the result turns up on next line so i figured i would do this

after the user hits enter var1 (the verticle var for the cursor location int)
add 1 to it, then the cursor will go down the page by one next time nextline is called


i will also use this function as a end line for strings, but for somereason this whole thing does not work, can someone give me a little code on how to add 1 to a var and make it turn 1 into 2 then 3 then 4 and so on, its simple but i dont know how ot do it.

_________________
Oh that divide overflow. Just jumps out of the bushes every time to scare the day lights out of me.
Post 20 Dec 2008, 23:43
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17449
Location: In your JS exploiting you and your system
revolution
Code:
add [var],1    
Post 21 Dec 2008, 00:48
View user's profile Send private message Visit poster's website Reply with quote
GhostXoPCorp



Joined: 13 Dec 2008
Posts: 199
Location: 01F0:0100
GhostXoPCorp
i knew it was simple, i forgot that there are x86 commands for that and not var + 1, i need to recheck that list, thank you

_________________
Oh that divide overflow. Just jumps out of the bushes every time to scare the day lights out of me.
Post 21 Dec 2008, 03:39
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.