Tried to compile with #6112, got 😳
../../../../platform/m100/libplatform.a(lib.o)🙁.data+0x0): multiple definition of `bitmap_buffer'
../../../../platform/m100/libplatform.a(wrappers.o): In function `DeleteSemaphore':
wrappers.c🙁.text+0x890): undefined reference to `_DeleteSemaphore'
collect2.exe: error: ld returned 1 exit status
Search results: /../platform/m100/..
//extern char* bitmap_buffer[]; // not suitable, filled with NULLs when a non-GUI mode is started
_transfer_src_overlay(active_bitmap_buffer&1);
char *bitmap_buffer[2] = { (char*)0x7FE80000, (char*)0x7FD00000 };
return bitmap_buffer[active_bitmap_buffer&1];
return opacity_buffer[active_bitmap_buffer&1];
#define DRAW_ON_ACTIVE_BITMAP_BUFFER_ONLY 1 // Draw pixels on active bitmap buffer only.
DEF(active_bitmap_buffer ,0x0000bbe😎 // (0xbb9c+0x4c) Found @0xe033ebc2
DEF(bitmap_buffer ,0x0000bbec) // (0xbb9c+0x50) Found @0xe033ebc8
Undefined reference to `_DeleteSemaphore' disappears with PRIMARY_ROOT on.
So, how to handle bitmap_buffer? ???
Edit:
It worked with #6014, there it´s commented out in stubs_entry.s ...
//DEF(bitmap_buffer ,0x0000bbec), ** != ** stubs_min = 0x00000000 ()
After compiling with error need to set PRIMARY_ROOT off first.
Then modify stubs_entry.s, compile again, ... 😁
Edit: Compiles, but built broken. 🙁 That happens with #6094 already.
So my last running version is with 6087. 😳