changeset 18:1cdf96a7946f

1.55 beta
author heinrichsweikamp
date Mon, 12 Apr 2010 08:57:22 +0200
parents 68825abc35f7
children 07e7ca48b49d
files code_part1/OSTC_code_asm_part1/MAIN.COD code_part1/OSTC_code_asm_part1/MAIN.HEX code_part1/OSTC_code_asm_part1/MAIN.err code_part1/OSTC_code_asm_part1/MAIN_with_part2and3.HEX code_part1/OSTC_code_asm_part1/sleepmode.asm
diffstat 5 files changed, 319 insertions(+), 320 deletions(-) [+]
line wrap: on
line diff
Binary file code_part1/OSTC_code_asm_part1/MAIN.COD has changed
--- a/code_part1/OSTC_code_asm_part1/MAIN.HEX	Sun Apr 11 20:16:47 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/MAIN.HEX	Mon Apr 12 08:57:22 2010 +0200
@@ -1,5 +1,5 @@
 :020000040000FA
-:040000008AEF48F04B
+:0400000086EF48F04F
 :0200080008D01E
 :0800180000D0E0CF02F101016C
 :10002000D8CF01F1E8CF00F181509EB053EC39F008
@@ -411,10 +411,10 @@
 :101B3000258FDE6E372F12002E0EDE6E23891200E7
 :101B4000A96E31D0A96E2BD02B91010EAA6E690E11
 :101B500003D02691AA6A640EAD6E238F040EA96E7F
-:101B60009D9A9E9A03EC4BF049D8AECFA8FFF5ECB6
-:101B70004AF026BF11D017D8F7EC4AF0A8CFADFF36
-:101B800037D8A93EF1D705EC4BF09E9A9D8AAA6AF8
-:101B9000269F239FF4EF48F0FF0EAD6EF4D7A69E6C
+:101B60009D9A9E9AFFEC4AF049D8AECFA8FFF1ECBF
+:101B70004AF026BF11D017D8F3EC4AF0A8CFADFF3A
+:101B800037D8A93EF1D701EC4BF09E9A9D8AAA6AFC
+:101B9000269F239FF0EF48F0FF0EAD6EF4D7A69E70
 :101BA000A69CA6801200A69EA69CA684F29E550E18
 :101BB000A76EAA0EA76EA682F28EA6B2FED7A69434
 :101BC0001200948C948E240EAC6E900EAB6E080EA8
@@ -539,7 +539,7 @@
 :10233000376B375127EC0DF0200EDE6E200EDE6E6F
 :10234000200EDE6E24EC0EF00B0E5BEC0BF0FAECC4
 :1023500012F01FEC1DF0DFEC2FF021B30FD021B1F4
-:102360001AD020B3F4EF48F020B119EC3CF020B1C2
+:102360001AD020B3F0EF48F020B119EC3CF020B1C6
 :1023700018EC42F0209120B91CD0EDD7BA2B070EF3
 :10238000BA6302D0010EBA6FB86B1FEC1DF0FAEC05
 :1023900012F02193E0D7AA6A010E2ABDAA6EBA4FA5
@@ -583,31 +583,31 @@
 :1025F000FF0C000C280E2BA3C80EE56F050ED8ECBF
 :102600000CF081B008D0E52FF9D781B006D02B832C
 :1026100024872499120081A2F1D7249724992B931F
-:1026200001EC4BF012002B97010EBA6F1F9F2FEC9D
+:10262000FDEC4AF012002B97010EBA6F1F9F2FECA2
 :102630000FF0B86B209921912193208F2187B9EC5D
 :102640001DF01FEC1DF02497249940EC13F021B1EC
-:1026500024D020AFF4EF48F020B119EC3CF020B1C9
+:1026500024D020AFF0EF48F020B119EC3CF020B1CD
 :1026600018EC42F020B14BEC3BF020B1B3EC46F05B
-:10267000209120B9F4EF48F020B3F4EF48F0E5D70B
+:10267000209120B9F0EF48F020B3F0EF48F0E5D713
 :1026800024A908D02183BA2B060EBA6518D0010EF2
 :10269000BA6F15D024B721811200BA4F99EF2CF0F0
 :1026A000BA4F55EF34F0BA4F12EF15F0BA4FA8EF0A
-:1026B00013F0BA4F65EF13F0BA4FF4EF48F0B86B70
+:1026B00013F0BA4F65EF13F0BA4FF0EF48F0B86B74
 :1026C00021B71FEC1DF024991200010EBA6F1F9F55
 :1026D0002FEC0FF0B86B209921912193208F218747
 :1026E0000DEC1EF01FEC1DF02497249940EC13F024
 :1026F000050EBA6304D0060EBA6F1FEC1DF021B1AF
 :1027000015D020AF90D720B119EC3CF020B118ECD7
 :1027100042F020B14BEC3BF020B1B3EC46F02091FD
-:1027200020B981D720B3F4EF48F0E0D7BA4FB5EF26
+:1027200020B981D720B3F0EF48F0E0D7BA4FB5EF2A
 :1027300016F0BA4F15EF32F0BA4F37EF33F0BA4F09
-:10274000E8EF49F0BA4FE8EF49F0050EBA6F6ED7DF
+:10274000E4EF49F0BA4FE4EF49F0050EBA6F6ED7E7
 :102750002B97010EBA6F1F9F2FEC0FF0D7EC1DF0D7
 :10276000B86B209921912193208F2187F5EC13F0EC
 :10277000A1EC14F01FEC1DF02497249940EC13F009
-:1027800021B117D020AFF4EF48F020B119EC3CF0A4
+:1027800021B117D020AFF0EF48F020B119EC3CF0A8
 :1027900020B118EC42F020B14BEC3BF020B1B3EC8F
-:1027A00046F0209120B9F4EF48F020B3F4EF48F060
+:1027A00046F0209120B9F0EF48F020B3F0EF48F068
 :1027B000E5D7BA4FAEEF10F0BA4FAAEF10F0BA4F0C
 :1027C000ACD0BA4F03D0BA4F5CD036D02B87220E94
 :1027D000A2EC0DF0A82A060EA86201D0A86AD3ECDC
@@ -616,20 +616,20 @@
 :10280000660E5BEC0BF01200A82E04D0680E5BEC99
 :102810000BF01200A82E04D08A0E5BEC0BF0120015
 :10282000A82E04D0980E5BEC0BF01200A82E12001C
-:10283000EC0E5BEC0BF012002BA7F4EF48F02FEC42
+:10283000EC0E5BEC0BF012002BA7F0EF48F02FEC46
 :102840000FF0D5EC2AF0010EE8CF7FF0EB0E5BEC39
 :102850000BF0000EE8CF7FF0220EA2EC0DF0070E79
 :10286000A802F350C10FBA6F070E396FBA515BEC73
-:102870000BF0BA2B392FFAD71E0E91EC49F0F4EF7A
+:102870000BF0BA2B392FFAD71E0E8DEC49F0F0EF82
 :1028800048F0010EBA6F1F9F2FEC0FF0F5EC1DF012
 :10289000B86B209921912193208F218703EC15F0AB
 :1028A000DDEC14F01FEC1DF02497249940EC13F09C
 :1028B000040EBA6304D0060EBA6F1FEC1DF021B1EE
-:1028C00017D020AFF4EF48F020B119EC3CF020B164
+:1028C00017D020AFF0EF48F020B119EC3CF020B168
 :1028D00018EC42F020B14BEC3BF020B1B3EC46F0E9
-:1028E000209120B9A8EF13F020B3F4EF48F0DED721
+:1028E000209120B9A8EF13F020B3F0EF48F0DED725
 :1028F000BA4F54D0BA4F74D0BA4F07D0BA4F28D776
-:10290000BA4F26D7050EBA6F26D771EC49F08CEC7A
+:10290000BA4F26D7050EBA6F26D76DEC49F088EC82
 :1029100049F0030EBA6F2499B6D71A0EA2EC0DF047
 :10292000A82A630EA8640AD0690EA86007D01A0E00
 :10293000A0EC0DF0030EBA6F249912D7640EA86EA6
@@ -652,7 +652,7 @@
 :102A40001FEC1DF02497249940EC13F021B116D00F
 :102A500020AFE9D520B119EC3CF020B118EC42F0E0
 :102A600020B14BEC3BF020B1B3EC46F0209120B903
-:102A700013EF13F020B3F4EF48F0E6D7BA4F08D0C5
+:102A700013EF13F020B3F0EF48F0E6D7BA4F08D0C9
 :102A8000BA4F3AD0BA4F16D0BA4F05D0BA4F20D06D
 :102A9000030EBA6FCBD55AEC21F0BA6FBA6701D0EA
 :102AA000F7D77FEC0EF0000E9B6E7E0ED36EFF000C
@@ -660,7 +660,7 @@
 :102AC0002FEC0FF0190E5BEC0BF08EEC16F0E0D74C
 :102AD0005AEC21F0BA6FBA6701D0DAD72FEC0FF0B9
 :102AE000190E5BEC0BF08DC100F58EC101F520ECE9
-:102AF00080F00101F4EF48F05AEC21F0BA6FBA67A8
+:102AF00080F00101F0EF48F05AEC21F0BA6FBA67AC
 :102B000001D0C6D72FEC0FF0190E5BEC0BF08DC186
 :102B100000F58EC101F520EC80F00101AA6A030ED8
 :102B2000A96E336B150EE2D8150EE0D8150EDED85F
@@ -691,7 +691,7 @@
 :102CB0001DD8000E1BD8000E19D8000E17D8000E14
 :102CC00015D8000E13D8000E11D8000E0FD8000E24
 :102CD0000DD8000E0BD8000E09D8000E07D8000E34
-:102CE00005D8000E03D8AA6AF4EF48F0326FA92A7B
+:102CE00005D8000E03D8AA6AF0EF48F0326FA92A7F
 :102CF00032C1A8FFD3EC0DF0A92A33C1A8FFD3EC51
 :102D00000DF0A92A32C1A8FFD3EC0DF0A92A339FF8
 :102D100033C1A8FFD3EC0DF0336B1200BD6BBE6B5B
@@ -706,7 +706,7 @@
 :102DA000170E5BEC0BF0EFEC16F0180E5BEC0BF073
 :102DB0002497249924B7B4EC17F024B980EC17F0C9
 :102DC00021B942D020B119EC3CF020B118EC42F00E
-:102DD000209120B991D020B3F4EF48F0EBD7460E04
+:102DD000209120B991D020B3F0EF48F0EBD7460E08
 :102DE000E8CF7DF0410EE8CF7CF020EE60F005C129
 :102DF00032F1386B382B376B19EC0DF03A0EDE6E72
 :102E000004C132F1386B382B376B19EC0DF0200E02
@@ -819,7 +819,7 @@
 :1034B0007EF0000EE8CF7FF035EC1AF020EE60F0E1
 :1034C000D551DE6ED651DE6ED751DE6ED851DE6E2E
 :1034D000D951DE6EDA51DE6E200EDE6E24EC0EF077
-:1034E0001200F9EC4AF009EC4BF06DEC0FF02FEC08
+:1034E0001200F5EC4AF005EC4BF06DEC0FF02FEC10
 :1034F0000FF035EC1AF0850E5BEC0BF0860E5BECF2
 :103500000BF0870E5BEC0BF0880E5BEC0BF0640E9F
 :10351000E8CF7CF00A0EE8CF7DF0000EE8CF7EF019
@@ -843,7 +843,7 @@
 :1036300028C132F1386B382B376B1EEC0DF0200EA1
 :10364000DE6E29C132F1386B382B376B1EEC0DF072
 :10365000200EDE6E2AC132F1386B382B376B1EEC30
-:103660000DF024EC0EF024A7FED7F7EC4AF0120080
+:103660000DF024EC0EF024A7FED7F3EC4AF0120084
 :103670003BEC1AF00B0E58EC0BF0560E5BEC0BF01B
 :10368000570E5BEC0BF035EC1AF01200000EE8CF91
 :10369000F4F13C0EE8CFF5F1EF0EE8CFF6F15A0E5B
