system/boot/debug.c
/*!
    Initialise debug log buffer and clear screen
 */
Initialise debug log buffer and clear screen
Initialise debug log buffer and clear screen
void dbg_init(void) {
  int32 t;
  current_log = 0;
  klog_to_screen = TRUE;
  __bdebug_enabled = TRUE;
  GetScreenDimensions();
  SetScreenMode();
  KClearScreen(0x0010);
  BlinkLEDs(10);
  KClearScreen(0x0000);
  for (t = 0; t < KLOG_ENTRIES; t++) {
    klog_entry[t][0] = '\0';
  }
}
void dbg_init ( void ) { int32 t ; current_log = 0 ; klog_to_screen = TRUE ; __bdebug_enabled = TRUE ; GetScreenDimensions ( ) ; SetScreenMode ( ) ; KClearScreen ( 0x0010 ) ; BlinkLEDs ( 10 ) ; KClearScreen ( 0x0000 ) ; for ( t = 0 ; t < KLOG_ENTRIES ; t ++ ) { klog_entry [ t ] [ 0 ] = ' \0 ' ; } }
Initialise debug log buffer and clear screen
Initialise debug log buffer and clear screen