flat assembler
Message board for the users of flat assembler.
Index
> DOS > Blinking point |
Author |
|
donkey7 21 May 2006, 17:52
1. use backbuffer
2. write this: Code: wait_vr: mov edx, 03dah wvr_1: in al, dx test al, 8 jz wvr_1 wvr_2: in al, dx test al, 8 jnz wvr_2 ret before copying backbuffer to vga buffer. or 1. move this piece of code: Code: mov ax, 0a000h mov es, ax mov cx, 16000 xor di, di xor ax, ax cld rep stosd before main 2. replace this: Code: mov [es:eax], byte 15 key_loop: pause in al, 60h cmp al, 0 je key_loop with: Code: mov [es:eax], byte 15 push eax key_loop: pause in al, 60h cmp al, 0 je key_loop pop eax mov [es:eax], byte 0 |
|||
21 May 2006, 17:52 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.