Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/text_table.asm @ 51:ceeeb5e49348
1.70....
author | heinrichsweikamp |
---|---|
date | Fri, 30 Jul 2010 12:32:15 +0200 |
parents | c97c5514b165 |
children | fee7c62b4de1 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/text_table.asm Thu Jul 29 13:23:08 2010 +0200 +++ b/code_part1/OSTC_code_asm_part1/text_table.asm Fri Jul 30 12:32:15 2010 +0200 @@ -26,7 +26,8 @@ ; Textlengths ; The length table helps to find the texts much faster - ORG 0x0100 +#DEFINE textlength_pointer_low 0x70 + ORG 0x00070 DB .0,.18,.16,.24,.6,.6 ; nu, t1, t2, t3, t4, t5 DB .8,.10,.10,.12,.6,.6 ; t6, t7, t8, t9, t10, t11 DB .8,.10,.6,.10,.6,.6 ; t12, t13, t14, t15, t16, t17 @@ -92,326 +93,326 @@ DB .14,.10,.10,.10,.14,.12 ;t280;t281;t282;t283;t284;t285 DB .16 ;t286 -; Textpositions, Y-scale and color -; Example: DB .4,.2,.1,.255 ; COLUMN=4,ROW=2,Y-Scale=1, color=255 +; Textpositions +; Example: DB .4,.2 ; COLUMN=4,ROW=2 ; Textpositions pointer -4 !! -#DEFINE textpos_pointer_high 0x02 -#DEFINE textpos_pointer_low 0xFC +#DEFINE textpos_pointer_high 0x01 +#DEFINE textpos_pointer_low 0xBC - ORG 0x0300 - DB .0,.0,.1,.15 ;1 - DB .0,.25,.1,.15 ;2 - DB .0,.2,.1,.15 ;3 - DB .65,.2,.1,.15 ;4 - DB .65,.2,.1,.15 ;5 - DB .20,.35,.1,.15 ;6 - DB .20,.65,.1,.15 ;7 - DB .20,.35,.1,.15 ;8 - DB .20,.95,.1,.15 ;9 - DB .20,.125,.1,.15 ;10 - DB .20,.185,.1,.15 ;11 - DB .115,.2,.1,.15 ;12 - DB .0,.24,.1,.15 ;13 - DB .0,.0,.1,.15 ;14 - DB .50,.2,.1,.15 ;15 - DB .10,.30,.1,.15 ;16 - DB .10,.55,.1,.15 ;17 - DB .10,.80,.1,.15 ;18 - DB .10,.105,.1,.15 ;19 - DB .10,.130,.1,.15 ;20 - DB .20,.35,.1,.15 ;21 - DB .32,.65,.1,.15 ;22 - DB .32,.95,.1,.15 ;23 - DB .32,.155,.1,.15 ;24 - DB .6,.0,.1,.15 ;25 - DB .55,.2,.1,.15 ;26 - DB .14,.2,.1,.15 ;27 - DB .40,.2,.1,.15 ;28 - DB .50,.2,.1,.15 ;29 - DB .20,.35,.1,.15 ;30 - DB .100,.0,.1,.15 ;31 - DB .100,.25,.1,.15 ;32 - DB .100,.75,.1,.15 ;33 - DB .100,.100,.1,.15 ;34 - DB .0,.0,.1,.15 ;35 + ORG 0x001C0 + DB .0,.0 ;1 + DB .0,.25 ;2 + DB .0,.2 ;3 + DB .65,.2 ;4 + DB .65,.2 ;5 + DB .20,.35 ;6 + DB .20,.65 ;7 + DB .20,.35 ;8 + DB .20,.95 ;9 + DB .20,.125 ;10 + DB .20,.185 ;11 + DB .115,.2 ;12 + DB .0,.24 ;13 + DB .0,.0 ;14 + DB .50,.2 ;15 + DB .10,.30 ;16 + DB .10,.55 ;17 + DB .10,.80 ;18 + DB .10,.105 ;19 + DB .10,.130 ;20 + DB .20,.35 ;21 + DB .32,.65 ;22 + DB .32,.95 ;23 + DB .32,.155 ;24 + DB .6,.0 ;25 + DB .55,.2 ;26 + DB .14,.2 ;27 + DB .40,.2 ;28 + DB .50,.2 ;29 + DB .20,.35 ;30 + DB .100,.0 ;31 + DB .100,.25 ;32 + DB .100,.75 ;33 + DB .100,.100 ;34 + DB .0,.0 ;35 ; 32 Custom funtion descriptors wi.12th Column=5, row=8, Y-scale=1, greyvalue=15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 ;licence: - DB .0,.35,.1,.15 ;68 - DB .0,.65,.1,.15 ;69 - DB .0,.95,.1,.15 ;70 - DB .0,.125,.1,.15 ;71 - DB .0,.155,.1,.15 ;72 - DB .0,.185,.1,.15 ;73 - DB .0,.215,.1,.15 ;74 - DB .0,.35,.1,.15 ;75 - DB .0,.65,.1,.15 ;76 - DB .0,.95,.1,.15 ;77 - DB .0,.125,.1,.15 ;78 - DB .0,.155,.1,.15 ;79 - DB .0,.185,.1,.15 ;80 - DB .0,.215,.1,.15 ;81 + DB .0,.35 ;68 + DB .0,.65 ;69 + DB .0,.95 ;70 + DB .0,.125 ;71 + DB .0,.155 ;72 + DB .0,.185 ;73 + DB .0,.215 ;74 + DB .0,.35 ;75 + DB .0,.65 ;76 + DB .0,.95 ;77 + DB .0,.125 ;78 + DB .0,.155 ;79 + DB .0,.185 ;80 + DB .0,.215 ;81 ; end of licence - DB .102,.150,.1,.15 ;82 Decostop - DB .0,.0,.1,.15 ;83 - DB .108,.216,.1,.15 ;84 No Stop - DB .108,.216,.1,.15 ;85 Decosum - DB .100,.0,.1,.15 ;86 Divetime - DB .0,.0,.1,.15 ;87 Depth - DB .0,.0,.1,.15 ;88 - DB .0,.0,.1,.15 ;89 - DB .0,.0,.1,.15 ;90 - DB .0,.0,.1,.15 ;91 - DB .0,.0,.1,.15 ;92 - DB .0,.0,.1,.15 ;93 - DB .0,.0,.1,.15 ;94 - DB .0,.0,.1,.15 ;95 - DB .0,.0,.1,.15 ;96 - DB .0,.0,.1,.15 ;97 - DB .40,.2,.1,.15 ;98 - DB .20,.35,.1,.15 ;99 - DB .20,.125,.1,.15 ;100 - DB .85,.125,.1,.15 ;101 - DB .85,.125,.1,.15 ;102 - DB .85,.125,.2,.15 ;103 - DB .85,.125,.1,.15 ;104 - DB .0,.0,.1,.15 ;105 - DB .10,.2,.1,.15 ;106 - DB .0,.0,.1,.15 ;107 - DB .0,.0,.1,.15 ;108 - DB .20,.35,.1,.15 ;109 - DB .20,.65,.1,.15 ;110 - DB .20,.2,.1,.15 ;111 - DB .0,.0,.1,.15 ;112 - DB .20,.95,.1,.15 ;113 - DB .10,.2,.1,.15 ;114 - DB .0,.9,.1,.15 ;115 - DB .85,.125,.2,.15 ;116 - DB .0,.18,.1,.15 ;117 - DB .0,.27,.1,.15 ;118 - DB .0,.36,.1,.15 ;119 - DB .0,.45,.1,.15 ;120 - DB .0,.54,.1,.15 ;121 - DB .100,.50,.1,.15 ;122 - DB .100,.25,.1,.15 ;123 - DB .100,.50,.1,.15 ;124 - DB .100,.75,.1,.15 ;125 - DB .100,.100,.1,.15 ;126 - DB .100,.0,.1,.15 ;127 - DB .100,.25,.1,.15 ;128 - DB .20,.65,.1,.15 ;129 - DB .65,.65,.1,.15 ;130 - DB .65,.65,.1,.15 ;131 - DB .100,.50,.1,.15 ;132 - DB .10,.0,.1,.15 ;133 Debug intro - DB .10,.25,.1,.15 ;134 - DB .10,.50,.1,.15 ;135 - DB .10,.75,.1,.15 ;136 /Debug Intro - DB .100,.50,.1,.15 ;137 Bailout - DB .85,.125,.1,.15 ;138 - DB .105,.120,.1,.15 ;139 Descent - DB .105,.60,.1,.15 ;140 Surface - DB .65,.2,.1,.15 ;141 - DB .20,.155,.1,.15 ;142 - DB .42,.72,.1,.15 ;143 Confirm: - DB .60,.2,.1,.15 ;144 - DB .52,.96,.1,.15 ;145 Cancel - DB .52,.120,.1,.15 ;146 OK! - DB .100,.75,.1,.15 ;147 Stopwatch - DB .160,.125,.1,.15 ;148 [12 Spaces...] - DB .0,.8,.1,.15 ;149 - DB .2,.39,.1,.15 ;150 - DB .2,.48,.1,.15 ;151 - DB .85,.125,.1,.15 ;152 - DB .20,.65,.1,.15 ;153 + DB .102,.150 ;82 Decostop + DB .0,.0 ;83 + DB .108,.216 ;84 No Stop + DB .108,.216 ;85 Decosum + DB .100,.0 ;86 Divetime + DB .0,.0 ;87 Depth + DB .0,.0 ;88 + DB .0,.0 ;89 + DB .0,.0 ;90 + DB .0,.0 ;91 + DB .0,.0 ;92 + DB .0,.0 ;93 + DB .0,.0 ;94 + DB .0,.0 ;95 + DB .0,.0 ;96 + DB .0,.0 ;97 + DB .40,.2 ;98 + DB .20,.35 ;99 + DB .20,.125 ;100 + DB .85,.125 ;101 + DB .85,.125 ;102 + DB .85,.125 ;103 + DB .85,.125 ;104 + DB .0,.0 ;105 + DB .10,.2 ;106 + DB .0,.0 ;107 + DB .0,.0 ;108 + DB .20,.35 ;109 + DB .20,.65 ;110 + DB .20,.2 ;111 + DB .0,.0 ;112 + DB .20,.95 ;113 + DB .10,.2 ;114 + DB .0,.9 ;115 + DB .85,.125 ;116 + DB .0,.18 ;117 + DB .0,.27 ;118 + DB .0,.36 ;119 + DB .0,.45 ;120 + DB .0,.54 ;121 + DB .100,.50 ;122 + DB .100,.25 ;123 + DB .100,.50 ;124 + DB .100,.75 ;125 + DB .100,.100 ;126 + DB .100,.0 ;127 + DB .100,.25 ;128 + DB .20,.65 ;129 + DB .65,.65 ;130 + DB .65,.65 ;131 + DB .100,.50 ;132 + DB .10,.0 ;133 Debug intro + DB .10,.25 ;134 + DB .10,.50 ;135 + DB .10,.75 ;136 /Debug Intro + DB .100,.50 ;137 Bailout + DB .85,.125 ;138 + DB .105,.120 ;139 Descent + DB .105,.60 ;140 Surface + DB .65,.2 ;141 + DB .20,.155 ;142 + DB .42,.72 ;143 Confirm: + DB .60,.2 ;144 + DB .52,.96 ;145 Cancel + DB .52,.120 ;146 OK! + DB .100,.75 ;147 Stopwatch + DB .160,.125 ;148 [12 Spaces...] + DB .0,.8 ;149 + DB .2,.39 ;150 + DB .2,.48 ;151 + DB .85,.125 ;152 + DB .20,.65 ;153 ; 32 Custom funtion descriptors with Column=5, row=8, Y-scale=1, greyvalue=15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 - DB .40,.35,.1,.15 ;185 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 + DB .40,.35 ;185 ; 32 Custom funtion descriptors with Column=5, row=8, Y-scale=1, greyvalue=15 - DB .13,.2,.1,.15 ;186 - DB .20,.95,.1,.15 ;187 - DB .0,.2,.1,.15 ;188 - DB .2,.48,.1,.15 ;189 - DB .0,.0,.1,.15 ;190 - DB .0,.0,.1,.15 ;191 - DB .0,.0,.1,.15 ;192 + DB .13,.2 ;186 + DB .20,.95 ;187 + DB .0,.2 ;188 + DB .2,.48 ;189 + DB .0,.0 ;190 + DB .0,.0 ;191 + DB .0,.0 ;192 ; Mode descriptions (6x) - DB .0,.35,.1,.15 - DB .0,.65,.1,.15 - DB .0,.95,.1,.15 - DB .0,.125,.1,.15 - DB .0,.155,.1,.15 - DB .0,.185,.1,.15 - DB .0,.215,.1,.15 + DB .0,.35 + DB .0,.65 + DB .0,.95 + DB .0,.125 + DB .0,.155 + DB .0,.185 + DB .0,.215 - DB .0,.35,.1,.15 - DB .0,.65,.1,.15 - DB .0,.95,.1,.15 - DB .0,.125,.1,.15 - DB .0,.155,.1,.15 - DB .0,.185,.1,.15 - DB .0,.215,.1,.15 + DB .0,.35 + DB .0,.65 + DB .0,.95 + DB .0,.125 + DB .0,.155 + DB .0,.185 + DB .0,.215 - DB .0,.35,.1,.15 - DB .0,.65,.1,.15 - DB .0,.95,.1,.15 - DB .0,.125,.1,.15 - DB .0,.155,.1,.15 - DB .0,.185,.1,.15 - DB .0,.215,.1,.15 + DB .0,.35 + DB .0,.65 + DB .0,.95 + DB .0,.125 + DB .0,.155 + DB .0,.185 + DB .0,.215 - DB .0,.35,.1,.15 - DB .0,.65,.1,.15 - DB .0,.95,.1,.15 - DB .0,.125,.1,.15 - DB .0,.155,.1,.15 - DB .0,.185,.1,.15 - DB .0,.215,.1,.15 + DB .0,.35 + DB .0,.65 + DB .0,.95 + DB .0,.125 + DB .0,.155 + DB .0,.185 + DB .0,.215 - DB .0,.35,.1,.15 - DB .0,.65,.1,.15 - DB .0,.95,.1,.15 - DB .0,.125,.1,.15 - DB .0,.155,.1,.15 - DB .0,.185,.1,.15 - DB .0,.215,.1,.15 + DB .0,.35 + DB .0,.65 + DB .0,.95 + DB .0,.125 + DB .0,.155 + DB .0,.185 + DB .0,.215 - DB .0,.35,.1,.15 - DB .0,.65,.1,.15 - DB .0,.95,.1,.15 - DB .0,.125,.1,.15 - DB .0,.155,.1,.15 - DB .0,.185,.1,.15 - DB .0,.215,.1,.15 ;234 + DB .0,.35 + DB .0,.65 + DB .0,.95 + DB .0,.125 + DB .0,.155 + DB .0,.185 + DB .0,.215 ;234 - DB .10,.2,.1,.15 ;235 - DB .85,.125,.1,.15 ;236 - DB .2,.12,.1,.15 ;237 - DB .100,.25,.1,.15 ;238 SetPoint - DB .100,.0,.1,.15 ;239 No Deco (non-GF) - DB .100,.0,.1,.15 ;240 - DB .100,.25,.1,.15 ;241 Display - DB .100,.0,.1,.15 ;242 No Deco (GF) - DB .2,.12,.1,.15 ;243 - DB .100,.100,.1,.15 ;244 Exit - DB .20,.65,.1,.15 ;245 - DB .2,.30,.1,.15 ;246 - DB .20,.125,.1,.15 ;247 Simulator - DB .30,.2,.1,.15 ;248 - DB .20,.35,.1,.15 ;249 - DB .100,.25,.1,.15 ;250 Divemode_Simulator_Menu - DB .100,.50,.1,.15 ;251 - DB .100,.75,.1,.15 ;252 - DB .100,.100,.1,.15 ;253 - DB .100,.0,.1,.15 ;254 Divemode_Simulator_Menu - DB .100,.50,.1,.15 ;255 free + DB .10,.2 ;235 + DB .85,.125 ;236 + DB .2,.12 ;237 + DB .100,.25 ;238 SetPoint + DB .100,.0 ;239 No Deco (non-GF) + DB .100,.0 ;240 + DB .100,.25 ;241 Display + DB .100,.0 ;242 No Deco (GF) + DB .2,.12 ;243 + DB .100,.100 ;244 Exit + DB .20,.65 ;245 + DB .2,.30 ;246 + DB .20,.125 ;247 Simulator + DB .30,.2 ;248 + DB .20,.35 ;249 + DB .100,.25 ;250 Divemode_Simulator_Menu + DB .100,.50 ;251 + DB .100,.75 ;252 + DB .100,.100 ;253 + DB .100,.0 ;254 Divemode_Simulator_Menu + DB .100,.50 ;255 free ; Text Bank2 (Texts 256-511): - DB .0,.0,.0,.15 ;256 - DB .20,.35,.1,.15 ;257 - DB .40,.2,.1,.15 ;258 - DB .105,.35,.1,.15 ;259 - DB .105,.35,.1,.15 ;260 - DB .105,.35,.1,.15 ;261 - DB .1,.1,.1,.15 ;262 - DB .65,.168,.1,.15 ;263 Bail - DB .7,.48,.1,.11 ;264 - DB .120,.135,.1,.15 ;265 - DB .2,.39,.1,.15 ;266 - DB .0,.216,.1,.15 ;267 - DB .10,.8,.1,.15 ;268 - DB .10,.16,.1,.15 ;269 - DB .0,.0,.1,.15 ;270 + DB .0,.0 ;256 + DB .20,.35 ;257 + DB .40,.2 ;258 + DB .105,.35 ;259 + DB .105,.35 ;260 + DB .105,.35 ;261 + DB .1,.1 ;262 + DB .65,.168 ;263 Bail + DB .7,.48 ;264 + DB .120,.135 ;265 + DB .2,.39 ;266 + DB .0,.216 ;267 + DB .10,.8 ;268 + DB .10,.16 ;269 + DB .0,.0 ;270 - DB .24,.2,.1,.15 ;271 - DB .0,.35,.1,.15 ;272 - DB .0,.65,.1,.15 ;273 - DB .0,.95,.1,.15 ;274 - DB .0,.125,.1,.15 ;275 - DB .20,.95,.1,.15 ;276 + DB .24,.2 ;271 + DB .0,.35 ;272 + DB .0,.65 ;273 + DB .0,.95 ;274 + DB .0,.125 ;275 + DB .20,.95 ;276 - DB .20,.65,.1,.15 ;277 - DB .20,.95,.1,.15 ;278 - DB .20,.125,.1,.15 ;279 - DB .20,.155,.1,.15 ;280 + DB .20,.65 ;277 + DB .20,.95 ;278 + DB .20,.125 ;279 + DB .20,.155 ;280 - DB .100,.50,.1,.15 ;281 - DB .100,.0,.1,.15 ;282 - DB .90,.54,.1,.15 ;283 Stopwatch - DB .20,.95,.1,.15 ;284 - DB .20,.125,.1,.15 ;285 + DB .100,.50 ;281 + DB .100,.0 ;282 + DB .90,.54 ;283 Stopwatch + DB .20,.95 ;284 + DB .20,.125 ;285 - DB .20,.155,.1,.15 ;286 + DB .20,.155 ;286 ; stores texts, texts must have even length and must end with "}" -#DEFINE text_pointer_high 0x07 -#DEFINE text_pointer_low 0xB0 +#DEFINE text_pointer_high 0x04 +#DEFINE text_pointer_low 0x30 - ORG 0x007B0 + ORG 0x00430 DA "Building MD2 Hash}" ;1 DA "Please Wait...}}" ;2