没有合适的资源?快使用搜索试试~ 我知道了~
俄罗斯方块汇编代码
5星 · 超过95%的资源 需积分: 9 450 下载量 103 浏览量
2007-07-11
15:02:52
上传
评论 4
收藏 12KB TXT 举报
温馨提示
本例是一个俄罗斯方块汇编代码,我看别人写的,希望对正在学习的朋友有帮助
资源推荐
资源详情
资源评论
; Tetris
; Written by Lim GumSu(prk)
; 2005.12.12 Nankai University
DATA SEGMENT
SEGMENT1C DW 0
OFF1C DW 0
BOARD DW 24 DUP(?),0FFFFH
Y DB ?
TY DB ?
XR DB ?
XL DB ?
NOW DB ?
DIRE DB ?
NXT DB ?
TIM DB 0
SPEED DB 0
CON DB 0
DV DB 0
FLG DB 0
PAD DW 0H,3C0H,0H,0H ;0
DW 100H,100H,100H,100H
DW 0H,3C0H,0H,0H
DW 100H,100H,100H,100H
DW 0H,180H,180H,0H ;1
DW 0H,180H,180H,0H
DW 0H,180H,180H,0H
DW 0H,180H,180H,0H
DW 0H,380H,200H,0H ;2
DW 200H,200H,300H,0H
; Written by Lim GumSu(prk)
; 2005.12.12 Nankai University
DATA SEGMENT
SEGMENT1C DW 0
OFF1C DW 0
BOARD DW 24 DUP(?),0FFFFH
Y DB ?
TY DB ?
XR DB ?
XL DB ?
NOW DB ?
DIRE DB ?
NXT DB ?
TIM DB 0
SPEED DB 0
CON DB 0
DV DB 0
FLG DB 0
PAD DW 0H,3C0H,0H,0H ;0
DW 100H,100H,100H,100H
DW 0H,3C0H,0H,0H
DW 100H,100H,100H,100H
DW 0H,180H,180H,0H ;1
DW 0H,180H,180H,0H
DW 0H,180H,180H,0H
DW 0H,180H,180H,0H
DW 0H,380H,200H,0H ;2
DW 200H,200H,300H,0H
DW 0H,80H,380H,0H
DW 0H,300H,100H,100H
DW 0H,380H,80H,0H ;3
DW 300H,200H,200H,0H
DW 0H,200H,380H,0H
DW 100H,100H,300H,0H
DW 0H,180H,300H,0H ;4
DW 100H,180H,80H,0H
DW 0H,180H,300H,0H
DW 100H,180H,80H,0H
DW 0H,300H,180H,0H ;5
DW 80H,180H,100H,0H
DW 0H,300H,180H,0H
DW 80H,180H,100H,0H
DW 0H,380H,100H,0H ;6
DW 100H,180H,100H,0H
DW 100H,380H,0H,0H
DW 100H,300H,100H,0H
P1 DW 4 DUP(?)
P2 DW 4 DUP(?)
COLOR DB 00001001b,00001010b,00001011b,00001100b,00001101b,00001110b,00000001b
NCOLOR DB ?
SCORE DB 5 DUP('0'),'$'
PADMSG DB 25 DUP(219)
TMPMSG DB 25 DUP(?)
STARTMSG1 DB 0DH,0AH,'Select speed.',0DH,0AH,'$'
STARTMSG2 DB 20H,20H,'1. Fast',0DH,0AH,'$'
STARTMSG3 DB 20H,20H,'2. Middle',0DH,0AH,'$'
STARTMSG4 DB 20H,20H,'3. Slow',0DH,0AH,'$'
STARTMSG5 DB 20H,20H,'0. Exit',0DH,0AH,'$'
DW 0H,300H,100H,100H
DW 0H,380H,80H,0H ;3
DW 300H,200H,200H,0H
DW 0H,200H,380H,0H
DW 100H,100H,300H,0H
DW 0H,180H,300H,0H ;4
DW 100H,180H,80H,0H
DW 0H,180H,300H,0H
DW 100H,180H,80H,0H
DW 0H,300H,180H,0H ;5
DW 80H,180H,100H,0H
DW 0H,300H,180H,0H
DW 80H,180H,100H,0H
DW 0H,380H,100H,0H ;6
DW 100H,180H,100H,0H
DW 100H,380H,0H,0H
DW 100H,300H,100H,0H
P1 DW 4 DUP(?)
P2 DW 4 DUP(?)
COLOR DB 00001001b,00001010b,00001011b,00001100b,00001101b,00001110b,00000001b
NCOLOR DB ?
SCORE DB 5 DUP('0'),'$'
PADMSG DB 25 DUP(219)
TMPMSG DB 25 DUP(?)
STARTMSG1 DB 0DH,0AH,'Select speed.',0DH,0AH,'$'
STARTMSG2 DB 20H,20H,'1. Fast',0DH,0AH,'$'
STARTMSG3 DB 20H,20H,'2. Middle',0DH,0AH,'$'
STARTMSG4 DB 20H,20H,'3. Slow',0DH,0AH,'$'
STARTMSG5 DB 20H,20H,'0. Exit',0DH,0AH,'$'
剩余25页未读,继续阅读
summit_zjm
- 粉丝: 4
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页