| 17 | vu16 __OSDeviceCode : (OS_BASE_CACHED | 0x30E6); |
| 18 | |
| 19 | static inline BOOL CheckConsoleType() { |
| 20 | if (__OSGetDIConfig() == 0xFF) { |
| 21 | switch (__OSDeviceCode) { |
| 22 | case 0x8200: { |
| 23 | return TRUE; |
| 24 | } |
| 25 | case 0x8001: { |
| 26 | if (OSGetPhysicalMemSize() == 0x3000000) { |
| 27 | return TRUE; |
| 28 | } |
| 29 | return FALSE; |
| 30 | } |
| 31 | } |
| 32 | return FALSE; |
| 33 | } |
| 34 | |
| 35 | if ((OSGetConsoleType() & OS_CONSOLE_MASK) == 0) { |
| 36 | return FALSE; |
| 37 | } |
| 38 | |
| 39 | return TRUE; |
| 40 | } |
| 41 | |
| 42 | static s16 AT_IP4_IsMyAddrMask(u8 val) { return 0; } |
| 43 |