@@ -1389,13 +1389,13 @@
 :105850003B6FC58022D8A60EC96E1FD812D8BEC114
 :10586000C9FF1BD80ED8BDC1C9FF17D80AD83BC184
 :10587000C9FF13D806D8C58410D8060ED8EC0CF092
-:105880001200C5BC01D812004D0E41EC1AF0F5EC27
+:105880001200C5BC01D812004D0E41EC1AF0F1EC2B
 :105890004AF00BD89E96C46B1200C42F01D0F4D7E7
 :1058A0009EA6FBD7C46B9E961200C66A4E0E41ECB4
 :1058B0001AF0C56AC76A949694888296090EC46FD6
 :1058C0008286000082B804D082968296C42FF8D7D0
 :1058D0009486C66A0A0ED8EC0CF0000EC76E280E2D
-:1058E000C66E000EC56E080EC86EF7EC4AF04F0E7D
+:1058E000C66E000EC56E080EC86EF3EC4AF04F0E81
 :1058F00041EC1AF01200C56FC580CFDF900EC96E63
 :10590000CCDFBFDFC5C1C9FFC8DFBBDFC584C5DFD2
 :1059100012009E96C580C1DF910EC96EBEDFB1DF59
@@ -1422,7 +1422,7 @@
 :105A6000B86B010E25B5AD51BA6F259525991FEC80
 :105A70001DF0DFEC2FF021B3A7D221B10ED020B161
 :105A800019EC3CF020B118EC42F0209120B913EF52
-:105A900013F020B3F4EF48F0ECD72191060EBA636F
+:105A900013F020B3F0EF48F0ECD72191060EBA6373
 :105AA00002D013EF13F0BAC1ADF12585BB51050D3E
 :105AB000F350BA25A76F2FEC0FF02587C16B43D7A2
 :105AC00025978CEC1CF0000EE8CF7CF0000EE8CFA0
@@ -1486,7 +1486,7 @@
 :105E6000FCD7CB2FFAD7382FD5D720992191219362
 :105E700024992497B86BDFEC2FF021B177D021B3B0
 :105E80001CD120B119EC3CF020B118EC42F020916B
-:105E900020B96CD020B3F4EF48F0EDD74851DC6363
+:105E900020B96CD020B3F0EF48F0EDD74851DC6367
 :105EA00001D012004851DC650ED0DCC149F1490730
 :105EB000495140EC0EF035EC1AF073EC0EF04851FD
 :105EC0004963F5D7120048C149F14907495140ECEF
@@ -1524,7 +1524,7 @@
 :1060C00028F0FEEC28F076EC28F02099219121931D
 :1060D00024992497B86BDFEC2FF021B313D021B1B2
 :1060E0000DD020B119EC3CF020B118EC42F0209119
-:1060F00020B93CD720B3F4EF48F0EDD7BA4F36D7EC
+:1060F00020B93CD720B3F0EF48F0EDD7BA4F36D7F0
 :10610000BA4F16D0BA2B030EBA6302D0010EBA6F83
 :10611000DAD75AEC21F0BA6FBA6701D027D72FEC43
 :106120000FF00C0E5BEC0BF08EEC16F013EF13F08F
@@ -1547,18 +1547,18 @@
 :10623000010EBF27000EC023C0BFBF6BC0BFC06B25
 :10624000A5C152F1A6C153F1C8C154F1C9C155F15C
 :10625000D7EC0BF05067D1D75167CFD799EF2CF01F
-:106260002D939D9A03EC4BF058EC4AF06B0EAD6EFB
-:10627000F8EC0DF005EC4BF09D8A90EF3AF0289584
-:106280009D9A03EC4BF020EC80F0010130EC80F0A3
+:106260002D939D9AFFEC4AF054EC4AF06B0EAD6E04
+:10627000F8EC0DF001EC4BF09D8A90EF3AF0289588
+:106280009D9AFFEC4AF020EC80F0010130EC80F0A8
 :10629000010118EC80F00101010ECC6FCD6B680E8E
-:1062A000AD6EF8EC0DF0208505EC4BF09D8A90EF7B
-:1062B0003AF028939D9A03EC4BF0AA6AAAD805EC11
-:1062C0004BF09D8A90EF3AF02A9F9D9A03EC4BF099
-:1062D000010EAA6E9ED8AA6A05EC4BF09D8A90EF3B
-:1062E0003AF0279F9D9A03EC4BF0F8EC0DF0010E6D
+:1062A000AD6EF8EC0DF0208501EC4BF09D8A90EF7F
+:1062B0003AF028939D9AFFEC4AF0AA6AAAD801EC1A
+:1062C0004BF09D8A90EF3AF02A9F9D9AFFEC4AF09E
+:1062D000010EAA6E9ED8AA6A01EC4BF09D8A90EF3F
+:1062E0003AF0279F9D9AFFEC4AF0F8EC0DF0010E72
 :1062F000AD6EF8EC0DF0370EAD6E29EE4AF0100ED3
-:10630000396FF8EC0DF0DECFADFF392FFAD705EC81
-:106310004BF09D8A90EF3AF0259B9D9A03EC4BF051
+:10630000396FF8EC0DF0DECFADFF392FFAD701EC85
+:106310004BF09D8A90EF3AF0259B9D9AFFEC4AF056
 :106320002FEC0FF0D5EC2AF0010EE8CF7FF00F0E26
 :106330005BEC0BF0000EE8CF7FF0050E436FAA0E6A
 :10634000AD6EF8EC0DF0432FFAD7550EAD6E100E72
@@ -1573,7 +1573,7 @@
 :1063D0005BEC0BF0F8EC0DF0C5864DEC2CF0C9CF62
 :1063E000ADFF010E4327000E442344BF04D0C588EF
 :1063F0004DEC2CF0EFD7C5844DEC2CF0140E5BEC7B
-:106400000BF0FA0ED8EC0CF005EC4BF09D8A1BEF6C
+:106400000BF0FA0ED8EC0CF001EC4BF09D8A1BEF70
 :106410003AF0436BA96ACFEC0DF0A8CFADFFA92AE3
 :10642000F8EC0DF0432FF7D71200010EBA6F219947
 :1064300021972099AA6B229D229F2FEC0FF0D5EC7B
@@ -1599,7 +1599,7 @@
 :1065700054EC0BF0310EDE6E2E0EDE6E300EDE6E43
 :10658000300EDE6E24EC0EF00B0E5BEC0BF0FAEC32
 :1065900012F01FEC1DF0DFEC2FF021B30FD021B172
-:1065A0001ED020B3F4EF48F020B119EC3CF020B13C
+:1065A0001ED020B3F0EF48F020B119EC3CF020B140
 :1065B00018EC42F0209120B91CD0EDD7BA2B020E76
 :1065C000BA6301D0BA2B070EBA6302D0010EBA6FBC
 :1065D000B86B1FEC1DF0FAEC12F02193DCD7BA4F28
@@ -1645,7 +1645,7 @@
 :10685000F1F13E0EA2EC0DF0A8CFF2F13F0EA2EC4A
 :106860000DF0A8CFF3F1D6EC23F0290EDE6E200E4A
 :10687000DE6E24EC0EF081A0FED72497249921919E
-:10688000DFEC2FF021B10DD020B3F4EF48F020B1B0
+:10688000DFEC2FF021B10DD020B3F0EF48F020B1B4
 :1068900019EC3CF020B118EC42F0209120B901D065
 :1068A000EFD7030EBA6F67EF13F0010EBA6F2FEC3C
 :1068B0000FF0B86B209921912193D5EC2AF0010EAD
@@ -1677,7 +1677,7 @@
 :106A5000382B376B1EEC0DF06D0EDE6EA1EC38F0AE
 :106A600024EC0EF035EC1AF0AA2B050EAA636EEF9B
 :106A700034F00B0E5BEC0BF0FAEC12F01FEC1DF097
-:106A8000DFEC2FF021B30FD021B11ED020B3F4EFF3
+:106A8000DFEC2FF021B30FD021B11ED020B3F0EFF7
 :106A900048F020B119EC3CF020B118EC42F0209104
 :106AA00020B90ED0EDD7BA2B070EBA6302D0010E73
 :106AB000BA6FB86B1FEC1DF0FAEC12F02193E0D71F
@@ -1712,7 +1712,7 @@
 :106C8000A8CF32F1386B382B376B1EEC0DF0200E8D
 :106C9000DE6E200EDE6E24EC0EF0FAEC12F01FEC2D
 :106CA0001DF0DFEC2FF021B30FD021B11AD020B3AB
-:106CB000F4EF48F020B119EC3CF020B118EC42F0B0
+:106CB000F0EF48F020B119EC3CF020B118EC42F0B4
 :106CC000209120B918D0EDD7BA2B070EBA6302D0A5
 :106CD000010EBA6FB86B1FEC1DF0FAEC12F02193A5
 :106CE000E0D7BA4F90D0BA4F11D0BA4F43D0BA4F75
@@ -1748,7 +1748,7 @@
 :106EC0000EF09B0EE8CF7CF0140EE8CF7DF020EEA4
 :106ED00060F06C0E54EC0BF024EC0EF0FAEC12F0B7
 :106EE0001FEC1DF0DFEC2FF021B30FD021B11AD031
-:106EF00020B3F4EF48F020B119EC3CF020B118ECCD
+:106EF00020B3F0EF48F020B119EC3CF020B118ECD1
 :106F000042F0209120B9F7D6EDD7BA2B070EBA631D
 :106F100002D0010EBA6FB86B1FEC1DF0FAEC12F044
 :106F20002193E0D7BA4FEFD6BA4F11D0BA4F05D060
@@ -1800,14 +1800,14 @@
 :10720000258B434F248B434F258D434F2681434F7E
 :10721000278F434F2881434F2883434F2885434F6F
 :107220002B81434F2A8F434F2D83AE509E9AAB98AC
-:10723000AB8812002CB7F9D703EC4BF0AE6601D047
+:10723000AB8812002CB7F9D7FFEC4AF0AE6601D04C
 :10724000AE2AAE50640DF3CFC6F1F4CFC7F1EDD73F
 :10725000F292D5BE09D02487D58E1200F090D5BE0B
 :1072600003D02489D58E1200F294D56AD76AD66AE3
 :10727000D58E1200F294D59ED76AD66A1200F19C80
 :107280002A91000ED56ED58E1200F18C1200F19A63
 :107290002A93000ED56ED58E1200F18A1200A192AB
-:1072A000B19ECA9412009E90FBEC4AF0080ECF608B
+:1072A000B19ECA9412009E90F7EC4AF0080ECF608F
 :1072B000412B080ECF5E412B0F0E416502D0C1EC71
 :1072C00039F020A901D0120023BF1200422B010E79
 :1072D00042630AD0239D3F6B406B9B6B9C6B0BEC16
@@ -1832,7 +1832,7 @@
 :107400001F0E764F1E0E764F1F0E764F1F0E764FB5
 :107410001E0E764F1F0E764F1E0E764F1F0E066500
 :107420001200010E066F072B0C0E07651200010EED
-:10743000076F082B12003EEC49F0326B32C118F591
+:10743000076F082B12003AEC49F0326B32C118F595
 :10744000B6EC0FF055EC2CF0E1EC0DF06DEC0FF01C
 :10745000EEEC25F0A8EC1CF060EC24F0A3C100F5E4
 :10746000A4C101F5A3C102F5A4C103F528BF10D042
@@ -1840,7 +1840,7 @@
 :1074800029F02DB517EC20F0C5EC20F05FEC1FF0D3
 :1074900028AF03D0670E5BEC0BF02AAB03D0740E61
 :1074A0005BEC0BF0B86BB96B209D209F239D956B17
