Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/definitions.asm @ 116:14a074e1a375
Split C code, and use direct linking.
author | JeanDo |
---|---|
date | Sun, 26 Dec 2010 14:30:13 +0100 |
parents | 50a06adabc67 |
children | 6a94f96e9cea |
comparison
equal
deleted
inserted
replaced
115:50a06adabc67 | 116:14a074e1a375 |
---|---|
340 ENDC | 340 ENDC |
341 endif | 341 endif |
342 | 342 |
343 | 343 |
344 CBLOCK 0x200 ;Bank 2 | 344 CBLOCK 0x200 ;Bank 2 |
345 int_O_tissue_for_debug:.32 ; deco_main_debug copies pressure of tissue to this variable | 345 int_O_tissue_for_debug:.32 ; deco_debug copies pressure of tissue to this variable |
346 int_O_GF_spare____:2; // 0x240 | 346 int_O_GF_spare____:2; // 0x240 |
347 int_O_GF_step:2; // 0x242 | 347 int_O_GF_step:2; // 0x242 |
348 int_O_gtissue_limit:2; // 0x244 | 348 int_O_gtissue_limit:2; // 0x244 |
349 int_O_gtissue_press:2; // 0x246 | 349 int_O_gtissue_press:2; // 0x246 |
350 int_O_limit_GF_low:2; // 0x248 | 350 int_O_limit_GF_low:2; // 0x248 |
466 #DEFINE main_wordprocessor 0x0B468 | 466 #DEFINE main_wordprocessor 0x0B468 |
467 endif | 467 endif |
468 | 468 |
469 ; C-code Routines | 469 ; C-code Routines |
470 ; PART 2 | 470 ; PART 2 |
471 #DEFINE deco_main_calc_hauptroutine 0x10000 | 471 extern deco_calc_CNS_decrease_15min |
472 #DEFINE deco_main_calc_without_deco 0x10020 | 472 extern deco_calc_CNS_fraction |
473 #DEFINE main_clear_CNS_fraction 0x10030 | 473 extern deco_calc_desaturation_time |
474 #DEFINE main_calc_CNS_decrease_15min 0x10034 | 474 extern deco_calc_hauptroutine |
475 #DEFINE main_calc_percentage 0x10038 | 475 extern deco_calc_percentage |
476 #DEFINE deco_main_clear_tissue 0x10040 | 476 extern deco_calc_wo_deco_step_1_min |
477 #DEFINE main_calc_CNS_fraction 0x10050 | 477 extern deco_clear_CNS_fraction |
478 #DEFINE deco_main_calc_desaturation_time 0x10060 | 478 extern deco_clear_tissue |
479 #DEFINE deco_main_calc_wo_deco_step_1_m 0x10080 | 479 extern deco_gradient_array |
480 #DEFINE deco_main_debug 0x100A0 | 480 extern deco_hash |
481 #DEFINE main_DD2_write_incon42 0x100B0 | 481 extern deco_pull_tissues_from_vault |
482 #DEFINE main_DD2_write_incon24 0x100B4 | 482 extern deco_push_tissues_to_vault |
483 | |
484 #DEFINE deco_main_gradient_array 0x100C0 | |
485 #DEFINE deco_main_hash 0x100E0 | |
486 #DEFINE main_push_tissues_to_vault 0x100C4 | |
487 #DEFINE main_pull_tissues_from_vault 0x100C8 | |
488 | 483 |
489 ;I/O Ports (I=Input, O=Output) | 484 ;I/O Ports (I=Input, O=Output) |
490 #DEFINE sensor_SDO PORTA,1 ;O | 485 #DEFINE sensor_SDO PORTA,1 ;O |
491 #DEFINE oled_rw PORTA,2 ;0 | 486 #DEFINE oled_rw PORTA,2 ;0 |
492 #DEFINE oled_hv PORTA,3 ;O | 487 #DEFINE oled_hv PORTA,3 ;O |