0 Members and 6 Guests are viewing this topic.
static inline BOOL is_cas_model(void) { return *(volatile unsigned *)0x900A002C == 0x04000001;}
void ut_read_os_version_index(void) { // Stage1 is built specifically for an OS version. Dispatch accordingly. // OS_VERSION_INT and OS_VERSION are passed by the build script.#ifdef STAGE1 BOOL isncas = !is_cas_model(); // OS-specific #if OS_VERSION_INT == 17 ut_os_version_index = isncas ? 0 : 1; #endif #if OS_VERSION_INT == 201 ut_os_version_index = isncas ? 2 : 3; #endif ...
also there is often no change at all when I try to open them, I have to press several times enter (or menu 4) sometimes
I'm trying to add support for OS 1.7 back, but I am buming into a strange problem.I have defined this function in libndls.h:Code: [Select]static inline BOOL is_cas_model(void) { return *(volatile unsigned *)0x900A002C == 0x04000001;}