systemlib.c File Reference

#include "includes.h"

Go to the source code of this file.

Functions

bool SystemlibStringCompare (U8 *pString, U8 *pString2)
void SystemlibDumpMemory (U8 *pData, U16 Length)


Function Documentation

void SystemlibDumpMemory ( U8 pData,
U16  Length 
)

Definition at line 26 of file systemlib.c.

00026                                               {
00027     U8 i,j;
00028     U16 l;
00029     
00030     i=0;
00031     j=0;
00032     GuiStringPrint("\n00h: ");
00033     for(l=0;l<Length;l++){
00034         if(i==16){
00035             i=0;
00036             GuiStringPrint("\n");
00037             GuiU8Print(j);
00038             GuiStringPrint("h: ");
00039             j++;
00040         }
00041         if(i==8) GuiStringPrint(" - ");
00042         i++;
00043         GuiU8Print(pData[l]);
00044         GuiStringPrint(" ");
00045     }
00046     GuiStringPrint("\n");
00047 }

bool SystemlibStringCompare ( U8 pString,
U8 pString2 
)

Definition at line 11 of file systemlib.c.

00011                                                      {
00012     U8 i;
00013 
00014     i=0;
00015     while((*pString!=0)&&(*pString2!=0)){
00016         if(i==250) return false;
00017         if(*pString!=*pString2) return false;   
00018         pString++;
00019         pString2++;
00020         i++;
00021     }
00022     if((*pString==0)&&(*pString2==0)) return true;
00023     else return false;
00024 }


Generated on Sat Apr 10 23:28:08 2010 for 80X86 MULTI-TASKING OPERATION SYSTEM by  doxygen 1.5.9