📄 study.def
字号:
; ***************************************************************************
; * Project : Electronic Dictionary *
; * Date : 2003.9 *
; * File Name : STUDY.DEF *
; ***************************************************************************
gamestate_study equ 82h
;;95h=bitcount 不能用
temp equ 08fh
number equ 09ah
first_addrp equ 09bh
first_addrh equ 09ch
first_addrm equ 09dh
first_addrl equ 09eh ;;any group的第一个单词地址
study_index_l equ 09fh
current_Addrl_bak equ 0a0h
current_Addrm_bak equ 0a1h
current_Addrh_bak equ 0a2h
current_Addrp_bak equ 0a3h
first_addrl_bak equ 0a4h
first_addrm_bak equ 0a5h
first_addrh_bak equ 0a6h
first_addrp_bak equ 0a7h
study_max_group equ 0a8h ;;学习最大组别
textscreenno1 equ 0a9h
study_index_m equ 0aah ;; 不知道在显示成绩时会不会出现变量值不对
study_index_h equ 0abh
study_index_p equ 0ach
study_address_l equ 0adh
study_address_m equ 0aeh
study_address_h equ 0afh
study_address_p equ 0b0h
study_set_index equ 0b1h
textheadaddrh equ 0b2h
textheadaddrl equ 0b3h
public_flag equ 0b4h
score_temp equ 0b5h
flashaddrhbf equ 0b6h
flashaddrlbf equ 0b7h
flashaddrh equ 0b8h
flashaddrl equ 0b9h
score_groupbf equ 0bah
score_group equ 0bbh ;0b0h
score_rage equ 0bch ;0b1h
temp_study equ 280h
temp_study1 equ 281h
temp_study2 equ 282h
temp_study3 equ 283h
temp_study4 equ 284h
textpagenum_study equ 285h
temp_goe2c_flag equ 286h ;;标志是否第一次进入复习英译汉
extract_addrbak_study equ 287h
tempy equ 2a0h ;8fh
correctword equ 2a1h
not_correctword equ 2a2h
curymax_bak equ 2a3h
star_textbuffor equ 2a4h
end_textbuffor equ 2a5h
next_group_flag equ 2a6h ;;生词库是否有下一组?=1没有
word_counter equ 2a7h ;;单词计数器 0~49
totalword equ 2a8h
current_AddrL equ 2b0h ;;单词指针(一次)
current_Addrm equ 2b1h
current_addrh equ 2b2h
current_addrp equ 2b3h
letterwordlength equ 2b4h ;;单词字母长度,不包括;;符号
fenlei_total_word equ 2b5h ;;分类词每组的单词数
store_keyno equ 2b6h
phonelength equ 2b7h ;8feh
scorel equ 2bah
scoreh equ 2bbh
score equ 2bch
;;=========== study buffer(begin) =======================================
wordlocation equ 300h+85 ;;显示英文和音标时,存放英文和音标,理论长度80
showwordlocation equ 300h+86+80 ;400h ;;yiadd 2-10-21;300h+0h ;;存放单词字母,长度41
filllocation equ 300h+42 ;;存放'-'的位置,理论长度41
dispbuffor_offset equ showwordlocation+42
get_dispbuffor_num equ showwordlocation+44 ;add by Y.L(count get chinese/english 个数的位置)
get_e2c_num equ showwordlocation+44 ;add by Y.L(count get chinese/english 个数的位置)
page_num equ showwordlocation+45
page_num_max equ showwordlocation+46
random0 equ showwordlocation+47
random1 equ showwordlocation+48
random2 equ showwordlocation+49
temp_random equ showwordlocation+50
getword_random0 equ showwordlocation+54
getword_random1 equ showwordlocation+55
getword_random2 equ showwordlocation+56
getword_random3 equ showwordlocation+57
getword_rightvalue equ showwordlocation+57
getword_random_num equ showwordlocation+58
print_num equ showwordlocation+59
temp_0 equ showwordlocation+60
temp_1 equ showwordlocation+61
answer_num equ showwordlocation+62
right_num equ showwordlocation+63
wrong_num equ showwordlocation+64
keyvalue_L equ showwordlocation+65 ;;zl.
keyvalue_H equ showwordlocation+66 ;;
temp1 equ showwordlocation+67 ;;
guessrightnum equ showwordlocation+68 ;;
guess_answer_flag equ showwordlocation+69 ;;
guess_tishi_flag equ showwordlocation+70 ;;
guess_score equ showwordlocation+71 ;;
temp2 equ showwordlocation+72 ;;
which_song equ showwordlocation+73 ;;
dispbuffor equ showwordlocation+76 ;add by Y.L(HAVE 240 BYTES)
PageXaddrbuff_study equ 600h ;保存6字节单词地址,长度未知=256?
new_word_name_buffer equ 700h ;;生词库组名buffer
;;不会与wordlocation 冲突
;;注意buffer或变量会不会与蔡工的冲突?????
;;=========== study buffer(end) =========================================
;;=========== 常量定义(begin) ===========================================
K1Key equ BKey ; '1'
K2Key equ NKey ; '2'
K3Key equ MKey ; '3'
store_score_flash equ 0c000h
studyragemax equ 8 ;121 ;;常数最大内容数
fenlei_study equ 8
length_name_buffer equ 8
new_word_drr equ 0088h
new_name_address equ 0d000h ;生词库组名开始地址
newword_startaddr equ 0d150h ;开始存放生词的地址
buff_Newwordstartaddr equ 0b150h ;开始存放生词的地址flash缓冲
Newword_NameEndaddr equ 0d144h ;生词组组名结束地址
Newword_TeamLen equ 64h ;每组生词库的长度
Newword_teamMax equ 36 ;最大生词组数
max_word equ 49
max_wordlengt equ 41 ;最大单词长度,大于此数不要
one_line_word equ 21
;;public_flag
;;0 1 2 3 4 5 6 7
; |
; |
; |
; |
; |
; |
; |
; ------------------>还有没有下屏标志=1没有
;;-----------------------------------------------------------------------
;; 常量定义 zl.
;;-----------------------------------------------------------------------
textbufforrow0 equ 0 ;;zl.
textbufforrow1 equ 20 ;;
textbufforrow2 equ 40
textbufforrow3 equ 60
textbufforrow4 equ 80
max_word_num equ 10
disp_location_1 equ 6
disp_location_2 equ 13
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -