comparison src/shared_definitions.h @ 650:bc214815deb2

3.19/10.75 release
author heinrichsweikamp
date Sun, 28 Aug 2022 13:13:38 +0200
parents 185ba2f91f59
children 8af5aefbcdaf
comparison
equal deleted inserted replaced
649:ef2ed7e3a895 650:bc214815deb2
86 #define NUM_GAS 5 86 #define NUM_GAS 5
87 87
88 88
89 #ifdef __18CXX 89 #ifdef __18CXX
90 //---- BANK 3 DATA ------------------------------------------------------- 90 //---- BANK 3 DATA -------------------------------------------------------
91 // Gather all Data C-Code --> ASM-Code 91 // Gather all Data C-Code <--> ASM-Code
92 // 92 //
93 // Attention: keep the first block of variables on position and also do not change 93 // Attention: keep the first block of variables on position and also do not change
94 // their relative position - this block goes into the deco data vault! 94 // their relative position - this block goes into the deco data vault!
95 // 95 //
96 // Memory usage: 253 Byte used, 3 Byte free 96 // Memory usage: 253 Byte used, 3 Byte free
97 //
97 # pragma udata overlay bank3=0x300 98 # pragma udata overlay bank3=0x300
98 #else 99 #else
99 ; in ASM, put the same bank, in overlay mode, at the same address 100 ; in ASM, put the same bank, in overlay mode, at the same address
100 bank3 equ 0x300 101 bank3 equ 0x300
101 bank3 udata_ovr bank3 102 bank3 udata_ovr bank3
234 235
235 #ifdef __18CXX 236 #ifdef __18CXX
236 //---- BANK 4 DATA ------------------------------------------------------- 237 //---- BANK 4 DATA -------------------------------------------------------
237 // Gather all Data ASM-Code --> C-Code 238 // Gather all Data ASM-Code --> C-Code
238 // Memory usage: 96 Byte used, 160 byte free 239 // Memory usage: 96 Byte used, 160 byte free
240 //
239 # pragma udata overlay bank4=0x400 241 # pragma udata overlay bank4=0x400
240 #else 242 #else
241 ; in ASM, put the same bank, in overlay mode, at the same address 243 ; in ASM, put the same bank, in overlay mode, at the same address
242 bank4 equ 0x400 244 bank4 equ 0x400
243 bank4 udata_ovr bank4 245 bank4 udata_ovr bank4
250 252
251 #ifdef __18CXX 253 #ifdef __18CXX
252 //---- BANK 11 DATA ------------------------------------------------------- 254 //---- BANK 11 DATA -------------------------------------------------------
253 // Backtracking Data ASM-Code --> C-Code 255 // Backtracking Data ASM-Code --> C-Code
254 // Memory usage: 256 Byte used, 0 byte free 256 // Memory usage: 256 Byte used, 0 byte free
257 //
255 # pragma udata overlay bank11=0xB00 258 # pragma udata overlay bank11=0xB00
256 #else 259 #else
257 ; in ASM, put the same bank, in overlay mode, at the same address 260 ; in ASM, put the same bank, in overlay mode, at the same address
258 bank11 udata_ovr 0xB00 261 bank11 udata_ovr 0xB00
259 #endif 262 #endif