I need program (.asm) which centers contents of display (horizontally).

Sorry, my english is bad.
Posted on 2006-05-05 17:46:58 by nszmduu

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 ;)
Posted on 2006-05-06 04:14:23 by Homer
nszmduu: do you need this for a win32 gui, or a 16bit dos program? What efforts have you put into the matter yourself?
Posted on 2006-05-06 04:53:22 by f0dder
obrni.asm (attachment) is code for rotation display. I need code in this mode.
Attachments:
Posted on 2006-05-07 16:44:22 by nszmduu
8) 8) 8)
Attachments:
Posted on 2006-05-10 03:09:19 by nszmduu