-:1074B000966B996B9A6B050EB76F05EC4BF0F7EC7A
+:1074B000966B996B9A6B050EB76F01EC4BF0F3EC82
 :1074C0004AF0259D2C97000EE8CF7CF0000EE8CF07
 :1074D0007DF0000EE8CF7EF0000EE8CF7FF035ECB7
 :1074E0001AF024972499C5EC20F017EC2BF0010E2C
@@ -1862,15 +1862,15 @@
 :1075E000C6EC22F091EC22F020BD06D02DA551EC86
 :1075F00029F02DB517EC20F000EC3BF0209512009F
 :107600002781010ECC5F000ECD5BCC671200CD67E9
-:107610001200279109EC4BF0CC2B120020C532F15F
+:107610001200279105EC4BF0CC2B120020C532F163
 :1076200021C533F1326705D0336703D0196B1A6B6C
-:107630001200010E1927000E1A23120027B10BECBD
-:107640004BF01200FFEC4AF0490E41EC1AF09FC1DA
+:107630001200010E1927000E1A23120027B107ECC1
+:107640004BF01200FBEC4AF0490E41EC1AF09FC1DE
 :1076500002F5A0C103F50A6B0AC111F54F0E0A6FBE
 :107660000AC110F58DC100F58EC101F50B0E7CEC41
 :1076700010F00A6F0AC112F50C0E7CEC10F00A6FC4
 :107680000AC113F540EC80F001014A0E41EC1AF0FA
-:1076900001EC4BF0120094928282249182A4248106
+:10769000FDEC4AF0120094928282249182A424810B
 :1076A000829294820A0EACEC0CF0249382A4248380
 :1076B0009492829224B174D024B364D0948229A984
 :1076C00044D0299F2999320EA2EC0DF0A8CF39F1B0
@@ -1885,9 +1885,9 @@
 :10775000320EA2EC0DF0A8CF39F1330EA2EC0DF0F1
 :10776000A8CF3AF1D890010E3927000E3A2339C13B
 :10777000A8FF320EA0EC0DF03AC1A8FF330EA0EC2A
-:107780000DF01200F9EC4AF0640ED8EC0CF0FBECB2
-:107790004AF0640ED8EC0CF0F9EC4AF0298912009A
-:1077A000F9EC4AF0298F2999120020AD1200B92B6B
+:107780000DF01200F5EC4AF0640ED8EC0CF0F7ECBA
+:107790004AF0640ED8EC0CF0F5EC4AF0298912009E
+:1077A000F5EC4AF0298F2999120020AD1200B92B6F
 :1077B000040E7CEC10F0B9651200209DD3EC2AF089
 :1077C00028BF08D02ABB06D02DA551EC29F02DB535
 :1077D00017EC20F0FEEC22F0EEEC25F0B96B2497CC
@@ -1920,11 +1920,11 @@
 :1079800012000BD815EC25F0E06BE26BE16BDD6BC0
 :10799000DC6B916B926B26971200DEC152F1DFC156
 :1079A00053F191C154F192C155F1D7EC0BF01FA7DF
-:1079B000120091C1DEF192C1DFF11200F7EC4AF042
+:1079B000120091C1DEF192C1DFF11200F3EC4AF046
 :1079C00032C532F10E0E7CEC10F03261FBEC3CF073
-:1079D00027BBF5EC4AF01FC532F1322D120066C507
+:1079D00027BBF1EC4AF01FC532F1322D120066C50B
 :1079E00032F10E0E7CEC10F03261FBEC3CF027BB68
-:1079F000F5EC4AF01200F5EC4AF0020EB06F288B5D
+:1079F000F1EC4AF01200F1EC4AF0020EB06F288B65
 :107A0000120024BFCFD0248F3EEC42F004EC3FF0B4
 :107A10008DC14CF18EC14DF10A0E4E6F000E4F6BB1
 :107A20000BEC0CF048C14CF149C14DF1D0C14EF105
@@ -1959,9 +1959,9 @@
 :107BF0000B0E7CEC10F00A6F0AC112F50C0E7CEC37
 :107C000010F00A6F0AC113F5100E7CEC10F00A6F29
 :107C10000AC117F51D0E7CEC10F00A6F0AC11EF5A3
-:107C20003EEC49F0120025A193EC1BF025812BC5F9
+:107C20003AEC49F0120025A193EC1BF025812BC5FD
 :107C3000AAF124C5ABF19CEC1BF01200229726831D
-:107C400001EC4BF022BB08D0228BBDC1BFF1BEC1FD
+:107C4000FDEC4AF022BB08D0228BBDC1BFF1BEC102
 :107C5000C0F12F0E73EC2BF08F518BEC2BF0905169
 :107C60008BEC2BF0AE6BB12D02D0020EAE27B22DF5
 :107C700002D0020EAE27B32D02D0020EAE27B42DD5
@@ -2072,7 +2072,7 @@
 :1083000090EC10F0326703D0336701D012D0010E29
 :108310003227000E3323700E820FA96E32C1A8FFE0
 :10832000D3EC0DF0700E830FA96E33C1A8FFD3EC10
-:108330000DF0259D05EC4BF02DB163EC4AF060EC9F
+:108330000DF0259D01EC4BF02DB15FEC4AF060ECA7
 :1083400080F00101196B1A6B1BEF3AF020A71200A5
 :108350002ABB0ED025BD19D02093B72B020E7CEC82
 :1083600010F0020FD8B0FF0EE806B76520831200A8
@@ -2114,7 +2114,7 @@
 :1085A000170E7CEC10F0B36F180E7CEC10F0B46F6B
 :1085B000190E7CEC10F0B56F1A0E7CEC10F0B66F53
 :1085C0002AAB02D0010EA96F240EA2EC0DF029B146
-:1085D000A8CF18F5A8CF59F109EC4BF02397229BAF
+:1085D000A8CF18F5A8CF59F105EC4BF02397229BB3
 :1085E000209D2097268325ADF0EC0DF0210EA2EC06
 :1085F0000DF0A8CFD1F1D105040DF350070FA96EEE
 :10860000CFEC0DF0A8CF11F5D105040DF350060FF6
@@ -2127,7 +2127,7 @@
 :1086700012002497249920AD14D02AAB03D0209364
 :10868000209D1200208F209D64EC28F030EC26F015
 :108690002C992B9F010EBA6F76EC28F02499249721
-:1086A00012002CB7ABD0FFEC4AF0060EB06F288B4F
+:1086A00012002CB7ABD0FBEC4AF0060EB06F288B53
 :1086B0002CA31200116B126B136B146B020E176F4D
 :1086C000186B3EEC42F0120024B715D024A912001A
 :1086D0002DB9FFD026B91CD126BDF3D02499B96B92
@@ -2208,7 +2208,7 @@
 :108B80002FEC0FF0010E5BEC0BF0020E5BEC0BF028
 :108B900070EC80F001017FEC0EF0F0EC0DF0A56BB5
 :108BA000A66B939C939E819C819E20B509D820B191
-:108BB0004FD820A9F4EF48F0000003000000F5D7DB
+:108BB0004FD820A9F0EF48F0000003000000F5D7DF
 :108BC000B3EC46F02CB175EC46F00EEC3BF000EC4B
 :108BD0003BF0A62B0E0EA66526D072D8D8EC47F037
 :108BE0001AEC80F00101A1C1A3F1A2C1A4F18DC1D1
@@ -2218,8 +2218,8 @@
 :108C2000A1F133C1A2F18DC100F58EC101F50B0E8A
 :108C30007CEC10F00A6F0AC112F50C0E7CEC10F0FF
 :108C40000A6F0AC113F540EC80F001012095120073
-:108C50004BEC3BF027A105D007EC4BF000000300E4
-:108C6000000009EC4BF0A52B050EA56512D028D805
+:108C50004BEC3BF027A105D003EC4BF000000300E8
+:108C6000000005EC4BF0A52B050EA56512D028D809
 :108C7000060E90EC10F032C152F133C153F18DC1A8
 :108C800054F18EC155F1D7EC0BF020891FB7209914
 :108C9000A56B209124B70AD024B908D0F292F090A5
@@ -2233,8 +2233,8 @@
 :108D1000C290F0EC0DF0100E926E806A936A816A38
 :108D20001D0E946E826A956A836A966A846AD56A11
 :108D3000CD6ACA6A9B6A020ED36ED180EAC137F14E
-:108D40000F0E396F03000000392FFCD7F5EC4AF005
-:108D50000400050EACEC0CF0F7EC4AF00300000048
+:108D40000F0E396F03000000392FFCD7F1EC4AF009
+:108D50000400050EACEC0CF0F3EC4AF0030000004C
 :108D6000372FF4D7EBD7C2800000C282C2B2FED741
 :108D7000C4CF4DF1C3CF4CF1C60E4E6F030E4F6FF3
 :108D8000EEEC0BF0640E4E6F4F6B32EC0CF048C102
@@ -2283,7 +2283,7 @@
 :10903000A0EC0DF098C1A8FF3C0EA0EC0DF007C10C
 :10904000A8FF3D0EA0EC0DF006C1A8FF3E0EA0EC5F
 :109050000DF008C1A8FF3F0EA0EC0DF01200249BFC
-:109060009D9A03EC4BF09E9A620EAD6EF8EC0DF0FB
+:109060009D9AFFEC4AF09E9A620EAD6EF8EC0DF000
 :10907000FEEC0DF0AECF05F1180E0561056BFEECB0
 :109080000DF0AECF04F13C0E0461046BFEEC0DF06C
 :10909000AECF03F13C0E0361036BFEEC0DF0AECFDF
@@ -2292,89 +2292,89 @@
 :1090C0001F0E324F1E0E324F1F0E324F1E0E324FEA
 :1090D0001F0E324F1F0E324F1E0E324F1F0E324FD9
 :1090E0001E0E324F1F0E066502D0010E066FFEECFB
