📄 李芳.txt
字号:
;选择类,比如鼠标选择颜色,区域,等等。有很多分支语句,要仔细看。
data segment
mx1 dw ?
my1 dw ?
k1 dw ? ; xie lu
data ends
lookmouse1 macro x1,y1
local mouse11
mouse11:
mov ax,0003h
int 33h
cmp bx,1
jne mouse11
mov x1,cx
mov y1,dx
endm
lookmouse2 macro x,y
local mouse21
local mouse22
mouse21:
mov ax,0005h
mov bx,0h
int 33h
cmp ax,1
jne mouse21
mouse22:
mov ax,0006h
mov bx,0h
int 33h
cmp ax,0
jne mouse22
mov x,cx
mov y,dx
endm
xuanze proc near
mov ax,0001h
int 33h
mov ax,1ch
mov bx,8h
int 33h
m1:
lookmouse1 mx1,my1
mov ax,mx1
mov bx,my1
cmp bx,320 ;270
jl m3
m2:
cmp ax,50
jl m1 ;seletecolor
seletecolor:
cmp ax,100
jg m1
cmp bx,335
jl color1
cmp bx,360
jl color2
cmp bx,385
jl color3
cmp bx,410
jl color4
cmp bx,435
jl color5
jmp other
color1:
cmp bx,320
jl m1
mov color,9
jmp other
color2:
cmp bx,345
jl m1
mov color,10
jmp other
color3:
cmp bx,370
jl m1
mov color,11
jmp other
color4:
cmp bx,395
jl lxl
mov color,12
lxl:
jmp other
color5:
cmp bx,420
jl col
mov color,13
col:
jmp other
m3:
cmp bx,31
jl m5
cmp ax,31
jg m4
jmp m5
m4:
cmp ax,100
jl zyl1
jmp other
zyl1:
cmp bx,112
jl lin
cmp bx,145
jl zx
cmp bx,177
jl yua
cmp bx,208
jl jux
;cmp bx,240
;jl tuo
;jmp other
m5:
cmp ax,31
jg sos
jmp other
sos:
;cmp ax,32
;jl open1
cmp ax,107
jl new1
;cmp ax,44
;jl yd
cmp ax,242
jl dele
;cmp ax,160
;jl sav
cmp ax,345
jg help
jmp qui
help:
jmp other
lin:
cmp bx,94
jg w1
jmp other
w1:
call draw_line
jmp other
zx:
cmp bx,127
jg w2
jmp other
w2:
call draw_zhexian
jmp other
yua:
cmp bx,159
jg w3
jmp other
w3:
call draw_circle
jmp other
jux:
cmp bx,191
jg w4
jmp other
w4:
call draw_juxing
jmp other
;tuo:
;cmp bx,222
;jg w5
;jmp other
;w5:call draw_tuo
;jmp other
;open1:
;cmp ax,0
;jg G1
;jmp other
;G1:
;call openproce
;jmp other
new1:
cmp ax,80
jg G2
jmp other
G2:
jmp begin
jmp other
;yd:
;cmp ax,64
;jg G3
;jmp other
;G3:
;call ydproce
;jmp other
dele:
cmp ax,188
jg G4
jmp other
G4:
renew
call zuobiao
line 140,244,620,244,1
row 380,40,380,449,1
jmp other
;sav:cmp ax,128
;jg G5
;jmp other
;G5:
;call savproce
;jmp other
qui:
cmp ax,310
jg G6
jmp other
G6:
jmp tui
other:
mov ax,0001h
int 33h
jmp m1
tui:
mov ah,0
mov al,2h
int 10h
ret
xuanze endp
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -