I need program (.asm) which centers contents of display (horizontally).
Sorry, my english is bad.
Sorry, my english is bad.
Obtain the width of the display (or target window) and divide it by two.
Being asm coders, of course we do a binary shift one bit to the right, rather than doing a divide by two, because its faster and has the same effect ;)
nszmduu: do you need this for a win32 gui, or a 16bit dos program? What efforts have you put into the matter yourself?
obrni.asm (attachment) is code for rotation display. I need code in this mode.
8) 8) 8)