9 #define GFILE_NEED_STDIO_MUST_BE_OFF 11 #include "../../gfx.h" 15 void _gosHeapInit(
void);
16 void _gosThreadsInit(
void);
28 #if !GFX_OS_INIT_NO_WARNING 29 #if GFX_COMPILER_WARNING_TYPE == GFX_COMPILER_WARNING_DIRECT 30 #warning "GOS: Raw32 - Make sure you initialize your hardware and the C runtime before calling gfxInit() in your application!" 31 #elif GFX_COMPILER_WARNING_TYPE == GFX_COMPILER_WARNING_MACRO 32 COMPILER_WARNING(
"GOS: Raw32 - Make sure you initialize your hardware and the C runtime before calling gfxInit() in your application!")
43 void _gosPostInit(
void)
60 #define _WIN32_WINNT 0x0501 // Windows XP and up 65 #define WIN32_LEAN_AND_MEAN 67 #undef WIN32_LEAN_AND_MEAN 68 #define Blue HTML2COLOR(0x0000FF) 69 #define Red HTML2COLOR(0xFF0000) 70 #define Green HTML2COLOR(0x008000) 83 fprintf(stderr,
"%s\n", msg);
86 volatile uint32_t dummy;
98 volatile uint32_t dummy;
systemticks_t gfxSystemTicks(void)
Get the current operating system tick time.
systemticks_t gfxMillisecondsToTicks(delaytime_t ms)
Convert a given number of millseconds to a number of operating system ticks.
void gfxExit(void)
Exit the GFX application.
void gfxHalt(const char *msg)
Halt the GFX application due to an error.