;--------------------------------------------------------------------------------;此模板是纯DOS程序代码,需要MASM5.0,编译时请使用"编译 -> DOS"方式。;--------------------------------------------------------------------------------Init_game macro op1,op2,op3,op4,op5,op6
mov cx,00h mov dh,op1 mov dl,op2op6: mov ah,02hmov bh,00h int 10h
push cxmov ah,0ahmov al,op3mov bh,00hmov cx,01hint 10hpop cx
inc cxinc op4cmp cx,op5jne op6
endm
clear_screen macro op1,op2,op3,op4 mov ah,06h mov al,00hmov bh,07hmov ch,op1mov cl,op2mov dh,op3mov dl,op4int 10h
mov ah,02hmov bh,00hmov dh,00hmov dl,00hint 10hendm
menu macro op1,op2,op3 mov ah,02hmov bh,00hmov dh,op1mov dl,op2int 10h
mov ah,09hlea dx,op3int 21hendm
data segment
linjiang db "Made by lin jiang$" no db "NO.:021411$"meg db "Let us have a game!!Come on!!$"meg1 db "**Select Menu**$"m...
>> 阅读全文