comparison code_part1/OSTC_code_asm_part1/shared_definitions.h @ 548:c35473dc6831

Make shared headers UNIX compatibles.
author JeanDo
date Sat, 21 Jan 2012 15:36:44 +0100
parents f5a06b9e2fef
children 6526a5b058b7
comparison
equal deleted inserted replaced
547:495af6dc26a6 548:c35473dc6831
67 #endif 67 #endif
68 68
69 #ifdef __18CXX 69 #ifdef __18CXX
70 //---- BANK 2 DATA ------------------------------------------------------- 70 //---- BANK 2 DATA -------------------------------------------------------
71 // Gather all data C-code --> ASM-code 71 // Gather all data C-code --> ASM-code
72 # pragma udata overlay bank2=0x200 72 # ifndef UNIX
73 # pragma udata overlay bank2=0x200
74 # endif
73 #else 75 #else
74 bank2 udata_ovr 0x200 76 bank2 udata_ovr 0x200
75 #endif 77 #endif
76 78
77 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 79 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
120 TAB_UCHAR (char_O_hash, 16); 122 TAB_UCHAR (char_O_hash, 16);
121 123
122 #ifdef __18CXX 124 #ifdef __18CXX
123 //---- BANK 3 DATA ------------------------------------------------------- 125 //---- BANK 3 DATA -------------------------------------------------------
124 // Gather all data ASM-code --> C-code 126 // Gather all data ASM-code --> C-code
125 # pragma udata overlay bank3=0x300 127 # ifndef UNIX
128 # pragma udata overlay bank3=0x300
129 # endif
126 #else 130 #else
127 ; In ASM, put the same bank, in overlay mode, at the same address 131 ; In ASM, put the same bank, in overlay mode, at the same address
128 bank3 udata_ovr 0x300 132 bank3 udata_ovr 0x300
129 #endif 133 #endif
130 134