-:1090F0000DF0AECF08F1640E0861086B05EC4BF083
-:109100009E9A20859D8A90EF3AF028919D9A9D8A9B
-:1091100090EF3AF00101A5EC49F020B371EC1AF0A0
-:10912000FC6A01EE09F0EE6A0A0EEA62FCD7F0EC86
-:109130000DF0B3EC47F011EC19F0239D23ADFED7F1
-:109140008F6B906B196B1A6B208960EC46F020993D
-:109150008DC19FF18EC1A0F18DC1A1F18EC1A2F18F
-:109160008DC1A3F18EC1A4F1CC2B0A6B0AC111F5FC
-:109170004F0E0A6F0AC110F58DC100F58EC101F5C1
-:1091800020EC80F0010130EC80F0010118EC80F05F
-:10919000010122EC3BF0010140EC80F00101010EE5
-:1091A000A96E010EAA6ECFEC0DF0A8CF39F1A92A55
-:1091B000CFEC0DF0A8CF3AF1AA6A010E396304D0C2
-:1091C000370E3A6301D010D0010EA96E010EAA6EBF
-:1091D000010EA86ED3EC0DF0A92A370EA86ED3ECC1
-:1091E0000DF0AA6A2EEF16F0FBEC4AF009EC4BF0FA
-:1091F0001F6B206B216B226B236B246B256B266B03
-:10920000276B286B296B2A6B2B6B2C6B2D6B6DECF2
-:109210000FF0000EE8CF7CF0000EE8CF7DF0000EDE
-:10922000E8CF7EF0000EE8CF7FF0FF0E2E6F2EC14C
-:109230007AF0FF0E2E6F2EC17BF055EC2CF0A3C1FF
-:109240009FF1A4C1A0F1AA6A5C0EA2EC0DF0290E58
-:10925000A86201D006D00ED8290EA86E5C0EA0EC34
-:109260000DF0270EA2EC0DF02A85010EA8622A95BA
-:109270001BEF3AF027EC2AF0140E53D0289F2991C7
-:109280002A9BAA6A220EA2EC0DF0010EA86206D05B
-:10929000288F000E0A6F0AC11FF51200020EA86285
-:1092A00006D02981000E0A6F0AC11FF51200030EB5
-:1092B000A86206D02A8B000E0A6F0AC11FF51200A1
-:1092C000040EA86205D0010E0A6F0AC11FF5120034
-:1092D000050EA86212002981010E0A6F0AC11FF54E
-:1092E00012002FEC0FF0E5EC29F00A0E396FC80ED2
-:1092F000D8EC0CF02497249920B118EC42F020B15E
-:1093000039072091396701D0120020B3120024B729
-:10931000120024B91200F0D72FEC0FF006EC2AF05F
-:10932000E4D7396FC80ED8EC0CF02497249920B1FB
-:1093300018EC42F020B139072091396701D01200B2
-:1093400024B7120024B91200F2D76C0ED36E110E9E
-:10935000926E806A030E936E816ADD0E946E826A4D
-:10936000000E966E846A000E956E836A400E9B6EA8
-:109370001F0ED56E070ECD6ED00EF26E050EF16E7D
-:10938000080EF06E210E9D6E000EA06ED06A000ECB
-:10939000C26E0E0EC16E8A0EC06EC66A000EC76E19
-:1093A000280EC66E000EC56E080EC86EBD6ABA6A7B
-:1093B000070EB46E200E6F6E240EAC6E900EAB6E68
-:1093C000080EB86EB06A220EAF6EAE6A9E6A1200C8
-:1093D000010EEB6F0F0EEC6F010EBA6FB86B208FA2
-:1093E00021872FEC0FF046EC1EF024972499219151
-:1093F000219321EC1CF01FEC1DF040EC13F020A198
-:1094000009D019EC3CF018EC42F04BEC3BF0B3EC1B
-:1094100046F0209121B117EF4AF020AF13EF13F07F
-:1094200020B965EF13F020B3F4EF48F0E6D7BA4F58
-:109430001CD0BA4F0AD0BA4F10D0BA4F79D0BA4F19
-:1094400058D0040EBA6F67EF13F0020EEB27C70E69
-:10945000EB61EB6F020EBA6FC8D7030EEC27630EF9
-:10946000EC61EC6F030EBA6FC0D7258D2C87ECC171
-:109470004CF14D6B640E4E6F4F6BEEEC0BF0E80E43
-:109480004827030E492348C1C6F149C1C7F1C6C1E7
-:109490008DF1C7C18EF121912193209F24972499AA
-:1094A00058EC4AF02083500E41EC1AF025EF3CF0C6
-:1094B0002D81530E41EC1AF062EC80F00101540E44
-:1094C00041EC1AF012002D91530E41EC1AF064ECAD
-:1094D00080F00101540E41EC1AF0470E41EC1AF0F5
-:1094E00030EC80F001010DEC40F0480E41EC1AF038
-:1094F00012002FEC0FF06BEC44F02497249920A17C
-:1095000009D019EC3CF018EC42F04BEC3BF0B3EC1A
-:1095100046F0209124B709D024B907D020B965EFCF
-:1095200013F020B3F4EF48F0EAD7050EBA6F56D720
-:1095300063EC42F0258D2C87ECC14CF14D6B640E31
-:109540004E6F4F6BEEEC0BF0E80E4827030E4923ED
-:1095500048C1C6F149C1C7F1C6C18DF1C7C18EF17D
-:1095600058EC4AF0010EE8CF7FF00C0E5BEC0BF0EC
-:10957000000EE8CF7FF01E0EED6F21EC1CF0FDEC2D
-:109580004AF038EC3DF0F4EC3DF000EC80F00101E5
-:10959000430E41EC1AF0ED2FF2D7EB2FECD723C599
-:1095A000CEF1CE6716D0F9EC4AF063EC4AF0259D77
-:1095B0002C97FA0ED8EC0CF0FA0ED8EC0CF0FA0E50
-:1095C000D8EC0CF0FBEC4AF0010EEB6F050EBA6F15
-:1095D00005D738EC3DF0F4EC3DF000EC80F00101F3
-:1095E00023C5CEF1CE67F5D7DED7818812008198EA
-:1095F00012008188120081981200817812008188FF
-:1096000012008198120081861200819612008186D4
-:0A961000120081961200817612000C
+:1090F0000DF0AECF08F1640E0861086B01EC4BF087
+:109100009E9A20859D8A90EF3AF028910101A1EC6A
+:1091100049F020B371EC1AF0FC6A01EE09F0EE6A36
+:109120000A0EEA62FCD7F0EC0DF0B3EC47F011EC5C
+:1091300019F0239D23ADFED78F6B906B196B1A6BC3
+:10914000208960EC46F020998DC19FF18EC1A0F17D
+:109150008DC1A1F18EC1A2F18DC1A3F18EC1A4F187
+:10916000CC2B0A6B0AC111F54F0E0A6F0AC110F51C
+:109170008DC100F58EC101F520EC80F0010130ECCD
+:1091800080F0010118EC80F0010122EC3BF00101BC
+:1091900040EC80F00101010EA96E010EAA6ECFEC29
+:1091A0000DF0A8CF39F1A92ACFEC0DF0A8CF3AF1F4
+:1091B000AA6A010E396304D0370E3A6301D010D089
+:1091C000010EA96E010EAA6E010EA86ED3EC0DF071
+:1091D000A92A370EA86ED3EC0DF0AA6A2EEF16F06E
+:1091E000F7EC4AF005EC4BF01F6B206B216B226B08
+:1091F000236B246B256B266B276B286B296B2A6BE3
+:109200002B6B2C6B2D6B6DEC0FF0000EE8CF7CF010
+:10921000000EE8CF7DF0000EE8CF7EF0000EE8CF24
+:109220007FF0FF0E2E6F2EC17AF0FF0E2E6F2EC133
+:109230007BF055EC2CF0A3C19FF1A4C1A0F1AA6A68
+:109240005C0EA2EC0DF0290EA86201D006D00ED85B
+:10925000290EA86E5C0EA0EC0DF0270EA2EC0DF00E
+:109260002A85010EA8622A951BEF3AF027EC2AF016
+:10927000140E53D0289F29912A9BAA6A220EA2EC91
+:109280000DF0010EA86206D0288F000E0A6F0AC1E9
+:109290001FF51200020EA86206D02981000E0A6F87
+:1092A0000AC11FF51200030EA86206D02A8B000E19
+:1092B0000A6F0AC11FF51200040EA86205D0010E44
+:1092C0000A6F0AC11FF51200050EA862120029815B
+:1092D000010E0A6F0AC11FF512002FEC0FF0E5EC2A
+:1092E00029F00A0E396FC80ED8EC0CF02497249997
+:1092F00020B118EC42F020B139072091396701D034
+:10930000120020B3120024B7120024B91200F0D7C3
+:109310002FEC0FF006EC2AF0E4D7396FC80ED8EC2A
+:109320000CF02497249920B118EC42F020B13907B1
+:109330002091396701D0120024B7120024B912001D
+:10934000F2D76C0ED36E110E926E806A030E936E7E
+:10935000816ADD0E946E826A000E966E846A000E3B
+:10936000956E836A400E9B6E1F0ED56E070ECD6EF6
+:10937000D00EF26E050EF16E080EF06E210E9D6E8F
+:10938000000EA06ED06A000EC26E0E0EC16E8A0E66
+:10939000C06EC66A000EC76E280EC66E000EC56E81
+:1093A000080EC86EBD6ABA6A070EB46E200E6F6EE4
+:1093B000240EAC6E900EAB6E080EB86EB06A220E24
+:1093C000AF6EAE6A9E6A1200010EEB6F0F0EEC6F6D
+:1093D000010EBA6FB86B208F21872FEC0FF046EC8F
+:1093E0001EF0249724992191219321EC1CF01FEC6D
+:1093F0001DF040EC13F020A109D019EC3CF018EC62
+:1094000042F04BEC3BF0B3EC46F0209121B113EF6E
+:109410004AF020AF13EF13F020B965EF13F020B33B
+:10942000F0EF48F0E6D7BA4F1CD0BA4F0AD0BA4F87
+:1094300010D0BA4F79D0BA4F58D0040EBA6F67EF38
+:1094400013F0020EEB27C70EEB61EB6F020EBA6F43
+:10945000C8D7030EEC27630EEC61EC6F030EBA6FF6
+:10946000C0D7258D2C87ECC14CF14D6B640E4E6F2F
+:109470004F6BEEEC0BF0E80E4827030E492348C172
+:10948000C6F149C1C7F1C6C18DF1C7C18EF12191A5
+:109490002193209F2497249954EC4AF02083500E66
+:1094A00041EC1AF025EF3CF02D81530E41EC1AF0FF
+:1094B00062EC80F00101540E41EC1AF012002D9183
+:1094C000530E41EC1AF064EC80F00101540E41ECB3
+:1094D0001AF0470E41EC1AF030EC80F001010DEC6F
+:1094E00040F0480E41EC1AF012002FEC0FF06BEC3C
+:1094F00044F02497249920A109D019EC3CF018ECF1
+:1095000042F04BEC3BF0B3EC46F0209124B709D08D
+:1095100024B907D020B965EF13F020B3F0EF48F07D
+:10952000EAD7050EBA6F56D763EC42F0258D2C872B
+:10953000ECC14CF14D6B640E4E6F4F6BEEEC0BF0CB
+:10954000E80E4827030E492348C1C6F149C1C7F1B7
+:10955000C6C18DF1C7C18EF154EC4AF0010EE8CFBF
+:109560007FF00C0E5BEC0BF0000EE8CF7FF01E0ED0
+:10957000ED6F21EC1CF0F9EC4AF038EC3DF0F4EC26
+:109580003DF000EC80F00101430E41EC1AF0ED2FAC
+:10959000F2D7EB2FECD723C5CEF1CE6716D0F5EC82
+:1095A0004AF05FEC4AF0259D2C97FA0ED8EC0CF0AF
+:1095B000FA0ED8EC0CF0FA0ED8EC0CF0F7EC4AF0FE
+:1095C000010EEB6F050EBA6F05D738EC3DF0F4ECE9
+:1095D0003DF000EC80F0010123C5CEF1CE67F5D758
+:1095E000DED781881200819812008188120081984C
+:1095F0001200817812008188120081981200818601
+:1096000012008196120081861200819612008176E6
+:02961000120046
 :02A0000000005E
 :020000040001F9
 :020000001200EC
