I have to define an area of RAM before it can be used via DMA and I saw that there are _ram_protect_a_length and _ram_protect_a_length but then I should use this part of memory accessed via byte array .. the compiler does not accept Absolute after Byte
- Code: Select all
#define _ram_protect_a= &H100
#define _ram_protect_a_length = &H1ff
dim b(100) as byte absolute _ram_protect_a // Absolute error "Symbol not expected"
dim c(100) as byte absolute (_ram_protect_a + 100)