简体   繁体   English

在屏幕上打印而不中断组件8086

[英]Print in screen without interruptions assembly 8086

I have a big problem with a program in assembly x86. 我在程序集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. 我知道我必须直接在视频缓冲区中写入,也知道该内存位于0B800h中,但是我没有找到其他东西。 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) 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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