--- a/code_part1/OSTC_code_asm_part1/MAIN.err	Sun Apr 11 20:16:47 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/MAIN.err	Mon Apr 12 08:57:22 2010 +0200
@@ -1,11 +1,11 @@
-Warning[203] J:\MK2\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\PLED_OUTPUTS.ASM 3110 : Found opcode in column 1. (return)
-Warning[203] J:\MK2\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\PLED_OUTPUTS.ASM 3113 : Found opcode in column 1. (return)
-Warning[203] J:\MK2\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\ISR.ASM 357 : Found opcode in column 1. (movlw)
-Warning[203] J:\MK2\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\ISR.ASM 358 : Found opcode in column 1. (movwf)
-Warning[203] J:\MK2\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\DIVEMODE_MENU.ASM 411 : Found opcode in column 1. (bra)
-Message[301] J:\MK2\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\MAIN.ASM 136 : MESSAGE: (OSTC - diving computer code,  Copyright (C) 2009 HeinrichsWeikamp GbR)
-Message[301] J:\MK2\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\MAIN.ASM 137 : MESSAGE: (This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the)
-Message[301] J:\MK2\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\MAIN.ASM 138 : MESSAGE: (Free Software Foundation, either version 3 of the License, or (at your option) any later version.)
-Message[301] J:\MK2\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\MAIN.ASM 139 : MESSAGE: (This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY)
-Message[301] J:\MK2\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\MAIN.ASM 140 : MESSAGE: (or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.)
-Message[301] J:\MK2\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\MAIN.ASM 141 : MESSAGE: (You should have received a copy of the GNU General Public License along with this program.If not, see http://www.gnu.org/licenses/.)
+Warning[203] C:\MC\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\PLED_OUTPUTS.ASM 3110 : Found opcode in column 1. (return)
+Warning[203] C:\MC\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\PLED_OUTPUTS.ASM 3113 : Found opcode in column 1. (return)
+Warning[203] C:\MC\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\ISR.ASM 357 : Found opcode in column 1. (movlw)
+Warning[203] C:\MC\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\ISR.ASM 358 : Found opcode in column 1. (movwf)
+Warning[203] C:\MC\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\DIVEMODE_MENU.ASM 411 : Found opcode in column 1. (bra)
+Message[301] C:\MC\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\MAIN.ASM 136 : MESSAGE: (OSTC - diving computer code,  Copyright (C) 2009 HeinrichsWeikamp GbR)
+Message[301] C:\MC\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\MAIN.ASM 137 : MESSAGE: (This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the)
+Message[301] C:\MC\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\MAIN.ASM 138 : MESSAGE: (Free Software Foundation, either version 3 of the License, or (at your option) any later version.)
+Message[301] C:\MC\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\MAIN.ASM 139 : MESSAGE: (This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY)
+Message[301] C:\MC\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\MAIN.ASM 140 : MESSAGE: (or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.)
+Message[301] C:\MC\MK2\CODE_PART1\OSTC_CODE_ASM_PART1\MAIN.ASM 141 : MESSAGE: (You should have received a copy of the GNU General Public License along with this program.If not, see http://www.gnu.org/licenses/.)
--- a/code_part1/OSTC_code_asm_part1/MAIN_with_part2and3.HEX	Sun Apr 11 20:16:47 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/MAIN_with_part2and3.HEX	Mon Apr 12 08:57:22 2010 +0200
@@ -1,5 +1,5 @@
 :020000040000FA
-:100000008AEF48F0FFFFFFFF08D0FFFFFFFFFFFF71
+:1000000086EF48F0FFFFFFFF08D0FFFFFFFFFFFF75
 :10001000FFFFFFFFFFFFFFFF00D0E0CF02F1010174
 :10002000D8CF01F1E8CF00F181509EB053EC39F008
 :10003000F2B43AEC39F0A1B24FEC39F09EBAF9ECD7
@@ -437,10 +437,10 @@
 :101B3000258FDE6E372F12002E0EDE6E23891200E7
 :101B4000A96E31D0A96E2BD02B91010EAA6E690E11
 :101B500003D02691AA6A640EAD6E238F040EA96E7F
-:101B60009D9A9E9A03EC4BF049D8AECFA8FFF5ECB6
-:101B70004AF026BF11D017D8F7EC4AF0A8CFADFF36
-:101B800037D8A93EF1D705EC4BF09E9A9D8AAA6AF8
-:101B9000269F239FF4EF48F0FF0EAD6EF4D7A69E6C
+:101B60009D9A9E9AFFEC4AF049D8AECFA8FFF1ECBF
+:101B70004AF026BF11D017D8F3EC4AF0A8CFADFF3A
+:101B800037D8A93EF1D701EC4BF09E9A9D8AAA6AFC
+:101B9000269F239FF0EF48F0FF0EAD6EF4D7A69E70
 :101BA000A69CA6801200A69EA69CA684F29E550E18
 :101BB000A76EAA0EA76EA682F28EA6B2FED7A69434
 :101BC0001200948C948E240EAC6E900EAB6E080EA8
@@ -565,7 +565,7 @@
 :10233000376B375127EC0DF0200EDE6E200EDE6E6F
 :10234000200EDE6E24EC0EF00B0E5BEC0BF0FAECC4
 :1023500012F01FEC1DF0DFEC2FF021B30FD021B1F4
-:102360001AD020B3F4EF48F020B119EC3CF020B1C2
+:102360001AD020B3F0EF48F020B119EC3CF020B1C6
 :1023700018EC42F0209120B91CD0EDD7BA2B070EF3
 :10238000BA6302D0010EBA6FB86B1FEC1DF0FAEC05
 :1023900012F02193E0D7AA6A010E2ABDAA6EBA4FA5
@@ -609,31 +609,31 @@
 :1025F000FF0C000C280E2BA3C80EE56F050ED8ECBF
 :102600000CF081B008D0E52FF9D781B006D02B832C
 :1026100024872499120081A2F1D7249724992B931F
-:1026200001EC4BF012002B97010EBA6F1F9F2FEC9D
+:10262000FDEC4AF012002B97010EBA6F1F9F2FECA2
 :102630000FF0B86B209921912193208F2187B9EC5D
 :102640001DF01FEC1DF02497249940EC13F021B1EC
-:1026500024D020AFF4EF48F020B119EC3CF020B1C9
+:1026500024D020AFF0EF48F020B119EC3CF020B1CD
 :1026600018EC42F020B14BEC3BF020B1B3EC46F05B
-:10267000209120B9F4EF48F020B3F4EF48F0E5D70B
+:10267000209120B9F0EF48F020B3F0EF48F0E5D713
 :1026800024A908D02183BA2B060EBA6518D0010EF2
 :10269000BA6F15D024B721811200BA4F99EF2CF0F0
 :1026A000BA4F55EF34F0BA4F12EF15F0BA4FA8EF0A
-:1026B00013F0BA4F65EF13F0BA4FF4EF48F0B86B70
+:1026B00013F0BA4F65EF13F0BA4FF0EF48F0B86B74
 :1026C00021B71FEC1DF024991200010EBA6F1F9F55
 :1026D0002FEC0FF0B86B209921912193208F218747
 :1026E0000DEC1EF01FEC1DF02497249940EC13F024
 :1026F000050EBA6304D0060EBA6F1FEC1DF021B1AF
 :1027000015D020AF90D720B119EC3CF020B118ECD7
 :1027100042F020B14BEC3BF020B1B3EC46F02091FD
-:1027200020B981D720B3F4EF48F0E0D7BA4FB5EF26
+:1027200020B981D720B3F0EF48F0E0D7BA4FB5EF2A
 :1027300016F0BA4F15EF32F0BA4F37EF33F0BA4F09
-:10274000E8EF49F0BA4FE8EF49F0050EBA6F6ED7DF
+:10274000E4EF49F0BA4FE4EF49F0050EBA6F6ED7E7
 :102750002B97010EBA6F1F9F2FEC0FF0D7EC1DF0D7
 :10276000B86B209921912193208F2187F5EC13F0EC
 :10277000A1EC14F01FEC1DF02497249940EC13F009
-:1027800021B117D020AFF4EF48F020B119EC3CF0A4
+:1027800021B117D020AFF0EF48F020B119EC3CF0A8
 :1027900020B118EC42F020B14BEC3BF020B1B3EC8F
-:1027A00046F0209120B9F4EF48F020B3F4EF48F060
+:1027A00046F0209120B9F0EF48F020B3F0EF48F068
 :1027B000E5D7BA4FAEEF10F0BA4FAAEF10F0BA4F0C
 :1027C000ACD0BA4F03D0BA4F5CD036D02B87220E94
 :1027D000A2EC0DF0A82A060EA86201D0A86AD3ECDC
@@ -642,20 +642,20 @@
 :10280000660E5BEC0BF01200A82E04D0680E5BEC99
 :102810000BF01200A82E04D08A0E5BEC0BF0120015
 :10282000A82E04D0980E5BEC0BF01200A82E12001C
-:10283000EC0E5BEC0BF012002BA7F4EF48F02FEC42
+:10283000EC0E5BEC0BF012002BA7F0EF48F02FEC46
 :102840000FF0D5EC2AF0010EE8CF7FF0EB0E5BEC39
 :102850000BF0000EE8CF7FF0220EA2EC0DF0070E79
 :10286000A802F350C10FBA6F070E396FBA515BEC73
-:102870000BF0BA2B392FFAD71E0E91EC49F0F4EF7A
+:102870000BF0BA2B392FFAD71E0E8DEC49F0F0EF82
 :1028800048F0010EBA6F1F9F2FEC0FF0F5EC1DF012
 :10289000B86B209921912193208F218703EC15F0AB
 :1028A000DDEC14F01FEC1DF02497249940EC13F09C
 :1028B000040EBA6304D0060EBA6F1FEC1DF021B1EE
-:1028C00017D020AFF4EF48F020B119EC3CF020B164
+:1028C00017D020AFF0EF48F020B119EC3CF020B168
 :1028D00018EC42F020B14BEC3BF020B1B3EC46F0E9
-:1028E000209120B9A8EF13F020B3F4EF48F0DED721
+:1028E000209120B9A8EF13F020B3F0EF48F0DED725
 :1028F000BA4F54D0BA4F74D0BA4F07D0BA4F28D776
-:10290000BA4F26D7050EBA6F26D771EC49F08CEC7A
+:10290000BA4F26D7050EBA6F26D76DEC49F088EC82
 :1029100049F0030EBA6F2499B6D71A0EA2EC0DF047
 :10292000A82A630EA8640AD0690EA86007D01A0E00
 :10293000A0EC0DF0030EBA6F249912D7640EA86EA6
@@ -678,7 +678,7 @@
 :102A40001FEC1DF02497249940EC13F021B116D00F
 :102A500020AFE9D520B119EC3CF020B118EC42F0E0
 :102A600020B14BEC3BF020B1B3EC46F0209120B903
-:102A700013EF13F020B3F4EF48F0E6D7BA4F08D0C5
+:102A700013EF13F020B3F0EF48F0E6D7BA4F08D0C9
 :102A8000BA4F3AD0BA4F16D0BA4F05D0BA4F20D06D
 :102A9000030EBA6FCBD55AEC21F0BA6FBA6701D0EA
 :102AA000F7D77FEC0EF0000E9B6E7E0ED36EFF000C
@@ -686,7 +686,7 @@
 :102AC0002FEC0FF0190E5BEC0BF08EEC16F0E0D74C
 :102AD0005AEC21F0BA6FBA6701D0DAD72FEC0FF0B9
 :102AE000190E5BEC0BF08DC100F58EC101F520ECE9
-:102AF00080F00101F4EF48F05AEC21F0BA6FBA67A8
+:102AF00080F00101F0EF48F05AEC21F0BA6FBA67AC
 :102B000001D0C6D72FEC0FF0190E5BEC0BF08DC186
 :102B100000F58EC101F520EC80F00101AA6A030ED8
 :102B2000A96E336B150EE2D8150EE0D8150EDED85F
@@ -717,7 +717,7 @@
 :102CB0001DD8000E1BD8000E19D8000E17D8000E14
 :102CC00015D8000E13D8000E11D8000E0FD8000E24
 :102CD0000DD8000E0BD8000E09D8000E07D8000E34
-:102CE00005D8000E03D8AA6AF4EF48F0326FA92A7B
+:102CE00005D8000E03D8AA6AF0EF48F0326FA92A7F
 :102CF00032C1A8FFD3EC0DF0A92A33C1A8FFD3EC51
 :102D00000DF0A92A32C1A8FFD3EC0DF0A92A339FF8
 :102D100033C1A8FFD3EC0DF0336B1200BD6BBE6B5B
@@ -732,7 +732,7 @@
 :102DA000170E5BEC0BF0EFEC16F0180E5BEC0BF073
 :102DB0002497249924B7B4EC17F024B980EC17F0C9
 :102DC00021B942D020B119EC3CF020B118EC42F00E
-:102DD000209120B991D020B3F4EF48F0EBD7460E04
+:102DD000209120B991D020B3F0EF48F0EBD7460E08
 :102DE000E8CF7DF0410EE8CF7CF020EE60F005C129
 :102DF00032F1386B382B376B19EC0DF03A0EDE6E72
 :102E000004C132F1386B382B376B19EC0DF0200E02
@@ -845,7 +845,7 @@
 :1034B0007EF0000EE8CF7FF035EC1AF020EE60F0E1
 :1034C000D551DE6ED651DE6ED751DE6ED851DE6E2E
 :1034D000D951DE6EDA51DE6E200EDE6E24EC0EF077
-:1034E0001200F9EC4AF009EC4BF06DEC0FF02FEC08
+:1034E0001200F5EC4AF005EC4BF06DEC0FF02FEC10
 :1034F0000FF035EC1AF0850E5BEC0BF0860E5BECF2
 :103500000BF0870E5BEC0BF0880E5BEC0BF0640E9F
 :10351000E8CF7CF00A0EE8CF7DF0000EE8CF7EF019
@@ -869,7 +869,7 @@
 :1036300028C132F1386B382B376B1EEC0DF0200EA1
 :10364000DE6E29C132F1386B382B376B1EEC0DF072
 :10365000200EDE6E2AC132F1386B382B376B1EEC30
-:103660000DF024EC0EF024A7FED7F7EC4AF0120080
+:103660000DF024EC0EF024A7FED7F3EC4AF0120084
 :103670003BEC1AF00B0E58EC0BF0560E5BEC0BF01B
 :10368000570E5BEC0BF035EC1AF01200000EE8CF91
 :10369000F4F13C0EE8CFF5F1EF0EE8CFF6F15A0E5B
@@ -1415,13 +1415,13 @@
 :105850003B6FC58022D8A60EC96E1FD812D8BEC114
 :10586000C9FF1BD80ED8BDC1C9FF17D80AD83BC184
 :10587000C9FF13D806D8C58410D8060ED8EC0CF092
-:105880001200C5BC01D812004D0E41EC1AF0F5EC27
+:105880001200C5BC01D812004D0E41EC1AF0F1EC2B
 :105890004AF00BD89E96C46B1200C42F01D0F4D7E7
 :1058A0009EA6FBD7C46B9E961200C66A4E0E41ECB4
 :1058B0001AF0C56AC76A949694888296090EC46FD6
 :1058C0008286000082B804D082968296C42FF8D7D0
 :1058D0009486C66A0A0ED8EC0CF0000EC76E280E2D
-:1058E000C66E000EC56E080EC86EF7EC4AF04F0E7D
+:1058E000C66E000EC56E080EC86EF3EC4AF04F0E81
 :1058F00041EC1AF01200C56FC580CFDF900EC96E63
 :10590000CCDFBFDFC5C1C9FFC8DFBBDFC584C5DFD2
 :1059100012009E96C580C1DF910EC96EBEDFB1DF59
@@ -1448,7 +1448,7 @@
 :105A6000B86B010E25B5AD51BA6F259525991FEC80
 :105A70001DF0DFEC2FF021B3A7D221B10ED020B161
 :105A800019EC3CF020B118EC42F0209120B913EF52
-:105A900013F020B3F4EF48F0ECD72191060EBA636F
+:105A900013F020B3F0EF48F0ECD72191060EBA6373
 :105AA00002D013EF13F0BAC1ADF12585BB51050D3E
 :105AB000F350BA25A76F2FEC0FF02587C16B43D7A2
 :105AC00025978CEC1CF0000EE8CF7CF0000EE8CFA0
@@ -1512,7 +1512,7 @@
 :105E6000FCD7CB2FFAD7382FD5D720992191219362
 :105E700024992497B86BDFEC2FF021B177D021B3B0
 :105E80001CD120B119EC3CF020B118EC42F020916B
-:105E900020B96CD020B3F4EF48F0EDD74851DC6363
+:105E900020B96CD020B3F0EF48F0EDD74851DC6367
 :105EA00001D012004851DC650ED0DCC149F1490730
 :105EB000495140EC0EF035EC1AF073EC0EF04851FD
 :105EC0004963F5D7120048C149F14907495140ECEF
@@ -1550,7 +1550,7 @@
 :1060C00028F0FEEC28F076EC28F02099219121931D
 :1060D00024992497B86BDFEC2FF021B313D021B1B2
 :1060E0000DD020B119EC3CF020B118EC42F0209119
-:1060F00020B93CD720B3F4EF48F0EDD7BA4F36D7EC
+:1060F00020B93CD720B3F0EF48F0EDD7BA4F36D7F0
 :10610000BA4F16D0BA2B030EBA6302D0010EBA6F83
 :10611000DAD75AEC21F0BA6FBA6701D027D72FEC43
 :106120000FF00C0E5BEC0BF08EEC16F013EF13F08F
@@ -1573,18 +1573,18 @@
 :10623000010EBF27000EC023C0BFBF6BC0BFC06B25
 :10624000A5C152F1A6C153F1C8C154F1C9C155F15C
 :10625000D7EC0BF05067D1D75167CFD799EF2CF01F
-:106260002D939D9A03EC4BF058EC4AF06B0EAD6EFB
-:10627000F8EC0DF005EC4BF09D8A90EF3AF0289584
-:106280009D9A03EC4BF020EC80F0010130EC80F0A3
+:106260002D939D9AFFEC4AF054EC4AF06B0EAD6E04
+:10627000F8EC0DF001EC4BF09D8A90EF3AF0289588
+:106280009D9AFFEC4AF020EC80F0010130EC80F0A8
 :10629000010118EC80F00101010ECC6FCD6B680E8E
-:1062A000AD6EF8EC0DF0208505EC4BF09D8A90EF7B
-:1062B0003AF028939D9A03EC4BF0AA6AAAD805EC11
-:1062C0004BF09D8A90EF3AF02A9F9D9A03EC4BF099
-:1062D000010EAA6E9ED8AA6A05EC4BF09D8A90EF3B
-:1062E0003AF0279F9D9A03EC4BF0F8EC0DF0010E6D
+:1062A000AD6EF8EC0DF0208501EC4BF09D8A90EF7F
+:1062B0003AF028939D9AFFEC4AF0AA6AAAD801EC1A
+:1062C0004BF09D8A90EF3AF02A9F9D9AFFEC4AF09E
+:1062D000010EAA6E9ED8AA6A01EC4BF09D8A90EF3F
+:1062E0003AF0279F9D9AFFEC4AF0F8EC0DF0010E72
 :1062F000AD6EF8EC0DF0370EAD6E29EE4AF0100ED3
-:10630000396FF8EC0DF0DECFADFF392FFAD705EC81
-:106310004BF09D8A90EF3AF0259B9D9A03EC4BF051
+:10630000396FF8EC0DF0DECFADFF392FFAD701EC85
+:106310004BF09D8A90EF3AF0259B9D9AFFEC4AF056
 :106320002FEC0FF0D5EC2AF0010EE8CF7FF00F0E26
 :106330005BEC0BF0000EE8CF7FF0050E436FAA0E6A
 :10634000AD6EF8EC0DF0432FFAD7550EAD6E100E72
@@ -1599,7 +1599,7 @@
 :1063D0005BEC0BF0F8EC0DF0C5864DEC2CF0C9CF62
 :1063E000ADFF010E4327000E442344BF04D0C588EF
 :1063F0004DEC2CF0EFD7C5844DEC2CF0140E5BEC7B
-:106400000BF0FA0ED8EC0CF005EC4BF09D8A1BEF6C
+:106400000BF0FA0ED8EC0CF001EC4BF09D8A1BEF70
 :106410003AF0436BA96ACFEC0DF0A8CFADFFA92AE3
 :10642000F8EC0DF0432FF7D71200010EBA6F219947
 :1064300021972099AA6B229D229F2FEC0FF0D5EC7B
@@ -1625,7 +1625,7 @@
 :1065700054EC0BF0310EDE6E2E0EDE6E300EDE6E43
 :10658000300EDE6E24EC0EF00B0E5BEC0BF0FAEC32
 :1065900012F01FEC1DF0DFEC2FF021B30FD021B172
-:1065A0001ED020B3F4EF48F020B119EC3CF020B13C
+:1065A0001ED020B3F0EF48F020B119EC3CF020B140
 :1065B00018EC42F0209120B91CD0EDD7BA2B020E76
 :1065C000BA6301D0BA2B070EBA6302D0010EBA6FBC
 :1065D000B86B1FEC1DF0FAEC12F02193DCD7BA4F28
@@ -1671,7 +1671,7 @@
 :10685000F1F13E0EA2EC0DF0A8CFF2F13F0EA2EC4A
 :106860000DF0A8CFF3F1D6EC23F0290EDE6E200E4A
 :10687000DE6E24EC0EF081A0FED72497249921919E
-:10688000DFEC2FF021B10DD020B3F4EF48F020B1B0
+:10688000DFEC2FF021B10DD020B3F0EF48F020B1B4
 :1068900019EC3CF020B118EC42F0209120B901D065
 :1068A000EFD7030EBA6F67EF13F0010EBA6F2FEC3C
 :1068B0000FF0B86B209921912193D5EC2AF0010EAD
@@ -1703,7 +1703,7 @@
 :106A5000382B376B1EEC0DF06D0EDE6EA1EC38F0AE
 :106A600024EC0EF035EC1AF0AA2B050EAA636EEF9B
 :106A700034F00B0E5BEC0BF0FAEC12F01FEC1DF097
-:106A8000DFEC2FF021B30FD021B11ED020B3F4EFF3
+:106A8000DFEC2FF021B30FD021B11ED020B3F0EFF7
 :106A900048F020B119EC3CF020B118EC42F0209104
 :106AA00020B90ED0EDD7BA2B070EBA6302D0010E73
 :106AB000BA6FB86B1FEC1DF0FAEC12F02193E0D71F
@@ -1738,7 +1738,7 @@
 :106C8000A8CF32F1386B382B376B1EEC0DF0200E8D
 :106C9000DE6E200EDE6E24EC0EF0FAEC12F01FEC2D
 :106CA0001DF0DFEC2FF021B30FD021B11AD020B3AB
-:106CB000F4EF48F020B119EC3CF020B118EC42F0B0
+:106CB000F0EF48F020B119EC3CF020B118EC42F0B4
 :106CC000209120B918D0EDD7BA2B070EBA6302D0A5
 :106CD000010EBA6FB86B1FEC1DF0FAEC12F02193A5
 :106CE000E0D7BA4F90D0BA4F11D0BA4F43D0BA4F75
@@ -1774,7 +1774,7 @@
 :106EC0000EF09B0EE8CF7CF0140EE8CF7DF020EEA4
 :106ED00060F06C0E54EC0BF024EC0EF0FAEC12F0B7
 :106EE0001FEC1DF0DFEC2FF021B30FD021B11AD031
-:106EF00020B3F4EF48F020B119EC3CF020B118ECCD
+:106EF00020B3F0EF48F020B119EC3CF020B118ECD1
 :106F000042F0209120B9F7D6EDD7BA2B070EBA631D
 :106F100002D0010EBA6FB86B1FEC1DF0FAEC12F044
 :106F20002193E0D7BA4FEFD6BA4F11D0BA4F05D060
@@ -1826,14 +1826,14 @@
 :10720000258B434F248B434F258D434F2681434F7E
 :10721000278F434F2881434F2883434F2885434F6F
 :107220002B81434F2A8F434F2D83AE509E9AAB98AC
-:10723000AB8812002CB7F9D703EC4BF0AE6601D047
+:10723000AB8812002CB7F9D7FFEC4AF0AE6601D04C
 :10724000AE2AAE50640DF3CFC6F1F4CFC7F1EDD73F
 :10725000F292D5BE09D02487D58E1200F090D5BE0B
 :1072600003D02489D58E1200F294D56AD76AD66AE3
 :10727000D58E1200F294D59ED76AD66A1200F19C80
 :107280002A91000ED56ED58E1200F18C1200F19A63
 :107290002A93000ED56ED58E1200F18A1200A192AB
-:1072A000B19ECA9412009E90FBEC4AF0080ECF608B
+:1072A000B19ECA9412009E90F7EC4AF0080ECF608F
 :1072B000412B080ECF5E412B0F0E416502D0C1EC71
 :1072C00039F020A901D0120023BF1200422B010E79
 :1072D00042630AD0239D3F6B406B9B6B9C6B0BEC16
@@ -1858,7 +1858,7 @@
 :107400001F0E764F1E0E764F1F0E764F1F0E764FB5
 :107410001E0E764F1F0E764F1E0E764F1F0E066500
 :107420001200010E066F072B0C0E07651200010EED
-:10743000076F082B12003EEC49F0326B32C118F591
+:10743000076F082B12003AEC49F0326B32C118F595
 :10744000B6EC0FF055EC2CF0E1EC0DF06DEC0FF01C
 :10745000EEEC25F0A8EC1CF060EC24F0A3C100F5E4
 :10746000A4C101F5A3C102F5A4C103F528BF10D042
@@ -1866,7 +1866,7 @@
 :1074800029F02DB517EC20F0C5EC20F05FEC1FF0D3
 :1074900028AF03D0670E5BEC0BF02AAB03D0740E61
 :1074A0005BEC0BF0B86BB96B209D209F239D956B17
-:1074B000966B996B9A6B050EB76F05EC4BF0F7EC7A
+:1074B000966B996B9A6B050EB76F01EC4BF0F3EC82
 :1074C0004AF0259D2C97000EE8CF7CF0000EE8CF07
 :1074D0007DF0000EE8CF7EF0000EE8CF7FF035ECB7
 :1074E0001AF024972499C5EC20F017EC2BF0010E2C
@@ -1888,15 +1888,15 @@
 :1075E000C6EC22F091EC22F020BD06D02DA551EC86
 :1075F00029F02DB517EC20F000EC3BF0209512009F
 :107600002781010ECC5F000ECD5BCC671200CD67E9
-:107610001200279109EC4BF0CC2B120020C532F15F
+:107610001200279105EC4BF0CC2B120020C532F163
 :1076200021C533F1326705D0336703D0196B1A6B6C
-:107630001200010E1927000E1A23120027B10BECBD
-:107640004BF01200FFEC4AF0490E41EC1AF09FC1DA
+:107630001200010E1927000E1A23120027B107ECC1
+:107640004BF01200FBEC4AF0490E41EC1AF09FC1DE
 :1076500002F5A0C103F50A6B0AC111F54F0E0A6FBE
 :107660000AC110F58DC100F58EC101F50B0E7CEC41
 :1076700010F00A6F0AC112F50C0E7CEC10F00A6FC4
 :107680000AC113F540EC80F001014A0E41EC1AF0FA
-:1076900001EC4BF0120094928282249182A4248106
+:10769000FDEC4AF0120094928282249182A424810B
 :1076A000829294820A0EACEC0CF0249382A4248380
 :1076B0009492829224B174D024B364D0948229A984
 :1076C00044D0299F2999320EA2EC0DF0A8CF39F1B0
@@ -1911,9 +1911,9 @@
 :10775000320EA2EC0DF0A8CF39F1330EA2EC0DF0F1
 :10776000A8CF3AF1D890010E3927000E3A2339C13B
 :10777000A8FF320EA0EC0DF03AC1A8FF330EA0EC2A
-:107780000DF01200F9EC4AF0640ED8EC0CF0FBECB2
-:107790004AF0640ED8EC0CF0F9EC4AF0298912009A
-:1077A000F9EC4AF0298F2999120020AD1200B92B6B
+:107780000DF01200F5EC4AF0640ED8EC0CF0F7ECBA
+:107790004AF0640ED8EC0CF0F5EC4AF0298912009E
+:1077A000F5EC4AF0298F2999120020AD1200B92B6F
 :1077B000040E7CEC10F0B9651200209DD3EC2AF089
 :1077C00028BF08D02ABB06D02DA551EC29F02DB535
 :1077D00017EC20F0FEEC22F0EEEC25F0B96B2497CC
@@ -1946,11 +1946,11 @@
 :1079800012000BD815EC25F0E06BE26BE16BDD6BC0
 :10799000DC6B916B926B26971200DEC152F1DFC156
 :1079A00053F191C154F192C155F1D7EC0BF01FA7DF
-:1079B000120091C1DEF192C1DFF11200F7EC4AF042
+:1079B000120091C1DEF192C1DFF11200F3EC4AF046
 :1079C00032C532F10E0E7CEC10F03261FBEC3CF073
-:1079D00027BBF5EC4AF01FC532F1322D120066C507
+:1079D00027BBF1EC4AF01FC532F1322D120066C50B
 :1079E00032F10E0E7CEC10F03261FBEC3CF027BB68
-:1079F000F5EC4AF01200F5EC4AF0020EB06F288B5D
+:1079F000F1EC4AF01200F1EC4AF0020EB06F288B65
 :107A0000120024BFCFD0248F3EEC42F004EC3FF0B4
 :107A10008DC14CF18EC14DF10A0E4E6F000E4F6BB1
 :107A20000BEC0CF048C14CF149C14DF1D0C14EF105
@@ -1985,9 +1985,9 @@
 :107BF0000B0E7CEC10F00A6F0AC112F50C0E7CEC37
 :107C000010F00A6F0AC113F5100E7CEC10F00A6F29
 :107C10000AC117F51D0E7CEC10F00A6F0AC11EF5A3
-:107C20003EEC49F0120025A193EC1BF025812BC5F9
+:107C20003AEC49F0120025A193EC1BF025812BC5FD
 :107C3000AAF124C5ABF19CEC1BF01200229726831D
-:107C400001EC4BF022BB08D0228BBDC1BFF1BEC1FD
+:107C4000FDEC4AF022BB08D0228BBDC1BFF1BEC102
 :107C5000C0F12F0E73EC2BF08F518BEC2BF0905169
 :107C60008BEC2BF0AE6BB12D02D0020EAE27B22DF5
 :107C700002D0020EAE27B32D02D0020EAE27B42DD5
@@ -2098,7 +2098,7 @@
 :1083000090EC10F0326703D0336701D012D0010E29
 :108310003227000E3323700E820FA96E32C1A8FFE0
 :10832000D3EC0DF0700E830FA96E33C1A8FFD3EC10
-:108330000DF0259D05EC4BF02DB163EC4AF060EC9F
+:108330000DF0259D01EC4BF02DB15FEC4AF060ECA7
 :1083400080F00101196B1A6B1BEF3AF020A71200A5
 :108350002ABB0ED025BD19D02093B72B020E7CEC82
 :1083600010F0020FD8B0FF0EE806B76520831200A8
@@ -2140,7 +2140,7 @@
 :1085A000170E7CEC10F0B36F180E7CEC10F0B46F6B
 :1085B000190E7CEC10F0B56F1A0E7CEC10F0B66F53
 :1085C0002AAB02D0010EA96F240EA2EC0DF029B146
-:1085D000A8CF18F5A8CF59F109EC4BF02397229BAF
+:1085D000A8CF18F5A8CF59F105EC4BF02397229BB3
 :1085E000209D2097268325ADF0EC0DF0210EA2EC06
 :1085F0000DF0A8CFD1F1D105040DF350070FA96EEE
 :10860000CFEC0DF0A8CF11F5D105040DF350060FF6
@@ -2153,7 +2153,7 @@
 :1086700012002497249920AD14D02AAB03D0209364
 :10868000209D1200208F209D64EC28F030EC26F015
 :108690002C992B9F010EBA6F76EC28F02499249721
-:1086A00012002CB7ABD0FFEC4AF0060EB06F288B4F
+:1086A00012002CB7ABD0FBEC4AF0060EB06F288B53
 :1086B0002CA31200116B126B136B146B020E176F4D
 :1086C000186B3EEC42F0120024B715D024A912001A
 :1086D0002DB9FFD026B91CD126BDF3D02499B96B92
@@ -2234,7 +2234,7 @@
 :108B80002FEC0FF0010E5BEC0BF0020E5BEC0BF028
 :108B900070EC80F001017FEC0EF0F0EC0DF0A56BB5
 :108BA000A66B939C939E819C819E20B509D820B191
-:108BB0004FD820A9F4EF48F0000003000000F5D7DB
+:108BB0004FD820A9F0EF48F0000003000000F5D7DF
 :108BC000B3EC46F02CB175EC46F00EEC3BF000EC4B
 :108BD0003BF0A62B0E0EA66526D072D8D8EC47F037
 :108BE0001AEC80F00101A1C1A3F1A2C1A4F18DC1D1
@@ -2244,8 +2244,8 @@
 :108C2000A1F133C1A2F18DC100F58EC101F50B0E8A
 :108C30007CEC10F00A6F0AC112F50C0E7CEC10F0FF
 :108C40000A6F0AC113F540EC80F001012095120073
-:108C50004BEC3BF027A105D007EC4BF000000300E4
-:108C6000000009EC4BF0A52B050EA56512D028D805
+:108C50004BEC3BF027A105D003EC4BF000000300E8
+:108C6000000005EC4BF0A52B050EA56512D028D809
 :108C7000060E90EC10F032C152F133C153F18DC1A8
 :108C800054F18EC155F1D7EC0BF020891FB7209914
 :108C9000A56B209124B70AD024B908D0F292F090A5
@@ -2259,8 +2259,8 @@
 :108D1000C290F0EC0DF0100E926E806A936A816A38
 :108D20001D0E946E826A956A836A966A846AD56A11
 :108D3000CD6ACA6A9B6A020ED36ED180EAC137F14E
-:108D40000F0E396F03000000392FFCD7F5EC4AF005
-:108D50000400050EACEC0CF0F7EC4AF00300000048
+:108D40000F0E396F03000000392FFCD7F1EC4AF009
+:108D50000400050EACEC0CF0F3EC4AF0030000004C
 :108D6000372FF4D7EBD7C2800000C282C2B2FED741
 :108D7000C4CF4DF1C3CF4CF1C60E4E6F030E4F6FF3
 :108D8000EEEC0BF0640E4E6F4F6B32EC0CF048C102
@@ -2309,7 +2309,7 @@
 :10903000A0EC0DF098C1A8FF3C0EA0EC0DF007C10C
 :10904000A8FF3D0EA0EC0DF006C1A8FF3E0EA0EC5F
 :109050000DF008C1A8FF3F0EA0EC0DF01200249BFC
-:109060009D9A03EC4BF09E9A620EAD6EF8EC0DF0FB
+:109060009D9AFFEC4AF09E9A620EAD6EF8EC0DF000
 :10907000FEEC0DF0AECF05F1180E0561056BFEECB0
 :109080000DF0AECF04F13C0E0461046BFEEC0DF06C
 :10909000AECF03F13C0E0361036BFEEC0DF0AECFDF
@@ -2318,89 +2318,89 @@
 :1090C0001F0E324F1E0E324F1F0E324F1E0E324FEA
 :1090D0001F0E324F1F0E324F1E0E324F1F0E324FD9
 :1090E0001E0E324F1F0E066502D0010E066FFEECFB
-:1090F0000DF0AECF08F1640E0861086B05EC4BF083
-:109100009E9A20859D8A90EF3AF028919D9A9D8A9B
-:1091100090EF3AF00101A5EC49F020B371EC1AF0A0
-:10912000FC6A01EE09F0EE6A0A0EEA62FCD7F0EC86
-:109130000DF0B3EC47F011EC19F0239D23ADFED7F1
-:109140008F6B906B196B1A6B208960EC46F020993D
-:109150008DC19FF18EC1A0F18DC1A1F18EC1A2F18F
-:109160008DC1A3F18EC1A4F1CC2B0A6B0AC111F5FC
-:109170004F0E0A6F0AC110F58DC100F58EC101F5C1
-:1091800020EC80F0010130EC80F0010118EC80F05F
-:10919000010122EC3BF0010140EC80F00101010EE5
-:1091A000A96E010EAA6ECFEC0DF0A8CF39F1A92A55
-:1091B000CFEC0DF0A8CF3AF1AA6A010E396304D0C2
-:1091C000370E3A6301D010D0010EA96E010EAA6EBF
-:1091D000010EA86ED3EC0DF0A92A370EA86ED3ECC1
-:1091E0000DF0AA6A2EEF16F0FBEC4AF009EC4BF0FA
-:1091F0001F6B206B216B226B236B246B256B266B03
-:10920000276B286B296B2A6B2B6B2C6B2D6B6DECF2
-:109210000FF0000EE8CF7CF0000EE8CF7DF0000EDE
-:10922000E8CF7EF0000EE8CF7FF0FF0E2E6F2EC14C
-:109230007AF0FF0E2E6F2EC17BF055EC2CF0A3C1FF
-:109240009FF1A4C1A0F1AA6A5C0EA2EC0DF0290E58
-:10925000A86201D006D00ED8290EA86E5C0EA0EC34
-:109260000DF0270EA2EC0DF02A85010EA8622A95BA
-:109270001BEF3AF027EC2AF0140E53D0289F2991C7
-:109280002A9BAA6A220EA2EC0DF0010EA86206D05B
-:10929000288F000E0A6F0AC11FF51200020EA86285
-:1092A00006D02981000E0A6F0AC11FF51200030EB5
-:1092B000A86206D02A8B000E0A6F0AC11FF51200A1
-:1092C000040EA86205D0010E0A6F0AC11FF5120034
-:1092D000050EA86212002981010E0A6F0AC11FF54E
-:1092E00012002FEC0FF0E5EC29F00A0E396FC80ED2
-:1092F000D8EC0CF02497249920B118EC42F020B15E
-:1093000039072091396701D0120020B3120024B729
-:10931000120024B91200F0D72FEC0FF006EC2AF05F
-:10932000E4D7396FC80ED8EC0CF02497249920B1FB
-:1093300018EC42F020B139072091396701D01200B2
-:1093400024B7120024B91200F2D76C0ED36E110E9E
-:10935000926E806A030E936E816ADD0E946E826A4D
-:10936000000E966E846A000E956E836A400E9B6EA8
-:109370001F0ED56E070ECD6ED00EF26E050EF16E7D
-:10938000080EF06E210E9D6E000EA06ED06A000ECB
-:10939000C26E0E0EC16E8A0EC06EC66A000EC76E19
-:1093A000280EC66E000EC56E080EC86EBD6ABA6A7B
-:1093B000070EB46E200E6F6E240EAC6E900EAB6E68
-:1093C000080EB86EB06A220EAF6EAE6A9E6A1200C8
-:1093D000010EEB6F0F0EEC6F010EBA6FB86B208FA2
-:1093E00021872FEC0FF046EC1EF024972499219151
-:1093F000219321EC1CF01FEC1DF040EC13F020A198
-:1094000009D019EC3CF018EC42F04BEC3BF0B3EC1B
-:1094100046F0209121B117EF4AF020AF13EF13F07F
-:1094200020B965EF13F020B3F4EF48F0E6D7BA4F58
-:109430001CD0BA4F0AD0BA4F10D0BA4F79D0BA4F19
-:1094400058D0040EBA6F67EF13F0020EEB27C70E69
-:10945000EB61EB6F020EBA6FC8D7030EEC27630EF9
-:10946000EC61EC6F030EBA6FC0D7258D2C87ECC171
-:109470004CF14D6B640E4E6F4F6BEEEC0BF0E80E43
-:109480004827030E492348C1C6F149C1C7F1C6C1E7
-:109490008DF1C7C18EF121912193209F24972499AA
-:1094A00058EC4AF02083500E41EC1AF025EF3CF0C6
-:1094B0002D81530E41EC1AF062EC80F00101540E44
-:1094C00041EC1AF012002D91530E41EC1AF064ECAD
-:1094D00080F00101540E41EC1AF0470E41EC1AF0F5
-:1094E00030EC80F001010DEC40F0480E41EC1AF038
-:1094F00012002FEC0FF06BEC44F02497249920A17C
-:1095000009D019EC3CF018EC42F04BEC3BF0B3EC1A
-:1095100046F0209124B709D024B907D020B965EFCF
-:1095200013F020B3F4EF48F0EAD7050EBA6F56D720
-:1095300063EC42F0258D2C87ECC14CF14D6B640E31
-:109540004E6F4F6BEEEC0BF0E80E4827030E4923ED
-:1095500048C1C6F149C1C7F1C6C18DF1C7C18EF17D
-:1095600058EC4AF0010EE8CF7FF00C0E5BEC0BF0EC
-:10957000000EE8CF7FF01E0EED6F21EC1CF0FDEC2D
-:109580004AF038EC3DF0F4EC3DF000EC80F00101E5
-:10959000430E41EC1AF0ED2FF2D7EB2FECD723C599
-:1095A000CEF1CE6716D0F9EC4AF063EC4AF0259D77
-:1095B0002C97FA0ED8EC0CF0FA0ED8EC0CF0FA0E50
-:1095C000D8EC0CF0FBEC4AF0010EEB6F050EBA6F15
-:1095D00005D738EC3DF0F4EC3DF000EC80F00101F3
-:1095E00023C5CEF1CE67F5D7DED7818812008198EA
-:1095F00012008188120081981200817812008188FF
-:1096000012008198120081861200819612008186D4
-:1096100012008196120081761200FFFFFFFFFFFF0C
+:1090F0000DF0AECF08F1640E0861086B01EC4BF087
+:109100009E9A20859D8A90EF3AF028910101A1EC6A
+:1091100049F020B371EC1AF0FC6A01EE09F0EE6A36
+:109120000A0EEA62FCD7F0EC0DF0B3EC47F011EC5C
+:1091300019F0239D23ADFED78F6B906B196B1A6BC3
+:10914000208960EC46F020998DC19FF18EC1A0F17D
+:109150008DC1A1F18EC1A2F18DC1A3F18EC1A4F187
+:10916000CC2B0A6B0AC111F54F0E0A6F0AC110F51C
+:109170008DC100F58EC101F520EC80F0010130ECCD
+:1091800080F0010118EC80F0010122EC3BF00101BC
+:1091900040EC80F00101010EA96E010EAA6ECFEC29
+:1091A0000DF0A8CF39F1A92ACFEC0DF0A8CF3AF1F4
+:1091B000AA6A010E396304D0370E3A6301D010D089
+:1091C000010EA96E010EAA6E010EA86ED3EC0DF071
+:1091D000A92A370EA86ED3EC0DF0AA6A2EEF16F06E
+:1091E000F7EC4AF005EC4BF01F6B206B216B226B08
+:1091F000236B246B256B266B276B286B296B2A6BE3
+:109200002B6B2C6B2D6B6DEC0FF0000EE8CF7CF010
+:10921000000EE8CF7DF0000EE8CF7EF0000EE8CF24
+:109220007FF0FF0E2E6F2EC17AF0FF0E2E6F2EC133
+:109230007BF055EC2CF0A3C19FF1A4C1A0F1AA6A68
+:109240005C0EA2EC0DF0290EA86201D006D00ED85B
+:10925000290EA86E5C0EA0EC0DF0270EA2EC0DF00E
+:109260002A85010EA8622A951BEF3AF027EC2AF016
+:10927000140E53D0289F29912A9BAA6A220EA2EC91
+:109280000DF0010EA86206D0288F000E0A6F0AC1E9
+:109290001FF51200020EA86206D02981000E0A6F87
+:1092A0000AC11FF51200030EA86206D02A8B000E19
+:1092B0000A6F0AC11FF51200040EA86205D0010E44
+:1092C0000A6F0AC11FF51200050EA862120029815B
+:1092D000010E0A6F0AC11FF512002FEC0FF0E5EC2A
+:1092E00029F00A0E396FC80ED8EC0CF02497249997
+:1092F00020B118EC42F020B139072091396701D034
+:10930000120020B3120024B7120024B91200F0D7C3
+:109310002FEC0FF006EC2AF0E4D7396FC80ED8EC2A
+:109320000CF02497249920B118EC42F020B13907B1
+:109330002091396701D0120024B7120024B912001D
+:10934000F2D76C0ED36E110E926E806A030E936E7E
+:10935000816ADD0E946E826A000E966E846A000E3B
+:10936000956E836A400E9B6E1F0ED56E070ECD6EF6
+:10937000D00EF26E050EF16E080EF06E210E9D6E8F
+:10938000000EA06ED06A000EC26E0E0EC16E8A0E66
+:10939000C06EC66A000EC76E280EC66E000EC56E81
+:1093A000080EC86EBD6ABA6A070EB46E200E6F6EE4
+:1093B000240EAC6E900EAB6E080EB86EB06A220E24
+:1093C000AF6EAE6A9E6A1200010EEB6F0F0EEC6F6D
+:1093D000010EBA6FB86B208F21872FEC0FF046EC8F
+:1093E0001EF0249724992191219321EC1CF01FEC6D
+:1093F0001DF040EC13F020A109D019EC3CF018EC62
+:1094000042F04BEC3BF0B3EC46F0209121B113EF6E
+:109410004AF020AF13EF13F020B965EF13F020B33B
+:10942000F0EF48F0E6D7BA4F1CD0BA4F0AD0BA4F87
+:1094300010D0BA4F79D0BA4F58D0040EBA6F67EF38
+:1094400013F0020EEB27C70EEB61EB6F020EBA6F43
+:10945000C8D7030EEC27630EEC61EC6F030EBA6FF6
+:10946000C0D7258D2C87ECC14CF14D6B640E4E6F2F
+:109470004F6BEEEC0BF0E80E4827030E492348C172
+:10948000C6F149C1C7F1C6C18DF1C7C18EF12191A5
+:109490002193209F2497249954EC4AF02083500E66
+:1094A00041EC1AF025EF3CF02D81530E41EC1AF0FF
+:1094B00062EC80F00101540E41EC1AF012002D9183
+:1094C000530E41EC1AF064EC80F00101540E41ECB3
+:1094D0001AF0470E41EC1AF030EC80F001010DEC6F
+:1094E00040F0480E41EC1AF012002FEC0FF06BEC3C
+:1094F00044F02497249920A109D019EC3CF018ECF1
+:1095000042F04BEC3BF0B3EC46F0209124B709D08D
+:1095100024B907D020B965EF13F020B3F0EF48F07D
+:10952000EAD7050EBA6F56D763EC42F0258D2C872B
+:10953000ECC14CF14D6B640E4E6F4F6BEEEC0BF0CB
+:10954000E80E4827030E492348C1C6F149C1C7F1B7
+:10955000C6C18DF1C7C18EF154EC4AF0010EE8CFBF
+:109560007FF00C0E5BEC0BF0000EE8CF7FF01E0ED0
+:10957000ED6F21EC1CF0F9EC4AF038EC3DF0F4EC26
+:109580003DF000EC80F00101430E41EC1AF0ED2FAC
+:10959000F2D7EB2FECD723C5CEF1CE6716D0F5EC82
+:1095A0004AF05FEC4AF0259D2C97FA0ED8EC0CF0AF
+:1095B000FA0ED8EC0CF0FA0ED8EC0CF0F7EC4AF0FE
+:1095C000010EEB6F050EBA6F05D738EC3DF0F4ECE9
+:1095D0003DF000EC80F0010123C5CEF1CE67F5D758
+:1095E000DED781881200819812008188120081984C
+:1095F0001200817812008188120081981200818601
+:1096000012008196120081861200819612008176E6
+:109610001200FFFFFFFFFFFFFFFFFFFFFFFFFFFF46
 :10962000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF4A
 :10963000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3A
 :10964000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF2A
--- a/code_part1/OSTC_code_asm_part1/sleepmode.asm	Sun Apr 11 20:16:47 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/sleepmode.asm	Mon Apr 12 08:57:22 2010 +0200
@@ -195,7 +195,6 @@
 	call	get_battery_voltage			; get battery voltage
 	btfss	enter_error_sleep			; REALLY enter Fatal Error Routine?
 	return								; No!
-
 	clrf	INTCON
 	clrf	INTCON2
 	clrf	INTCON3