Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/text_table.asm @ 83:3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
author | heinrichsweikamp |
---|---|
date | Tue, 07 Dec 2010 22:36:19 +0100 |
parents | 35d947d7a6e7 |
children | 8b813f67220f |
comparison
equal
deleted
inserted
replaced
82:bc3092c41335 | 83:3e351e25f5d1 |
---|---|
24 ; ToDo: | 24 ; ToDo: |
25 | 25 |
26 ; Textlengths | 26 ; Textlengths |
27 ; The length table helps to find the texts much faster | 27 ; The length table helps to find the texts much faster |
28 | 28 |
29 #DEFINE textlength_pointer_low 0x70 | 29 texts code 0x00070 |
30 ORG 0x00070 | 30 |
31 textlength_pointer: | |
31 DB .0,.18,.16,.24,.6,.6 ; nu, t1, t2, t3, t4, t5 | 32 DB .0,.18,.16,.24,.6,.6 ; nu, t1, t2, t3, t4, t5 |
32 DB .8,.10,.10,.12,.6,.6 ; t6, t7, t8, t9, t10, t11 | 33 DB .8,.10,.10,.12,.6,.6 ; t6, t7, t8, t9, t10, t11 |
33 DB .8,.10,.6,.10,.6,.6 ; t12, t13, t14, t15, t16, t17 | 34 DB .8,.10,.6,.10,.6,.6 ; t12, t13, t14, t15, t16, t17 |
34 DB .8,.8,.6,.14,.6,.6 ; t18, t19, t20, t21, t22, t23 | 35 DB .8,.8,.6,.14,.6,.6 ; t18, t19, t20, t21, t22, t23 |
35 DB .10,.10,.8,.20,.12,.10 ; t24, t25, t26, t27, t28, t29 | 36 DB .10,.10,.8,.20,.12,.10 ; t24, t25, t26, t27, t28, t29 |
85 DB .16,.10,.16,.12,.6,.6 ;t246;t247;t248;t249;t250;t251 | 86 DB .16,.10,.16,.12,.6,.6 ;t246;t247;t248;t249;t250;t251 |
86 DB .6,.6,.6,.8 ;t252;t253;t254;t255 | 87 DB .6,.6,.6,.8 ;t252;t253;t254;t255 |
87 | 88 |
88 ; Text Bank2 (Texts 256-511): | 89 ; Text Bank2 (Texts 256-511): |
89 DB .2,.14,.14,.8,.8,.8 ;t256;t257;t258;t259;t260;t261 | 90 DB .2,.14,.14,.8,.8,.8 ;t256;t257;t258;t259;t260;t261 |
90 DB .6,.6,.6,.6,.10,.6 ;t262;t263;t264;t265;t266;t267 | 91 DB .6,.6,.6,.6,.10,.10 ;t262;t263;t264;t265;t266;t267 |
91 DB .4,.8,.4,.14,.20,.18 ;t268;t269;t270;t271;t272;t273 | 92 DB .4,.8,.4,.14,.20,.18 ;t268;t269;t270;t271;t272;t273 |
92 DB .20,.14,.10,.14,.12,.16 ;t274;t275;t276;t277;t278;t279 | 93 DB .20,.14,.10,.14,.12,.16 ;t274;t275;t276;t277;t278;t279 |
93 DB .14,.10,.10,.10,.14,.12 ;t280;t281;t282;t283;t284;t285 | 94 DB .14,.10,.10,.10,.14,.12 ;t280;t281;t282;t283;t284;t285 |
94 DB .16 ;t286 | 95 DB .16 ;t286 |
95 | 96 |
96 ; Textpositions | 97 ; Textpositions |
97 ; Example: DB .4,.2 ; COLUMN=4,ROW=2 | 98 ; Example: DB .4,.2 ; COLUMN=4,ROW=2 |
98 | 99 |
99 ; Textpositions pointer -4 !! | 100 ; Textpositions pointer |
100 #DEFINE textpos_pointer_high 0x01 | 101 textpos_pointer: |
101 #DEFINE textpos_pointer_low 0xBC | |
102 | |
103 ORG 0x001C0 | |
104 DB .0,.0 ;1 | 102 DB .0,.0 ;1 |
105 DB .0,.25 ;2 | 103 DB .0,.25 ;2 |
106 DB .0,.2 ;3 | 104 DB .0,.2 ;3 |
107 DB .65,.2 ;4 | 105 DB .65,.2 ;4 |
108 DB .65,.2 ;5 | 106 DB .65,.2 ;5 |
377 DB .40,.2 ;258 | 375 DB .40,.2 ;258 |
378 DB .105,.35 ;259 | 376 DB .105,.35 ;259 |
379 DB .105,.35 ;260 | 377 DB .105,.35 ;260 |
380 DB .105,.35 ;261 | 378 DB .105,.35 ;261 |
381 DB .1,.1 ;262 | 379 DB .1,.1 ;262 |
382 DB .50,.168 ;263 Bail | 380 DB .65,.168 ;263 Bail |
383 DB .7,.48 ;264 | 381 DB .7,.48 ;264 |
384 DB .120,.135 ;265 | 382 DB .120,.135 ;265 |
385 DB .2,.39 ;266 | 383 DB .2,.39 ;266 |
386 DB .0,.216 ;267 | 384 DB .0,.216 ;267 |
387 DB .10,.8 ;268 | 385 DB .10,.8 ;268 |
406 DB .20,.95 ;284 | 404 DB .20,.95 ;284 |
407 DB .20,.125 ;285 | 405 DB .20,.125 ;285 |
408 | 406 |
409 DB .20,.155 ;286 | 407 DB .20,.155 ;286 |
410 | 408 |
411 ; stores texts, texts must have even length and must end with "}" | 409 ; stores texts, texts must have even length and must end with "}" |
412 #DEFINE text_pointer_high 0x04 | 410 text_pointer: |
413 #DEFINE text_pointer_low 0x30 | |
414 | |
415 ORG 0x00430 | |
416 | |
417 DA "Building MD2 Hash}" ;1 | 411 DA "Building MD2 Hash}" ;1 |
418 DA "Please Wait...}}" ;2 | 412 DA "Please Wait...}}" ;2 |
419 DA "HeinrichsWeikamp OSTC2}}";3 | 413 DA "HeinrichsWeikamp OSTC2}}";3 |
420 DA "Menu?}" ;4 l=6 | 414 DA "Menu?}" ;4 l=6 |
421 DA "Menu:}" ;5 | 415 DA "Menu:}" ;5 |
696 DA "OSTC }" ;262 l=6 | 690 DA "OSTC }" ;262 l=6 |
697 DA "Bail}}" ;263 l=6 | 691 DA "Bail}}" ;263 l=6 |
698 DA "Air }}" ;264 l=6 | 692 DA "Air }}" ;264 l=6 |
699 DA "Air }" ;265 l=6 | 693 DA "Air }" ;265 l=6 |
700 DA "Calibrate}" ;266 l=10 | 694 DA "Calibrate}" ;266 l=10 |
701 DA "Max.}}" ;267 l=6 | 695 DA "Max Depth}" ;267 l=10 |
702 DA "not}" ;268 l=4 | 696 DA "not}" ;268 l=4 |
703 DA "found!}}" ;269 l=8 | 697 DA "found!}}" ;269 l=8 |
704 DA "mV:}" ;270 l=4 | 698 DA "mV:}" ;270 l=4 |
705 ; New CFs Warning | 699 ; New CFs Warning |
706 DA "New CF added!}" ;271 l=14 | 700 DA "New CF added!}" ;271 l=14 |