flat assembler
Message board for the users of flat assembler.
Index
> DOS > Moving hardware text cursor in Flat Assembler |
Author |
|
decard 15 Feb 2004, 07:39
you can use this code (I found it somewhere in my old projects). Call this proc with:
dl - cursor's x-position dh - cursor's y-position Code: video_set_cursor_pos: mov al,80 mul dh xor dh,dh add ax,dx mov cx,ax mov dx,0x03d4 mov al,0x0e out dx,al inc dx mov al,ch out dx,al mov dx,0x3d4 mov al,0x0f out dx,al inc dx mov al,cl out dx,al ret regards |
|||
15 Feb 2004, 07:39 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.