data segment
ioport equ 0ff00h-0280h
io0832a equ ioport+290h
ts1 db '锯齿 1' ,0dh,0ah
db '三角 2',0dh,0ah
db '方 3',0dh,0ah
db '正弦 4',0dh,0ah
db '退出 5',0dh,0ah,'$'
ts2 db '按下键无效,继续选择',0dh,0ah,'$'
ts3 db '俺任意键退回主菜单',0dh,0ah,'$'
sinbuf db 80h,8ch,98h,0a5h,0b0h,0bch,0c7h,0d1h;
db 0dah,0e2h,0eah,0f0h,0f6h,0fah,0fdh,0ffh
db 0ffh,0fdh,0fah,0f6h,0f0h,0eah,0e2h,0dah
db 0d1h,0c7h,0bch,0b0h,0a5h,98h,8ch,80h
db 7fh,73h,67h,5ah, 4fh, 43h, 38h, 2eh
db 25h, 1dh, 15h, 0fh, 09h, 05h, 02h, 00h
db 00h, 02h, 05h, 09h, 0fh, 15h, 1dh, 25h
db 2eh, 38h, 43h, 4fh, 5ah, 67h, 73h, 7fh
data
ioport equ 0ff00h-0280h
io0832a equ ioport+290h
ts1 db '锯齿 1' ,0dh,0ah
db '三角 2',0dh,0ah
db '方 3',0dh,0ah
db '正弦 4',0dh,0ah
db '退出 5',0dh,0ah,'$'
ts2 db '按下键无效,继续选择',0dh,0ah,'$'
ts3 db '俺任意键退回主菜单',0dh,0ah,'$'
sinbuf db 80h,8ch,98h,0a5h,0b0h,0bch,0c7h,0d1h;
db 0dah,0e2h,0eah,0f0h,0f6h,0fah,0fdh,0ffh
db 0ffh,0fdh,0fah,0f6h,0f0h,0eah,0e2h,0dah
db 0d1h,0c7h,0bch,0b0h,0a5h,98h,8ch,80h
db 7fh,73h,67h,5ah, 4fh, 43h, 38h, 2eh
db 25h, 1dh, 15h, 0fh, 09h, 05h, 02h, 00h
db 00h, 02h, 05h, 09h, 0fh, 15h, 1dh, 25h
db 2eh, 38h, 43h, 4fh, 5ah, 67h, 73h, 7fh
data