Saturday, 15 March 2014

assembly - How to move text left and right in command line? [ASM] -



assembly - How to move text left and right in command line? [ASM] -

i'm learning utilize assembly language, , 1 of tasks write application draw square , move in direction when user presses arrow key.

i utilize tasm , found functions can help me moving , downwards scrolling command line window (06h , 07h of 10h'th interruption) didn't find allow same thing moving left , right.

does know solution problem? maybe there way insert/remove spaces around square?

the square not manipulation background color, set of strings this:

***** * * *****

it's not thought utilize bios functions 06h/07h accomplish functionality! consider this: if can draw image (square) can draw 1 time again , 1 time again , again. trick first redraw attribute of blackonblack create disappear , redraw in actual colors @ new location based on user's keyboard input.

assembly command-line terminal console tasm

No comments:

Post a Comment