- prnt(" AA1: blocks 6-%d", applimit);
- prnt(" AA2: blocks %d-", (applimit+1));
+ if (applimit < 6) applimit = 26;
+ uint8_t kb=2;
+ uint8_t maxBlk = 32;
+ if( isset(mem, 0x10) && notset(mem, 0x80)){
+ // 2kb default
+ } else if( isset(mem, 0x80) && notset(mem, 0x10)){
+ kb = 16;
+ maxBlk = 255; //16kb
+ } else {
+ kb = 32;
+ maxBlk = 255;
+ }
+ prnt(" Mem: %u KBits ( %u * 8 bytes) [%02X]", kb, maxBlk, mem);
+ prnt(" AA1: blocks 06-%02X", applimit);
+ prnt(" AA2: blocks %02X-%02X", (applimit+1), (hdr->conf.mem_config));