tasm 1.4颜色代码橙色而不是黄色

时间:2016-10-24 03:45:59

标签: colors tasm

    mov ah,06h 
    mov bh,60h; - its for the color yellow it shows orange
    mov ch,7
    mov cl,6
    mov dh,7
    mov dl,6
    int 10h
这是图片 https://www.zeta-uploader.com/en/openfile?hash=1248851038&rel=1248851038.png&r=https%3a%2f%2fwww.zeta-uploader.com%2fen&s=397015302

1 个答案:

答案 0 :(得分:0)

您需要打开颜色的高强度位。您需要的值是0xe0。

请参阅https://en.wikipedia.org/wiki/BIOS_color_attributes