而我改成输出是英文,电脑就能正确输出 英文字符
说明 程序本身是没有错的,能输出的
我就想知道,怎么样才能让它输出 中文啊?
到网上找了个
.MODEL small
.data
font_table label word
; 吴 offset:0x000218e0 GB:0xcee2 QW:4666
DB
016,000,248,031,016,016,016,016,240,031,000,000,016,000,248,063,000,001,004,001,254,255,128,002,064,
002,032,004,028,024,008,096
StartRow dw 100
StartCol dw 100
loopFlagCol db 0
.code
.586
.startup
mov ah,0
mov al,12H
int 10H
mov ax,0001H ;show mouse pointer
int 33H
mov cl,1
Back_again:
mov al,cl
call show_ch_font
mov ah,0
int 16H
mov ax,0003H
int 10H
.exit
show_ch_font proc
pusha
xor si,si
mov dx,StartRow
Next_Row:
mov cx,StartCol
next_col:
push cx
mov ax,8000H
mov cl,loopFlagCol
shr ax,cl
pop cx
and ax,[font_table+si]
inc loopFlagCol
cmp loopFlagCol,17
jnz @F
mov loopFlagCol,0
add si,2
cmp si,32
jz show_font_end
inc dx
jmp next_Row
@@:
inc cx
call int10_0C
jmp next_col
show_font_end:
popa
ret
show_ch_font endp
int10_0C proc
pusha
test ax,ax
jnz @F
mov al,02H ;color
jmp short start_output
@@:
mov cl,4
start_output:
mov ah,0ch
mov bh,0
int 10H
popa
ret
int10_0C endp
end