简体   繁体   中英

Print in screen without interruptions assembly 8086

I have a big problem with a program in assembly x86. I have to print in screen, that's easy, the real problem is that I have to do it without interruptions. I know that I have to write directly in video buffer, also I know that this memory is located in 0B800h, but I haven't found anything else. Can you give me a hand with this? Thanks

copy screen data to buffer then do what you need

mov ax,0b800h
mov es,ax
mov  di,0
mov si,0
lea ax,buffer
mov ds,ax
cld
mov cx,80*25*2
rep movsb
buffer db 80*25*2 dup(0) 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM