From 6c5075bc99ba07f46562f7f10db14e153d7a93ec Mon Sep 17 00:00:00 2001 From: jhansen Date: Mon, 26 Apr 2010 21:49:44 +0000 Subject: git-svn-id: https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc_128/trunk@6 c9361245-7fe8-9947-84e8-057757c4e366 --- AT91SAM7S256/Source/c_cmd_drawing.inc | 1713 +++++++++++++++++++++++++++------ 1 file changed, 1428 insertions(+), 285 deletions(-) (limited to 'AT91SAM7S256/Source/c_cmd_drawing.inc') diff --git a/AT91SAM7S256/Source/c_cmd_drawing.inc b/AT91SAM7S256/Source/c_cmd_drawing.inc index 0132d44..a8b5d86 100644 --- a/AT91SAM7S256/Source/c_cmd_drawing.inc +++ b/AT91SAM7S256/Source/c_cmd_drawing.inc @@ -12,12 +12,17 @@ // Platform C // +#define MAX_CORNERS 128 + //absolute value of a #define ABS(a) (((a)<0) ? -(a) : (a)) //take binary sign of a, either -1, or 1 if >= 0 #define SGN(a) (((a)<0) ? -1 : 1) +#define MAX(a,b) (((a>b) ? (a) : (b))) +#define MIN(a,b) (((aNormal)) //------------------------------------------------------------------ @@ -30,7 +35,7 @@ void cCmdRestoreDefaultScreen(void); //------------------------------------------------------------------ // cCmdDrawString - Draw string to display buffer -void cCmdDrawString(UBYTE *pString, ULONG X, ULONG Y); +void cCmdDrawString(UBYTE *pString, ULONG X, ULONG Y, UBYTE InvertMode, UBYTE LogicalMode, UBYTE FillMode); // OP codes supported by RIC files enum { @@ -42,17 +47,70 @@ enum { IMG_LINE_ID = 5, IMG_RECTANGLE_ID = 6, IMG_CIRCLE_ID = 7, - IMG_NUMBOX_ID = 8 + IMG_NUMBOX_ID = 8, + IMG_ELLIPSE_ID = 9, + IMG_POLYGON_ID = 10 }; #define IMG_SYMB_USEARGS(_v) (_v & (SWORD)0xF000) #define IMG_SYMB_MAP(_v) ((_v & 0x0F00) >> 8) -#define IMG_SYMB_ARG(_v) (_v & 0x000F) +#define IMG_SYMB_ARG(_v) (_v & 0x00FF) + +//JJR +//#define DRAW_OPT_CLEAR_PIXELS (0x0004) +//#define SET_PIXELS(_v) (((_v) & DRAW_OPT_CLEAR_PIXELS) ? FALSE : TRUE) // DrawingOptions -#define DRAW_OPT_CLEAR_WHOLE_SCREEN (0x0001) -#define DRAW_OPT_CLEAR_EXCEPT_STATUS_SCREEN (0x0002) -#define DRAW_OPT_CLEAR_MODE(_v) ((_v) & 0x0003) +// (and CopyOptions) +// - parameter used within byte code drawing operations +// - now unified with 'CopyOptions' parameter in RIC files +// Bits 0 & 1 (values 0,1,2,3) control screen clearing behaviour (Not within RIC files). +// Bit 2 (value 4) controls the NOT operation, i.e. draw in white or invert text/graphics. +// Bits 3 & 4 (values 0,8,16,24) control pixel logical combinations (COPY/AND/OR/XOR). +// Bit 5 (value 32) controls shape filling, or overrides text/graphic bitmaps with set pixels. +// These may be ORed together for the full instruction. +// These operations are resolved into the separate, common parameters +// defined in 'c_display.iom' before any drawing function is called. +// Note that when drawing a RIC file, the initial 'DrawingOptions' parameter +// supplied in the drawing instruction controls screen clearing, but nothing else. +// The 'CopyOptions' parameter from each instruction in the RIC file then controls +// graphic operations, but the screen-clearing bits are ignored. + +#define DRAW_OPT_NORMAL (0x0000) +#define DRAW_OPT_LOGICAL_COPY (0x0000) + +#define DRAW_OPT_CLEAR_WHOLE_SCREEN (0x0001) +#define DRAW_OPT_CLEAR_EXCEPT_STATUS_SCREEN (0x0002) +#define DRAW_OPT_INVERT (0x0004) +#define DRAW_OPT_LOGICAL_AND (0x0008) +#define DRAW_OPT_LOGICAL_OR (0x0010) +#define DRAW_OPT_LOGICAL_XOR (0x0018) +#define DRAW_OPT_FILL_SHAPE (0x0020) + +// Combined parameter masks: +#define DRAW_OPT_CLEAR_SCREEN_MODES (0x0003) +#define DRAW_OPT_LOGICAL_OPERATIONS (0x0018) +#define DRAW_OPT_FONT_DIRECTIONS (0x01C0) + +#define DRAW_OPT_FONT_WRAP (0x0200) + +#define DRAW_OPT_FONT_DIR_L2RB (0x0000) // Font left to right bottom align +#define DRAW_OPT_FONT_DIR_L2RT (0x0040) // Font left to right top align +#define DRAW_OPT_FONT_DIR_R2LB (0x0080) // Font right to left bottom align +#define DRAW_OPT_FONT_DIR_R2LT (0x00C0) // Font right to left top align +#define DRAW_OPT_FONT_DIR_B2TL (0x0100) // Font bottom to top left align +#define DRAW_OPT_FONT_DIR_B2TR (0x0140) // Font bottom to top right align +#define DRAW_OPT_FONT_DIR_T2BL (0x0180) // Font top to bottom left align +#define DRAW_OPT_FONT_DIR_T2BR (0x01C0) // Font top to bottom right align + +#define DESC_FONTOUT 0x8001 // ID for new font out function + +// CopyOptions, as originally defined for RIC files, now equate to: +// COPY = 0 = 0x00 = DRAW_OPT_NORMAL = Copy all bits, solid and clear +// COPY_NOT = 4 = 0x04 = DRAW_OPT_INVERT = Copy all bits, but invert bitmap images first +// OR = 16 = 0x10 = DRAW_OPT_LOGICAL_OR = Copy solid bits, ignore clear bits +// BIT_CLEAR = 12 = 0x0C = DRAW_OPT_INVERT + DRAW_OPT_LOGICAL_AND = Erase screen for solid bits, ignore clear bits +//JJR // Clear Before Drawing Modes for Draw functions @@ -63,7 +121,8 @@ enum { // Screen Modes for SetScreenMode function enum { - RESTORE_NXT_SCREEN = 0 + RESTORE_NXT_SCREEN = 0, + CLEAR_NXT_SCREEN = 1 }; #define IMG_COMMON_FIELDS UWORD OpSize; UWORD OpCode; @@ -118,7 +177,7 @@ typedef struct typedef struct { IMG_COMMON_FIELDS - UWORD CopyOptions; // Copy, CopyNot, Or, BitClear; + UWORD CopyOptions; // Copy, CopyNot, Or, BitClear; //JJR ,Xor; UWORD DataAddr; // Address of an already defined sprite IMG_RECT Src; // Source rectangle IMG_PT Dst; // Destination left top @@ -164,6 +223,23 @@ typedef struct UWORD Value; // typically mapped to an argument } IMG_OP_NUMBOX; +typedef struct +{ + IMG_COMMON_FIELDS + UWORD CopyOptions; + IMG_PT Pt; + UWORD Radius1; + UWORD Radius2; +} IMG_OP_ELLIPSE; + +typedef struct +{ + IMG_COMMON_FIELDS + UWORD CopyOptions; + UWORD Count; //The actual size of the following array. + IMG_PT Points[3]; //Minimum of 3 for polygon +} IMG_OP_POLYGON; + typedef union { IMG_OP_CORE Core; IMG_OP_DESCRIPTION Desc; @@ -175,22 +251,47 @@ typedef union IMG_OP_RECT Rect; IMG_OP_CIRCLE Circle; IMG_OP_NUMBOX NumBox; + IMG_OP_ELLIPSE Ellipse; + IMG_OP_POLYGON Polygon; } IMG_OP_UNION; // Variables for DrawImage #define IMG_MAX_DATA 11 IMG_OP_UNION * gpImgData[IMG_MAX_DATA]; -SLONG * gpPassedImgVars; -SWORD gPassedVarsCount; +SLONG * gpPassedImgVars = NULL; +SWORD gPassedVarsCount = 0; // Private Prototypes -void cCmdDrawLine(SLONG x1, SLONG y1, SLONG x2, SLONG y2); -void cCmdDrawRect(SLONG left, SLONG bottom, SLONG width, SLONG hieght); +void cCmdDrawLine(SLONG x1, SLONG y1, SLONG x2, SLONG y2, UBYTE PixelMode); +void cCmdDrawRect(SLONG left, SLONG bottom, SLONG width, SLONG height, UBYTE PixelMode, UBYTE FillMode); +void cCmdDrawCircle(SLONG cx, SLONG cy, SLONG radius, UBYTE PixelMode, UBYTE FillMode); +void cCmdDrawPolygon(IMG_PT* points, UWORD polyCorners, UBYTE PixelMode, UBYTE FillMode); +void cCmdDrawEllipse(SWORD cx, SWORD cy, SWORD a, SWORD b, UBYTE PixelMode, UBYTE FillMode); void cCmdCopyBitMapBits(SLONG dst_x, SLONG dst_y, SLONG src_x, SLONG src_y, SLONG src_width, SLONG src_height, - IMG_OP_SPRITE * pSprite); + IMG_OP_SPRITE * pSprite, + UBYTE InvertMode, UBYTE LogicalMode, UBYTE FillMode); SLONG cCmdResolveValue(SWORD Value); -void cCmdSetPixel(SLONG X, SLONG Y, ULONG Val); +void cCmdSetPixel(SLONG X, SLONG Y, ULONG PixelMode); + +UBYTE cCmdResolveDrawingMode(UWORD DrawingOptions, UBYTE* pPixelMode, UBYTE* pFillMode); +void cCmdResolveBitmapMode(UWORD DrawingOptions, UBYTE* pInvertMode, UBYTE* pLogicalMode, UBYTE* pFillMode); +UBYTE cCmdResolveClearScreenMode(UWORD DrawingOptions); + +void cCmdResolveFontOptions(UWORD DrawingOptions, UBYTE* pFontDir, UBYTE* pFontWrap); +void cCmdDrawFont(IMG_OP_SPRITE *pSprite, SLONG sW, SLONG sH, SLONG startx, SLONG starty, + UBYTE fontDir, UBYTE fontWrap, UBYTE invertMode, UBYTE logicalMode, UBYTE fillMode); + + +void cCmdDrawTextHelper(ULONG DrawOptions, UBYTE *pString, IMG_PT * pPt) +{ + UBYTE invertMode, logicalMode, fillMode; + cCmdClearScreenIfNeeded(DrawOptions); + // Display the String + cCmdResolveBitmapMode(DrawOptions, &invertMode, &logicalMode, &fillMode); + cCmdDrawString(pString, (UBYTE)pPt->X, (UBYTE)pPt->Y, invertMode, logicalMode, fillMode); + pMapDisplay->UpdateMask |= SCREEN_BIT(SCREEN_BACKGROUND); +} //----------------------------------------------------------------- //cCmdWrapDrawText @@ -202,18 +303,10 @@ void cCmdSetPixel(SLONG X, SLONG Y, ULONG Val); NXT_STATUS cCmdWrapDrawText(UBYTE * ArgV[]) { IMG_PT * pPt = (IMG_PT*) ArgV[1]; - ArgV[2] = (UBYTE*)cCmdDVPtr(*(DV_INDEX *)(ArgV[2])); //Resolve array argument - - cCmdClearScreenIfNeeded(*(ULONG*)ArgV[3]); - - // Display the String - cCmdDrawString(ArgV[2], (UBYTE)pPt->X, (UBYTE)(pPt->Y)); - pMapDisplay->UpdateMask |= SCREEN_BIT(SCREEN_BACKGROUND); - + cCmdDrawTextHelper(*(ULONG*)ArgV[3], ArgV[2], pPt); // Set return value *((SBYTE*)(ArgV[0])) = NO_ERR; - return NO_ERR; } @@ -225,11 +318,14 @@ NXT_STATUS cCmdWrapDrawText(UBYTE * ArgV[]) NXT_STATUS cCmdWrapDrawPoint(UBYTE * ArgV[]) { IMG_PT * pPt = (IMG_PT*) ArgV[1]; + ULONG DrawOptions = *(ULONG*)ArgV[2]; + UBYTE pixelMode, fillMode; - cCmdClearScreenIfNeeded(*(ULONG*)ArgV[2]); + cCmdClearScreenIfNeeded(DrawOptions); - // Display the String - cCmdSetPixel(pPt->X, pPt->Y, TRUE); + // Display the Pixel + if (cCmdResolveDrawingMode(DrawOptions, &pixelMode, &fillMode)) + cCmdSetPixel(pPt->X, pPt->Y, pixelMode); pMapDisplay->UpdateMask |= SCREEN_BIT(SCREEN_BACKGROUND); @@ -249,10 +345,13 @@ NXT_STATUS cCmdWrapDrawLine(UBYTE * ArgV[]) { IMG_PT * pPt1 = (IMG_PT*) ArgV[1]; IMG_PT * pPt2 = (IMG_PT*) ArgV[2]; + ULONG DrawOptions = *(ULONG*)ArgV[3]; + UBYTE pixelMode, fillMode; - cCmdClearScreenIfNeeded(*(ULONG*)ArgV[3]); + cCmdClearScreenIfNeeded(DrawOptions); - cCmdDrawLine(pPt1->X, pPt1->Y, pPt2->X, pPt2->Y); + if (cCmdResolveDrawingMode(DrawOptions, &pixelMode, &fillMode)) + cCmdDrawLine(pPt1->X, pPt1->Y, pPt2->X, pPt2->Y, pixelMode); pMapDisplay->UpdateMask |= SCREEN_BIT(SCREEN_BACKGROUND); @@ -270,66 +369,18 @@ NXT_STATUS cCmdWrapDrawLine(UBYTE * ArgV[]) //ArgV[3]: Options (ULONG) NXT_STATUS cCmdWrapDrawCircle(UBYTE * ArgV[]) { - SLONG x, x1, y1, y, dp, delta; IMG_PT * pPt = (IMG_PT*) ArgV[1]; SLONG radius = *(UBYTE*)ArgV[2]; - - cCmdClearScreenIfNeeded(*(ULONG*)ArgV[3]); - - x1 = pPt->X; - y1 = pPt->Y; - x = 0; - y = radius; - dp=2*(1-radius); - while(y >= 0) - { - cCmdSetPixel((x+x1), (y+y1), TRUE); - cCmdSetPixel((-x+x1),(-y+y1), TRUE); - cCmdSetPixel((x+x1), (-y+y1), TRUE); - cCmdSetPixel((-x+x1),(y+y1), TRUE); - if(dp<0) - { - delta = 2*dp + 2*y - 1; - if (delta > 0) - { - x++; - y--; - dp += 2*x - 2*y + 2; - } - else - { - x++; - dp += 2*x + 1; - } - } - else if (dp > 0) - { - delta = 2*dp - 2*x - 1; - if (delta > 0) - { - y--; - dp += 1 - 2*y; - } - else - { - x++; - y--; - dp += 2*x - 2*y + 2; - } - } - else - { - x++; - y--; - dp += 2*x - 2*y +2; - } - } - + ULONG DrawOptions = *(ULONG*)ArgV[3]; + UBYTE pixelMode, fillMode; + + cCmdClearScreenIfNeeded(DrawOptions); + if (cCmdResolveDrawingMode(DrawOptions, &pixelMode, &fillMode)) + cCmdDrawCircle(pPt->X, pPt->Y, radius, pixelMode, fillMode); + pMapDisplay->UpdateMask |= SCREEN_BIT(SCREEN_BACKGROUND); - // Set return value *((SBYTE*)(ArgV[0])) = NO_ERR; - return NO_ERR; } @@ -343,10 +394,13 @@ NXT_STATUS cCmdWrapDrawRect(UBYTE * ArgV[]) { IMG_PT * pPt1 = (IMG_PT*) ArgV[1]; IMG_PT * pPt2 = (IMG_PT*) ArgV[2]; // Second point is actually (width, height) + ULONG DrawOptions = *(ULONG*)ArgV[3]; + UBYTE pixelMode, fillMode; - cCmdClearScreenIfNeeded(*(ULONG*)ArgV[3]); + cCmdClearScreenIfNeeded(DrawOptions); - cCmdDrawRect(pPt1->X, pPt1->Y, pPt2->X, pPt2->Y); + if (cCmdResolveDrawingMode(DrawOptions, &pixelMode, &fillMode)) + cCmdDrawRect(pPt1->X, pPt1->Y, pPt2->X, pPt2->Y, pixelMode, fillMode); pMapDisplay->UpdateMask |= SCREEN_BIT(SCREEN_BACKGROUND); @@ -356,6 +410,66 @@ NXT_STATUS cCmdWrapDrawRect(UBYTE * ArgV[]) return NO_ERR; } +//----------------------------------------------------------------- +//cCmdWrapDrawPolygon +//ArgV[0]: (Function return) Status byte, SBYTE +//ArgV[1]: Points IMG_PT[] +//ArgV[2]: Options (ULONG) +NXT_STATUS cCmdWrapDrawPolygon(UBYTE * ArgV[]) +{ + ULONG DrawOptions = *(ULONG*)ArgV[2]; + UBYTE pixelMode, fillMode; + + //Resolve array argument + IMG_PT * Points = (IMG_PT*)cCmdDVPtr(*(DV_INDEX *)(ArgV[1])); + UWORD polyCorners = DV_ARRAY[*(DV_INDEX *)(ArgV[1])].Count; + if (polyCorners <= MAX_CORNERS) { + + cCmdClearScreenIfNeeded(DrawOptions); + + if (cCmdResolveDrawingMode(DrawOptions, &pixelMode, &fillMode)) + cCmdDrawPolygon(Points, polyCorners, pixelMode, fillMode); + + pMapDisplay->UpdateMask |= SCREEN_BIT(SCREEN_BACKGROUND); + + // Set return value + *((SBYTE*)(ArgV[0])) = NO_ERR; + + return NO_ERR; + } + else { + // Set return value + *((SBYTE*)(ArgV[0])) = ERR_INSTR; + + return ERR_INSTR; + } +} + +//----------------------------------------------------------------- +//cCmdWrapDrawEllipse +//ArgV[0]: (Function return) Status byte, SBYTE +//ArgV[1]: Start Location (IMG_PT *) +//ArgV[2]: Radius1 (U8) +//ArgV[3]: Radius2 (U8) +//ArgV[4]: Options (ULONG) +NXT_STATUS cCmdWrapDrawEllipse(UBYTE * ArgV[]) +{ + IMG_PT * pPt = (IMG_PT*) ArgV[1]; + SWORD radius1 = *(UBYTE*)ArgV[2]; + SWORD radius2 = *(UBYTE*)ArgV[3]; + ULONG DrawOptions = *(ULONG*)ArgV[4]; + UBYTE pixelMode, fillMode; + + cCmdClearScreenIfNeeded(DrawOptions); + if (cCmdResolveDrawingMode(DrawOptions, &pixelMode, &fillMode)) + cCmdDrawEllipse(pPt->X, pPt->Y, radius1, radius2, pixelMode, fillMode); + + pMapDisplay->UpdateMask |= SCREEN_BIT(SCREEN_BACKGROUND); + // Set return value + *((SBYTE*)(ArgV[0])) = NO_ERR; + return NO_ERR; +} + //----------------------------------------------------------------- IMG_OP_UNION * cCmdGetIMGData(ULONG DataAddr) { @@ -375,12 +489,17 @@ void cCmdSetIMGData(ULONG DataAddr, IMG_OP_UNION * pSprite) //----------------------------------------------------------------- SLONG cCmdResolveValue(SWORD Value) { - if (!IMG_SYMB_USEARGS(Value)) + if (!IMG_SYMB_USEARGS(Value) || !gpPassedImgVars || (gPassedVarsCount == 0)) { return Value; } else { + // if we try to access a variable beyond the end of the array we provided + // then just return the original value + if (IMG_SYMB_ARG(Value) >= gPassedVarsCount) + return Value; + IMG_OP_VARMAP * pVarMap; SLONG Arg; @@ -428,252 +547,829 @@ SLONG cCmdResolveValue(SWORD Value) } -//----------------------------------------------------------------- -//cCmdWrapDrawGraphic -//ArgV[0]: (Function return) Status Byte, SBYTE -//ArgV[1]: Left Top (IMG_PT *) -//ArgV[2]: Filename, CStr -//ArgV[3]: Variables, array of I32 -//ArgV[4]: Options (ULONG) -NXT_STATUS cCmdWrapDrawPicture(UBYTE * ArgV[]) +NXT_STATUS cCmdDrawPictureHelper(IMG_OP_UNION** ppImage, IMG_PT* pPoint, SLONG* pVars, ULONG DataSize, ULONG Options) { - SBYTE * pReturnVal = (SBYTE*)(ArgV[0]); - LOADER_STATUS LStatus; - NXT_STATUS DStatus = NO_ERR; - ULONG DataSize; - SLONG OpSize; - IMG_PT Pt; // Where to draw the picture at (up and to the right) - UBYTE ImageHandle; - IMG_OP_UNION * pImage; - - //Resolve array argument - ArgV[2] = (UBYTE*)cCmdDVPtr(*(DV_INDEX *)(ArgV[2])); - ArgV[3] = (UBYTE*)cCmdDVPtr(*(DV_INDEX *)(ArgV[3])); - - cCmdClearScreenIfNeeded(*(ULONG*)ArgV[4]); - - //Open the file in memory map mode. return if failure. - LStatus = pMapLoader->pFunc(OPENREADLINEAR, ArgV[2], (UBYTE*)(&pImage), &DataSize); - ImageHandle = LOADER_HANDLE(LStatus); - - //If error opening file, give up and write loader status back to user. - if (LOADER_ERR(LStatus) != SUCCESS || pImage == NULL) + SLONG OpSize; + UBYTE gFillMode, gInvertMode, gLogicalMode, gFontDir, gFontWrap; + UBYTE pixelMode, fillMode; + UBYTE invertMode, logicalMode; + IMG_PT Pt; // Where to draw the picture at (up and to the right) + NXT_STATUS DStatus = NO_ERR; + IMG_OP_UNION* pImage = *ppImage; + // Read the params, Clear the data table. + Pt = *pPoint; + gpPassedImgVars = pVars; + memset(gpImgData,0,sizeof(gpImgData)); + + cCmdClearScreenIfNeeded(Options); + + cCmdResolveBitmapMode(Options, &gInvertMode, &gLogicalMode, &gFillMode); + cCmdResolveFontOptions(Options, &gFontDir, &gFontWrap); + + // Run through the op codes. + while(!IS_ERR(DStatus)) { - *pReturnVal = (SBYTE)(LOADER_ERR_BYTE(LStatus)); - return (NO_ERR); - } - //Else, start interpretting the file - else - { - // Read the ArgV params, Clear the data table. - Pt = *(IMG_PT*)ArgV[1]; - //!!! Unsafe assumption that array is non-empty. Should check and avoid using pointer if empty. - gpPassedImgVars = (SLONG*)ArgV[3]; - memset(gpImgData,0,sizeof(gpImgData)); - - // Run through the op codes. - while(!IS_ERR(DStatus)) + // Setup to look at an opcode, make sure it looke reasonable. + if (DataSize < sizeof(IMG_OP_CORE)) + { + DStatus = ERR_FILE; + break; // Too small to look at, somethings wrong. + } + OpSize = pImage->Core.OpSize + sizeof(UWORD); + if (OpSize & 0x01) + { + DStatus = ERR_FILE; + break; // Odd sizes not allowed. + } + + switch(pImage->Core.OpCode) { - // Setup to look at an opcode, make sure it looke reasonable. - if (DataSize < sizeof(IMG_OP_CORE)) + case IMG_SPRITE_ID: { - DStatus = ERR_FILE; - break; // Too small to look at, somethings wrong. + if (OpSize >= sizeof(IMG_OP_SPRITE)) + cCmdSetIMGData(pImage->Sprite.DataAddr, pImage); } - OpSize = pImage->Core.OpSize + sizeof(UWORD); - if (OpSize & 0x01) + break; + + case IMG_VARMAP_ID: { - DStatus = ERR_FILE; - break; // Odd sizes not allowed. + if (OpSize >= sizeof(IMG_OP_VARMAP)) + cCmdSetIMGData(pImage->VarMap.DataAddr, pImage); } + break; - switch(pImage->Core.OpCode) + case IMG_COPYBITS_ID: { - case IMG_SPRITE_ID: + if (OpSize >= sizeof(IMG_OP_COPYBITS)) { - if (OpSize >= sizeof(IMG_OP_SPRITE)) - cCmdSetIMGData(pImage->Sprite.DataAddr, pImage); + IMG_OP_COPYBITS * pCB = &(pImage->CopyBits); + cCmdResolveBitmapMode(pCB->CopyOptions, &invertMode, &logicalMode, &fillMode); + cCmdCopyBitMapBits( + (cCmdResolveValue(pCB->Dst.X) + Pt.X), + (cCmdResolveValue(pCB->Dst.Y) + Pt.Y), + cCmdResolveValue((pCB->Src.Pt.X)), + cCmdResolveValue((pCB->Src.Pt.Y)), + cCmdResolveValue((pCB->Src.Width)), + cCmdResolveValue((pCB->Src.Height)), + (IMG_OP_SPRITE*)cCmdGetIMGData(cCmdResolveValue(pCB->DataAddr)), + invertMode, logicalMode, fillMode); } - break; + } + break; - case IMG_VARMAP_ID: + case IMG_LINE_ID: + { + if (OpSize >= sizeof(IMG_OP_LINE)) { - if (OpSize >= sizeof(IMG_OP_VARMAP)) - cCmdSetIMGData(pImage->VarMap.DataAddr, pImage); + IMG_OP_LINE * pL = &(pImage->Line); + cCmdResolveDrawingMode(pL->CopyOptions, &pixelMode, &fillMode); //JJR + cCmdDrawLine( + (cCmdResolveValue(pL->Pt1.X)+Pt.X), + (cCmdResolveValue(pL->Pt1.Y)+Pt.Y), + (cCmdResolveValue(pL->Pt2.X)+Pt.X), + (cCmdResolveValue(pL->Pt2.Y)+Pt.Y), + pixelMode //JJR + ); } - break; + } + break; - case IMG_COPYBITS_ID: + case IMG_RECTANGLE_ID: + { + if (OpSize >= sizeof(IMG_OP_RECT)) { - if (OpSize >= sizeof(IMG_OP_COPYBITS)) - { - IMG_OP_COPYBITS * pCB = &(pImage->CopyBits); - cCmdCopyBitMapBits( - (cCmdResolveValue(pCB->Dst.X) + Pt.X), - (cCmdResolveValue(pCB->Dst.Y) + Pt.Y), - cCmdResolveValue((pCB->Src.Pt.X)), - cCmdResolveValue((pCB->Src.Pt.Y)), - cCmdResolveValue((pCB->Src.Width)), - cCmdResolveValue((pCB->Src.Height)), - (IMG_OP_SPRITE*)cCmdGetIMGData(cCmdResolveValue(pCB->DataAddr))); - } + IMG_OP_RECT * pR = &(pImage->Rect); + cCmdResolveDrawingMode(pR->CopyOptions, &pixelMode, &fillMode); //JJR + cCmdDrawRect( + (SWORD)(cCmdResolveValue(pR->Pt.X)+Pt.X), + (SWORD)(cCmdResolveValue(pR->Pt.Y)+Pt.Y), + (SWORD)(cCmdResolveValue(pR->Width)), + (SWORD)(cCmdResolveValue(pR->Height)), + pixelMode, fillMode //JJR + ); } - break; + } + break; - case IMG_LINE_ID: + case IMG_CIRCLE_ID: + { + if (OpSize >= sizeof(IMG_OP_CIRCLE)) { - if (OpSize >= sizeof(IMG_OP_LINE)) - { - IMG_OP_LINE * pL = &(pImage->Line); - cCmdDrawLine( - (cCmdResolveValue(pL->Pt1.X)+Pt.X), - (cCmdResolveValue(pL->Pt1.Y)+Pt.Y), - (cCmdResolveValue(pL->Pt2.X)+Pt.X), - (cCmdResolveValue(pL->Pt2.Y)+Pt.Y) - ); - } + IMG_OP_CIRCLE * pC = &(pImage->Circle); + cCmdResolveDrawingMode(pC->CopyOptions, &pixelMode, &fillMode); //JJR + cCmdDrawCircle( + (SWORD)(cCmdResolveValue(pC->Pt.X)+Pt.X), + (SWORD)(cCmdResolveValue(pC->Pt.Y)+Pt.Y), + (SWORD)(cCmdResolveValue(pC->Radius)), + pixelMode, fillMode //JJR + ); } - break; + } + break; - case IMG_RECTANGLE_ID: + case IMG_PIXEL_ID: + { + if (OpSize >= sizeof(IMG_OP_PIXEL)) { - if (OpSize >= sizeof(IMG_OP_LINE)) - { - IMG_OP_RECT * pL = &(pImage->Rect); - cCmdDrawRect( - (SWORD)(cCmdResolveValue(pL->Pt.X)+Pt.X), - (SWORD)(cCmdResolveValue(pL->Pt.Y)+Pt.Y), - (SWORD)(cCmdResolveValue(pL->Width)), - (SWORD)(cCmdResolveValue(pL->Height)) + cCmdResolveDrawingMode(pImage->Pixel.CopyOptions, &pixelMode, &fillMode); //JJR + cCmdSetPixel( + (cCmdResolveValue(pImage->Pixel.Pt.X) + Pt.X), + (cCmdResolveValue(pImage->Pixel.Pt.Y) + Pt.Y), + pixelMode //JJR ); - } } - break; + } + break; - case IMG_PIXEL_ID: + case IMG_NUMBOX_ID: + { + if (OpSize >= sizeof(IMG_OP_NUMBOX)) { - if (OpSize >= sizeof(IMG_OP_PIXEL)) - { - cCmdSetPixel( - (cCmdResolveValue(pImage->Pixel.Pt.X) + Pt.X), - (cCmdResolveValue(pImage->Pixel.Pt.Y) + Pt.Y), - TRUE); - } + UBYTE NumStr[20]; + IMG_OP_NUMBOX * pNB = &(pImage->NumBox); + sprintf((PSZ)NumStr, "%d", cCmdResolveValue(pNB->Value)); + cCmdResolveBitmapMode(pNB->CopyOptions, &invertMode, &logicalMode, &fillMode); + cCmdDrawString( + NumStr, + (UBYTE) (cCmdResolveValue(pNB->Pt.X) + Pt.X), + (UBYTE) (cCmdResolveValue(pNB->Pt.Y) + Pt.Y), + invertMode, logicalMode, fillMode //JJR + ); } - break; + } + break; - case IMG_NUMBOX_ID: + case IMG_ELLIPSE_ID: + { + if (OpSize >= sizeof(IMG_OP_ELLIPSE)) { - if (OpSize >= sizeof(IMG_OP_NUMBOX)) - { - UBYTE NumStr[20]; - IMG_OP_NUMBOX * pNB = &(pImage->NumBox); - sprintf((PSZ)NumStr, "%d", cCmdResolveValue(pNB->Value)); - cCmdDrawString( - NumStr, - (UBYTE) (cCmdResolveValue(pNB->Pt.X) + Pt.X), - (UBYTE) (cCmdResolveValue(pNB->Pt.Y) + Pt.Y)); - } + IMG_OP_ELLIPSE * pE = &(pImage->Ellipse); + cCmdResolveDrawingMode(pE->CopyOptions, &pixelMode, &fillMode); //JJR + cCmdDrawEllipse( + (SWORD)(cCmdResolveValue(pE->Pt.X)+Pt.X), + (SWORD)(cCmdResolveValue(pE->Pt.Y)+Pt.Y), + (SWORD)(cCmdResolveValue(pE->Radius1)), + (SWORD)(cCmdResolveValue(pE->Radius2)), + pixelMode, fillMode //JJR + ); } - break; + } + break; - case IMG_DESCRIPTION_ID: + case IMG_POLYGON_ID: + { + if (OpSize >= sizeof(IMG_OP_POLYGON)) { - //No-op + IMG_OP_POLYGON * pP = &(pImage->Polygon); + cCmdResolveDrawingMode(pP->CopyOptions, &pixelMode, &fillMode); //JJR + // resolve all the values in the struct + for(int i=0;iCount; i++) { + pP->Points[i].X = (SWORD)(cCmdResolveValue(pP->Points[i].X)+Pt.X); + pP->Points[i].Y = (SWORD)(cCmdResolveValue(pP->Points[i].Y)+Pt.Y); + } + cCmdDrawPolygon(pP->Points, pP->Count, pixelMode, fillMode); } - break; + } + break; - default: + case IMG_DESCRIPTION_ID: + { + switch( pImage->Desc.Options ) { - //Unrecognized opcode, pass an error back to the user. - DStatus = ERR_FILE; + case DESC_FONTOUT : + cCmdDrawFont((IMG_OP_SPRITE*)cCmdGetIMGData(1), pImage->Desc.Width, + pImage->Desc.Height, Pt.X, Pt.Y, gFontDir, gFontWrap, gInvertMode, + gLogicalMode, gFillMode); + break; } - break; } + break; - DataSize -= OpSize; - pImage = (IMG_OP_UNION*) ((UBYTE*)pImage + OpSize); + default: + { + //Unrecognized opcode, pass an error back to the user. + DStatus = ERR_FILE; + } + break; } - pMapDisplay->UpdateMask |= SCREEN_BIT(SCREEN_BACKGROUND); + DataSize -= OpSize; + pImage = (IMG_OP_UNION*) ((UBYTE*)pImage + OpSize); } + gpPassedImgVars = NULL; + memset(gpImgData,0,sizeof(gpImgData)); + pMapDisplay->UpdateMask |= SCREEN_BIT(SCREEN_BACKGROUND); + return DStatus; +} - // Set return value, close file and return - *pReturnVal = DStatus; +void cCmdDrawPictureFromFile(UBYTE *pFilename, IMG_PT* pPoint, SLONG* pVars, ULONG Options, SBYTE * pReturnVal) +{ + LOADER_STATUS LStatus; + ULONG DataSize; + UBYTE ImageHandle; + IMG_OP_UNION * pImage; + + //Open the file in memory map mode. return if failure. + LStatus = pMapLoader->pFunc(OPENREADLINEAR, pFilename, (UBYTE*)(&pImage), &DataSize); + ImageHandle = LOADER_HANDLE(LStatus); + + //If error opening file, give up and write loader status back to user. + if (LOADER_ERR(LStatus) != SUCCESS || pImage == NULL) + { + *pReturnVal = (SBYTE)(LOADER_ERR_BYTE(LStatus)); + return; + } + //Else, start interpretting the file + else + { + *pReturnVal = cCmdDrawPictureHelper(&pImage, pPoint, pVars, DataSize, Options); + } pMapLoader->pFunc(CLOSE, &ImageHandle, NULL, NULL); +} + +//----------------------------------------------------------------- +//cCmdWrapDrawPicture +//ArgV[0]: (Function return) Status Byte, SBYTE +//ArgV[1]: Left Top (IMG_PT *) +//ArgV[2]: Filename, CStr +//ArgV[3]: Variables, array of I32 +//ArgV[4]: Options (ULONG) +NXT_STATUS cCmdWrapDrawPicture(UBYTE * ArgV[]) +{ + SBYTE * pReturnVal = (SBYTE *)ArgV[0]; + IMG_PT* pPt = (IMG_PT*)ArgV[1]; + ULONG Options = *(ULONG *)ArgV[4]; + + // count the variables + gPassedVarsCount = DV_ARRAY[*(DV_INDEX *)(ArgV[3])].Count; + + //Resolve array argument + ArgV[2] = (UBYTE*)cCmdDVPtr(*(DV_INDEX *)(ArgV[2])); + ArgV[3] = (UBYTE*)cCmdDVPtr(*(DV_INDEX *)(ArgV[3])); + + cCmdDrawPictureFromFile((UBYTE *)ArgV[2], pPt, (SLONG *)ArgV[3], Options, pReturnVal); + + return (NO_ERR); +} + +//----------------------------------------------------------------- +//cCmdWrapDrawPictureArray +//ArgV[0]: (Function return) Status Byte, SBYTE +//ArgV[1]: Left Top (IMG_PT *) +//ArgV[2]: Data, array of U8 +//ArgV[3]: Variables, array of I32 +//ArgV[4]: Options (ULONG) +NXT_STATUS cCmdWrapDrawPictureArray(UBYTE * ArgV[]) +{ + SBYTE * pReturnVal = (SBYTE *)ArgV[0]; + IMG_PT* pPt = (IMG_PT *)ArgV[1]; + DV_INDEX DVIndex = *(DV_INDEX*)ArgV[2]; + ULONG Options = *(ULONG *)ArgV[4]; + ULONG DataSize = DV_ARRAY[DVIndex].Count; + IMG_OP_UNION* pImage; + + // count the variables + gPassedVarsCount = DV_ARRAY[*(DV_INDEX *)(ArgV[3])].Count; + + //Resolve array argument + pImage = (IMG_OP_UNION*)cCmdDVPtr(DVIndex); + ArgV[3] = (UBYTE*)cCmdDVPtr(*(DV_INDEX *)(ArgV[3])); // pVar + + *pReturnVal = cCmdDrawPictureHelper((IMG_OP_UNION**)&pImage, pPt, (SLONG*)ArgV[3], DataSize, Options); return (NO_ERR); } //----------------------------------------------------------------- -// cCmdDrawLine - draw a line. All clipping is done by the set pixel function. +//cCmdWrapDrawFont +//ArgV[0]: (Function return) Status Byte, SBYTE +//ArgV[1]: Left Top (IMG_PT *) +//ArgV[2]: FontFilename, CStr +//ArgV[3]: Text, CStr +//ArgV[4]: Options (ULONG) +NXT_STATUS cCmdWrapDrawFont(UBYTE * ArgV[]) +{ + SBYTE * pReturnVal = (SBYTE *)ArgV[0]; + IMG_PT * pPt = (IMG_PT*)ArgV[1]; + ULONG Options = *(ULONG *)ArgV[4]; + + // count the number of characters + gPassedVarsCount = DV_ARRAY[*(DV_INDEX *)(ArgV[3])].Count; + + //Resolve array arguments + ArgV[2] = (UBYTE*)cCmdDVPtr(*(DV_INDEX *)(ArgV[2])); + ArgV[3] = (UBYTE*)cCmdDVPtr(*(DV_INDEX *)(ArgV[3])); + + if (strlen((PSZ)ArgV[2]) == 0) { + // if font filename is empty then use draw text instead + cCmdDrawTextHelper(Options, ArgV[3], pPt); + // Set return value + *pReturnVal = NO_ERR; + return NO_ERR; + } + else + { + // count the variables + gPassedVarsCount = MIN(strlen((PSZ)ArgV[3]), 256); + // copy data from input string into SLONG* array + SLONG Vars[256]; + for(int i=0; i<256;i++) { + if (i < gPassedVarsCount) + Vars[i] = ArgV[3][i]; + else + Vars[i] = 0; + } + cCmdDrawPictureFromFile((UBYTE *)ArgV[2], pPt, (SLONG*)Vars, Options, pReturnVal); + return (NO_ERR); + } +} + +//----------------------------------------------------------------- +// cCmdDrawLine - draw a line. Line is clipped to screen boundaries. void cCmdDrawLine( SLONG x1, SLONG y1, SLONG x2, - SLONG y2) -{ - SLONG d,x,y,ax,ay,sx,sy,dx,dy; - - // Initialize variables - dx = x2-x1; ax = ABS(dx)<<1; sx = SGN(dx); - dy = y2-y1; ay = ABS(dy)<<1; sy = SGN(dy); - x = x1; - y = y1; - if (ax>ay) - { /* x dominant */ - d = ay-(ax>>1); - for (;;) + SLONG y2, + UBYTE PixelMode) //JJR +{ + SLONG tx, ty; //JJR + SLONG dx, dy; //JJR + + dx = x2-x1; //JJR + dy = y2-y1; //JJR + + //Clip line ends vertically - easier if y1 y2) {tx=x1; x1=x2; x2=tx; + ty=y1; y1=y2; y2=ty;} + + //Is line completely off screen? + if (y2<0 || y1>=DISPLAY_HEIGHT) return; + + //Trim y1 end: + if (y1 < 0) + { + if (dx && dy) + x1 = x1 + (((0-y1)*dx)/dy); + y1 = 0; + } + //Trim y2 end: + if (y2 > DISPLAY_HEIGHT-1) + { + if (dx && dy) + x2 = x2 - (((y2-(DISPLAY_HEIGHT-1))*dx)/dy); + y2 = DISPLAY_HEIGHT-1; + } + + //Clip horizontally - easier if x1 x2) {tx=x1; x1=x2; x2=tx; + ty=y1; y1=y2; y2=ty;} + + //Is line completely off screen? + if (x2<0 || x1>=DISPLAY_WIDTH) return; + + //Trim x1 end: + if (x1 < 0) { - cCmdSetPixel(x, y, TRUE); - if (x==x2) - return; - if (d>=0) - { - y += sy; - d -= ax; - } - x += sx; - d += ay; + if (dx && dy) + y1 = y1 + (((0-x1)*dy)/dx); + x1 = 0; } - } - else - { /* y dominant */ - d = ax-(ay>>1); - for (;;) + //Trim x2 end: + if (x2 > DISPLAY_WIDTH-1) { - cCmdSetPixel(x, y, TRUE); - if (y==y2) - return; - if (d>=0) + if (dx && dy) + y2 = y2 - (((x2-(DISPLAY_WIDTH-1))*dy)/dx); + x2 = DISPLAY_WIDTH-1; + } + + if (x1 == x2) { + // vertical line or a single point + if (y1 == y2) + //cCmdSetPixel(x1, y1, Set); //JJR + pMapDisplay->pFunc(DISPLAY_PIXEL, (UBYTE)PixelMode, (UBYTE)x1, (UBYTE)TRANSLATE_Y(y1), 0, 0); //JJR + else + { + //pMapDisplay->pFunc(DISPLAY_VERTICAL_LINE, Set, x1, TRANSLATE_Y(y1), 0, TRANSLATE_Y(y2)); //JJR + pMapDisplay->pFunc(DISPLAY_VERTICAL_LINE, PixelMode, x1, TRANSLATE_Y(y1), 0, TRANSLATE_Y(y2)); //JJR + } + } + else if (y1 == y2) { + + // horizontal line (single point already dealt with) + pMapDisplay->pFunc(DISPLAY_HORIZONTAL_LINE, PixelMode, x1, TRANSLATE_Y(y1), x2, 0); //JJR + } + else { + SLONG d,x,y,ax,ay,sx,sy,dx,dy; + // Initialize variables + dx = x2-x1; ax = ABS(dx)<<1; sx = SGN(dx); + dy = y2-y1; ay = ABS(dy)<<1; sy = SGN(dy); + x = x1; + y = y1; + if (ax>ay) + { // x dominant + d = ay-(ax>>1); + for (;;) { + //cCmdSetPixel(x, y, Set); //JJR + pMapDisplay->pFunc(DISPLAY_PIXEL, (UBYTE)PixelMode, (UBYTE)x, (UBYTE)TRANSLATE_Y(y), 0, 0); //JJR + if (x==x2) + return; + if (d>=0) + { + y += sy; + d -= ax; + } x += sx; - d -= ay; + d += ay; + } + } + else + { // y dominant + d = ax-(ay>>1); + for (;;) + { + //cCmdSetPixel(x, y, Set); //JJR + pMapDisplay->pFunc(DISPLAY_PIXEL, (UBYTE)PixelMode, (UBYTE)x, (UBYTE)TRANSLATE_Y(y), 0, 0); //JJR + if (y==y2) + return; + if (d>=0) + { + x += sx; + d -= ay; + } + y += sy; + d += ax; } - y += sy; - d += ax; } } } //----------------------------------------------------------------- -// cCmdDrawRect - draw a rectangle. All clipping is done by the set pixel function. +// cCmdDrawRect - draw a rectangle. void cCmdDrawRect( SLONG left, SLONG bottom, SLONG width, - SLONG height) + SLONG height, + UBYTE PixelMode, //JJR + UBYTE FillMode) //JJR +{ + SLONG x1, y1; + SLONG x2, y2; + SLONG t; + + x1 = left; + x2 = left + width; +/* + if (width > 0) + x2 = left + width - 1; + else if (width < 0) + x2 = left + width + 1; + else + x2 = x1; +*/ + y1 = bottom; + y2 = bottom + height; +/* + if (height > 0) + y2 = bottom + height - 1; + else if (height < 0) + y2 = bottom + height + 1; + else + y2 = y1; +*/ + + if (x1>x2) {t = x1; x1 = x2; x2 = t;} + if (y1>y2) {t = y1; y1 = y2; y2 = t;} + + if (y2 == y1 || x2 == x1) { + // height == 0 so draw a single pixel horizontal line OR + // width == 0 so draw a single pixel vertical line + cCmdDrawLine(x1, y1, x2, y2, PixelMode); + return; + } + // rectangle has abs(width) or abs(height) >= 1 + if (FillMode == DRAW_SHAPE_FILLED) + { + if (x2<0 || y2<0 || x1>DISPLAY_WIDTH-1 || y1>DISPLAY_HEIGHT-1) return; + if (x1<0) x1=0; + if (y1<0) y1=0; + if (x2>DISPLAY_WIDTH-1) x2=DISPLAY_WIDTH-1; + if (y2>DISPLAY_HEIGHT-1) y2=DISPLAY_HEIGHT-1; + pMapDisplay->pFunc(DISPLAY_FILL_REGION, PixelMode, x1, TRANSLATE_Y(y2), x2-x1+1, y2-y1+1); + } + else + { + //Use the full line drawing functions rather than horizontal/vertical + //functions so these get clipped properly. These will fall straight + //through to the faster functions anyway. + //Also don't re-draw parts of slim rectangles since XOR might be on. + + cCmdDrawLine(x1, y1, x2, y1, PixelMode); + if (y2>y1) + { + cCmdDrawLine(x1, y2, x2, y2, PixelMode); + if (y2 > y1+1) + { + cCmdDrawLine(x2, y1+1, x2, y2-1, PixelMode); + if (x2>x1) + cCmdDrawLine(x1, y1+1, x1, y2-1, PixelMode); + } + } + } + +} + +void cCmdDrawPolygon(IMG_PT* points, UWORD polyCorners, UBYTE PixelMode, UBYTE FillMode) { - SLONG right = left + width; - SLONG top = bottom + height; + if (FillMode == DRAW_SHAPE_FILLED) + { + int nodes; + int nodeX[MAX_CORNERS]; + int pixelY; + int i, j; + int swap; + int IMAGE_TOP = -1; + int IMAGE_BOTTOM = 1024; + int IMAGE_RIGHT = -1; + int IMAGE_LEFT = 1024; + // calculate maximum and minimum X and Y coordinate values + for(i=0;iIMAGE_TOP) IMAGE_TOP = tmpY; + if (tmpYIMAGE_RIGHT) IMAGE_RIGHT = tmpX; + if (tmpX=pixelY) || + (pJ.Y=pixelY)) { + nodeX[nodes++]=(pI.X+(pixelY-pI.Y)*(pJ.X-pI.X)/(pJ.Y-pI.Y)); + } + j=i; + } + + // Sort the nodes, via a simple “Bubble” sort. + i=0; + while (inodeX[i+1]) { + swap=nodeX[i]; + nodeX[i]=nodeX[i+1]; + nodeX[i+1]=swap; + if (i) i--; + } + else + i++; + } - // Draw the four line segments - cCmdDrawLine(left, top, right, top); - cCmdDrawLine(right, top, right, bottom); - cCmdDrawLine(right, bottom, left, bottom); - cCmdDrawLine(left, bottom, left, top); + // Fill the pixels between node pairs. + for (i=0; i=IMAGE_RIGHT) break; + if (nodeX[i+1]> IMAGE_LEFT) { + if (nodeX[i ]< IMAGE_LEFT) nodeX[i ]=IMAGE_LEFT; + if (nodeX[i+1]> IMAGE_RIGHT) nodeX[i+1]=IMAGE_RIGHT; + cCmdDrawLine(nodeX[i], pixelY, nodeX[i+1], pixelY, PixelMode); + } + } + } + } + else + { + for(int i = 0, j = polyCorners-1; i=0 && x<=a) + { + if (FillMode != DRAW_SHAPE_FILLED) + { + cCmdSetPixel(xc+x, yc+y, PixelMode); + if (x!=0 || y!=0) + cCmdSetPixel(xc-x, yc-y, PixelMode); + if (x!=0 && y!=0) + { + cCmdSetPixel(xc+x, yc-y, PixelMode); + cCmdSetPixel(xc-x, yc+y, PixelMode); + } + } + if (t + b2*x <= crit1 || /* e(x+1,y-1/2) <= 0 */ + t + a2*y <= crit3) /* e(x+1/2,y) <= 0 */ + { + if (FillMode == DRAW_SHAPE_FILLED) + { + if (height == 1) + ; /* draw nothing */ + else if (ry*2+1 > (height-1)*2) + { + cCmdDrawRect(xc-rx, yc-ry, width-1, height-1, PixelMode, FillMode); + cCmdDrawRect(xc-rx, yc+ry, width-1, -(height-1), PixelMode, FillMode); + ry -= height-1; + height = 1; + } + else + { + cCmdDrawRect(xc-rx, yc-ry, width-1, ry*2, PixelMode, FillMode); + ry -= ry; + height = 1; + } + rx++; + width += 2; + } + x++; + dxt += d2xt; + t += dxt; + } + else if (t - a2*y > crit2) /* e(x+1/2,y-1) > 0 */ + { + y--; + dyt += d2yt; + t += dyt; + if (FillMode == DRAW_SHAPE_FILLED) + height++; + } + else + { + if (FillMode == DRAW_SHAPE_FILLED) + { + if (ry*2+1 > height*2) + { + cCmdDrawRect(xc-rx, yc-ry, width-1, height-1, PixelMode, FillMode); + cCmdDrawRect(xc-rx, yc+ry, width-1, -(height-1), PixelMode, FillMode); + } + else + { + cCmdDrawRect(xc-rx, yc-ry, width-1, ry*2, PixelMode, FillMode); + } + width += 2; + ry -= height; + height = 1; + rx++; + } + x++; + dxt += d2xt; + t += dxt; + y--; + dyt += d2yt; + t += dyt; + } + } + if (FillMode == DRAW_SHAPE_FILLED) + { + if (ry > height) { + cCmdDrawRect(xc-rx, yc-ry, width-1, height-1, PixelMode, FillMode); + cCmdDrawRect(xc-rx, yc+ry, width-1, -(height-1), PixelMode, FillMode); + } + else { + cCmdDrawRect(xc-rx, yc-ry, width-1, ry*2, PixelMode, FillMode); + } + } +} + +//----------------------------------------------------------------- +// cCmdDrawCircle - draw a circle. All clipping is done by the set pixel function. +//void cCmdDrawCircle(SLONG cx, SLONG cy, SLONG radius, UBYTE Set) //JJR +void cCmdDrawCircle(SLONG cx, SLONG cy, SLONG radius, UBYTE PixelMode, UBYTE FillMode) //JJR +{ + cCmdDrawEllipse(cx, cy, radius, radius, PixelMode, FillMode); +} +/* +//----------------------------------------------------------------- +// cCmdDrawCircle - draw a circle. All clipping is done by the set pixel function. +//void cCmdDrawCircle(SLONG cx, SLONG cy, SLONG radius, UBYTE Set) //JJR +void cCmdDrawCircle(SLONG cx, SLONG cy, SLONG radius, UBYTE PixelMode, UBYTE FillMode) //JJR +{ + SLONG f, ddF_x, ddF_y, x, y; + SLONG ox, oy; //JJR + + f = 1 - radius; + ddF_x = 0; + ddF_y = -2 * radius; + x = 0; + y = abs(radius); //JJR + +//JJR + if (y==0) + { + cCmdSetPixel(cx, cy + radius, PixelMode); + return; + } + + if (FillMode == DRAW_SHAPE_FILLED) + { + cCmdDrawLine(cx-radius, cy, cx+radius, cy, PixelMode); + } + else + { + cCmdSetPixel(cx + radius, cy, PixelMode); + cCmdSetPixel(cx - radius, cy, PixelMode); + } + + if (FillMode != DRAW_SHAPE_FILLED || y==1) + { + cCmdSetPixel(cx, cy + radius, PixelMode); + cCmdSetPixel(cx, cy - radius, PixelMode); + } + + if (y==1) return; + + + while (x < y) + { + ox = x; //JJR + oy = y; //JJR + if(f >= 0) + { + y--; + ddF_y += 2; + f += ddF_y; + } + x++; + ddF_x += 2; + f += ddF_x + 1; + +//JJR + //Need to avoid duplicating pixels if drawing with XOR: + + if (FillMode == DRAW_SHAPE_FILLED) + { + //Fill by drawing successive horizontal lines above and below + //a horizontal centre line. + if (x <= y) + { + cCmdDrawLine(cx-y, cy+x, cx+y, cy+x, PixelMode); + cCmdDrawLine(cx-y, cy-x, cx+y, cy-x, PixelMode); + } + //Only draw horizontal lines from the top and bottom if: + //i. The line doesn't overlap with the one just drawn, and the top + // curve has just stepped down a pixel or: + //ii. A line wasn't just drawn and the loop is about to exit. + if ((xy && oxOpCode!=IMG_SPRITE_ID) @@ -750,17 +1447,56 @@ void cCmdCopyBitMapBits( for (dy = dst_y; dy > last_y; dy--) { sx = src_x; - bit_y = masks[7 - (dy & 0x07)]; - not_bit_y = ~ bit_y; + bit_y = masks[7 - (dy & 0x07)]; + // not_bit_y = ~ bit_y; //JJR pDstByte = pFirstDstByte; pLastDstByte = pDstByte + (last_x - dst_x); for (; pDstByte < pLastDstByte; pDstByte++) { - if ( *(pSrcByte + (sx >> 3)) & masks[sx & 0x07] ){ - *pDstByte |= bit_y; - } else { - *pDstByte &= not_bit_y; + //Read source byte: + //If fill mode is on, pretend the source bitmap is solid: + if (FillMode==DRAW_SHAPE_FILLED) + srcByte = 0xff; + else + srcByte = *(pSrcByte + (sx >> 3)); //JJR + + //If invert mode is on, invert the source byte: + if (InvertMode==DRAW_BITMAP_INVERT) srcByte = ~srcByte; //JJR + + //Test the pixel in the source byte: + if ( srcByte & masks[sx & 0x07] ) //JJR + { + //If pixel is set in source image: + switch (LogicalMode) + { + case DRAW_LOGICAL_AND: + break; + case DRAW_LOGICAL_XOR: + *pDstByte ^= bit_y; + break; + case DRAW_LOGICAL_OR: + case DRAW_LOGICAL_COPY: + default: + *pDstByte |= bit_y; + break; + } } + else + { + //If pixel is clear in source image: + switch (LogicalMode) + { + case DRAW_LOGICAL_OR: + case DRAW_LOGICAL_XOR: + break; + case DRAW_LOGICAL_AND: + case DRAW_LOGICAL_COPY: + default: + *pDstByte &= ~bit_y; + break; + } + } +//JJR sx ++; } pSrcByte -= rowbytes; @@ -772,15 +1508,15 @@ void cCmdCopyBitMapBits( } //----------------------------------------------------------------- -// cCmdSetPixel - Set or clear a pixel based on Val -void cCmdSetPixel(SLONG X, SLONG Y, ULONG Val) +// cCmdSetPixel - Set, clear or invert a pixel based on PixelMode +void cCmdSetPixel(SLONG X, SLONG Y, ULONG PixelMode) { Y = TRANSLATE_Y(Y); - pMapDisplay->pFunc(DISPLAY_PIXEL, (UBYTE)Val, (UBYTE)X, (UBYTE)Y, 0, 0); + if (X>=0 && X=0 && YpFunc(DISPLAY_PIXEL, (UBYTE)PixelMode, (UBYTE)X, (UBYTE)Y, 0, 0); } - //----------------------------------------------------------------- //cCmdWrapSetScreenMode //ArgV[0]: (Function return) Status code, SBYTE @@ -791,27 +1527,68 @@ NXT_STATUS cCmdWrapSetScreenMode(UBYTE * ArgV[]) if (ScreenMode == RESTORE_NXT_SCREEN) { cCmdRestoreDefaultScreen(); } + else if (ScreenMode == CLEAR_NXT_SCREEN) { + pMapDisplay->pFunc(DISPLAY_ERASE_ALL, 0, 0, 0, 0, 0); + } // Set return value *(SBYTE*)(ArgV[0]) = NO_ERR; return NO_ERR; } -//------------------------------------------------------------------ -// cCmdClearScreenIfNeeded - Clear entire sceen buffer if explicitly requested or implicitly required. -void cCmdClearScreenIfNeeded(ULONG DrawOptions) +void cDirtyDisplay(ULONG* DrawOptions) { - //If we are the first drawing command, clear the screen and record that we've done so + //If we are the first drawing command mark the display as dirty if (VarsCmd.DirtyDisplay == FALSE) { VarsCmd.DirtyDisplay = TRUE; pMapUi->Flags &= ~UI_ENABLE_STATUS_UPDATE; - - //Override DrawOptions because we have to clear anyway - DrawOptions = DRAW_OPT_CLEAR_WHOLE_SCREEN; + + if (DrawOptions) { + //Override DrawOptions because we have to clear anyway + *DrawOptions = DRAW_OPT_CLEAR_WHOLE_SCREEN; + } } +} + +// +//cCmdWrapDisplayExecuteFunction +//ArgV[0]: (return) Status byte, SBYTE +//ArgV[1]: UBYTE Cmd +//ArgV[2]: UBYTE On +//ArgV[3]: UBYTE X1 +//ArgV[4]: UBYTE Y1 +//ArgV[5]: UBYTE X2 +//ArgV[6]: UBYTE Y2 +// +NXT_STATUS cCmdWrapDisplayExecuteFunction(UBYTE * ArgV[]) +{ + cDirtyDisplay(NULL); + UBYTE Cmd = *(UBYTE*)(ArgV[1]); + UBYTE Y1 = *(UBYTE*)(ArgV[4]); + UBYTE Y2 = *(UBYTE*)(ArgV[6]); + if (Cmd != DISPLAY_CHAR) + Y1 = TRANSLATE_Y(Y1); + if (Cmd == DISPLAY_VERTICAL_LINE) + Y2 = TRANSLATE_Y(Y2); + pMapDisplay->pFunc(Cmd, + *(UBYTE*)(ArgV[2]), + *(UBYTE*)(ArgV[3]), + Y1, + *(UBYTE*)(ArgV[5]), + Y2); + *(SBYTE*)(ArgV[0]) = NO_ERR; + return (NO_ERR); +} + + +//------------------------------------------------------------------ +// cCmdClearScreenIfNeeded - Clear entire sceen buffer if explicitly requested or implicitly required. +void cCmdClearScreenIfNeeded(ULONG DrawOptions) +{ + cDirtyDisplay(&DrawOptions); - if (DRAW_OPT_CLEAR_MODE(DrawOptions)) + if (cCmdResolveClearScreenMode(DrawOptions)) { pMapDisplay->pFunc(DISPLAY_ERASE_ALL, 0, 0, 0, 0, 0); @@ -827,10 +1604,12 @@ void cCmdClearScreenIfNeeded(ULONG DrawOptions) // Properly uses 'Normal' display buffer to avoid conflicts with popup buffer // Clips text at bottom and right hand edges of the screen buffer //!!! Function copied and modified from cDisplayString -void cCmdDrawString(UBYTE *pString, ULONG X, ULONG Y) +//void cCmdDrawString(UBYTE *pString, ULONG X, ULONG Y) //JJR +void cCmdDrawString(UBYTE *pString, ULONG X, ULONG Y, UBYTE InvertMode, UBYTE LogicalMode, UBYTE FillMode) //JJR { UBYTE *pSource; UBYTE *pDestination; + UBYTE a; FONT *pFont; ULONG FontWidth; ULONG Items; @@ -868,7 +1647,37 @@ void cCmdDrawString(UBYTE *pString, ULONG X, ULONG Y) pSource = (UBYTE*)&(pFont->Data[Item * FontWidth]); while (FontWidth--) { - *pDestination = *pSource; +//JJR +// *pDestination = *pSource; + + //Fetch a byte from the source bitmap: + //If fill mode is on, pretend the source bitmap is solid: + if (FillMode==DRAW_SHAPE_FILLED) + a = 0xff; + else + a = *pSource; + + //Implement bitmap invert mode: + if (InvertMode==DRAW_BITMAP_INVERT) a = ~a; + + //Implement bitmap logical mode when writing on screen: + switch (LogicalMode) + { + case DRAW_LOGICAL_OR: + *pDestination |= a; + break; + case DRAW_LOGICAL_AND: + *pDestination &= a; + break; + case DRAW_LOGICAL_XOR: + *pDestination ^= a; + break; + case DRAW_LOGICAL_COPY: + default: + *pDestination = a; + break; + } +//JJR pDestination++; pSource++; } @@ -879,7 +1688,7 @@ void cCmdDrawString(UBYTE *pString, ULONG X, ULONG Y) //------------------------------------------------------------------ // cCmdRestoreDefaultScreen - Restore to Default 'Running' screen -void cCmdRestoreDefaultScreen(void) +__ramfunc void cCmdRestoreDefaultScreen(void) { //If this program has taken over the display, reset it for the UI if (VarsCmd.DirtyDisplay == TRUE) @@ -891,4 +1700,338 @@ void cCmdRestoreDefaultScreen(void) pMapUi->Flags |= UI_ENABLE_STATUS_UPDATE | UI_REDRAW_STATUS; } + // restore default display state + pMapDisplay->Display = (UBYTE*)pMapDisplay->Normal; + pMapDisplay->Flags = DISPLAY_REFRESH | DISPLAY_ON; } + +//------------------------------------------------------------------ +// cCmdResolveDrawingMode - extract the parameters that affect pixel, line and shape +// drawing from the 'DrawingOptions' or 'CopyOptions' parameter. +// Return FALSE for combinations that do nothing. + +UBYTE cCmdResolveDrawingMode(UWORD DrawingOptions, UBYTE* pPixelMode, UBYTE* pFillMode) +{ + DrawingOptions = cCmdResolveValue(DrawingOptions); + // Extract shape fill option: + if (DrawingOptions & DRAW_OPT_FILL_SHAPE) + *pFillMode = DRAW_SHAPE_FILLED; + else + *pFillMode = DRAW_SHAPE_HOLLOW; + + // Extract pixel drawing options: + if (DrawingOptions & DRAW_OPT_INVERT) + { + //Drawing with white pixels: + switch (DrawingOptions & DRAW_OPT_LOGICAL_OPERATIONS) + { + //Only these cases do anything: + case DRAW_OPT_LOGICAL_COPY: + case DRAW_OPT_LOGICAL_AND: + *pPixelMode = DRAW_PIXELS_CLEAR; + return TRUE; + default: + break; + } + } + else + { + //Drawing with black pixels: + switch (DrawingOptions & DRAW_OPT_LOGICAL_OPERATIONS) + { + //Only these cases do anything: + case DRAW_OPT_LOGICAL_COPY: + case DRAW_OPT_LOGICAL_OR: + *pPixelMode = DRAW_PIXELS_SET; + return TRUE; + case DRAW_OPT_LOGICAL_XOR: + *pPixelMode = DRAW_PIXELS_INVERT; + return TRUE; + default: + break; + } + } + + // If no operation is required, set defaults and return FALSE. + // e.g. 'AND' on its own is meaningless for line drawing, + // 'INVERT + OR' and 'INVERT + XOR' do nothing either. + + *pPixelMode = DRAW_PIXELS_SET; + *pFillMode = DRAW_SHAPE_HOLLOW; + return FALSE; +} + +//------------------------------------------------------------------ +// cCmdResolveBitmapMode - extract the parameters that affect bitmap and text +// drawing from the 'DrawingOptions' or 'CopyOptions' parameter. +void cCmdResolveBitmapMode(UWORD DrawingOptions, UBYTE* pInvertMode, UBYTE* pLogicalMode, UBYTE* pFillMode) +{ + DrawingOptions = cCmdResolveValue(DrawingOptions); + //Extract bitmap inversion mode: + if (DrawingOptions & DRAW_OPT_INVERT) + *pInvertMode = DRAW_BITMAP_INVERT; + else + *pInvertMode = DRAW_BITMAP_PLAIN; + + //Extract bitmap logical operation: + switch (DrawingOptions & DRAW_OPT_LOGICAL_OPERATIONS) + { + case DRAW_OPT_LOGICAL_OR: + *pLogicalMode = DRAW_LOGICAL_OR; + break; + case DRAW_OPT_LOGICAL_AND: + *pLogicalMode = DRAW_LOGICAL_AND; + break; + case DRAW_OPT_LOGICAL_XOR: + *pLogicalMode = DRAW_LOGICAL_XOR; + break; + case DRAW_OPT_LOGICAL_COPY: + default: + *pLogicalMode = DRAW_LOGICAL_COPY; + break; + } + + // Extract shape fill option (overrides source bitmap with all pixels set): + if (DrawingOptions & DRAW_OPT_FILL_SHAPE) + *pFillMode = DRAW_SHAPE_FILLED; + else + *pFillMode = DRAW_SHAPE_HOLLOW; + +} + +//------------------------------------------------------------------ +// cCmdResolveFontOptions - extract the parameters that affect custom RIC font drawing +// drawing from the 'DrawingOptions' parameter. +void cCmdResolveFontOptions(UWORD DrawingOptions, UBYTE* pFontDir, UBYTE* pFontWrap) +{ + //Extract bitmap inversion mode: + if (DrawingOptions & DRAW_OPT_FONT_WRAP) + *pFontWrap = DRAW_FONT_WRAP_ON; + else + *pFontWrap = DRAW_FONT_WRAP_OFF; + + //Extract bitmap logical operation: + switch (DrawingOptions & DRAW_OPT_FONT_DIRECTIONS) + { + case DRAW_OPT_FONT_DIR_L2RB: + *pFontDir = DRAW_FONT_DIR_L2RB; + break; + case DRAW_OPT_FONT_DIR_L2RT: + *pFontDir = DRAW_FONT_DIR_L2RT; + break; + case DRAW_OPT_FONT_DIR_R2LB: + *pFontDir = DRAW_FONT_DIR_R2LB; + break; + case DRAW_OPT_FONT_DIR_R2LT: + *pFontDir = DRAW_FONT_DIR_R2LT; + break; + case DRAW_OPT_FONT_DIR_B2TL: + *pFontDir = DRAW_FONT_DIR_B2TL; + break; + case DRAW_OPT_FONT_DIR_B2TR: + *pFontDir = DRAW_FONT_DIR_B2TR; + break; + case DRAW_OPT_FONT_DIR_T2BL: + *pFontDir = DRAW_FONT_DIR_T2BL; + break; + case DRAW_OPT_FONT_DIR_T2BR: + *pFontDir = DRAW_FONT_DIR_T2BR; + break; + default: + *pFontDir = DRAW_FONT_DIR_L2RB; + break; + } +} + +//------------------------------------------------------------------ +// cCmdResolveClearScreenMode - extract the parameters that affect screen clearing +// from the 'DrawingOptions' parameter. +UBYTE cCmdResolveClearScreenMode(UWORD DrawingOptions) +{ + if (DrawingOptions & DRAW_OPT_CLEAR_SCREEN_MODES) + return TRUE; + else + return FALSE; +} +//JJR + +void cCmdDrawFont(IMG_OP_SPRITE *pSprite, SLONG sW, SLONG sH, SLONG startx, SLONG starty, + UBYTE fontDir, UBYTE fontWrap, UBYTE invertMode, UBYTE logicalMode, UBYTE fillMode) +{ + SWORD index; // index on id for output + SWORD xpos; // x-position for next output + SWORD ypos; // y-position for next output + SLONG sourcex; // X-Pos of pattern inside bitmap + SLONG sourcey; // Y-Pos of pattern inside bitmap + SLONG sourcew; // Width of pattern inside bitmap + SLONG sourceh; // Height of pattern inside bitmap + int destx; // X-Destination position on screen + int desty; // Y-Destination position on screen + SWORD stdw; // Standard font width + SWORD stdh; // Standard font height + + if (!gpPassedImgVars) // exit early if we do not have parameters + return; + + stdw = MIN( sW, DISPLAY_WIDTH ); // calculate the standard width + stdh = MIN( sH, DISPLAY_HEIGHT ); // calculate the standard height + + index=0; // Reset the start position + xpos=startx; // Initial start position X + ypos=starty; // Initial start position Y + + while( index < gPassedVarsCount ) + { + // terminate the loop at our first null + if (gpPassedImgVars[index] == 0) + break; + sourcex=cCmdResolveValue(0xF200|index); // Get dynamic xpos of pattern + sourcey=cCmdResolveValue(0xF300|index); // Get dynamic ypos of pattern + sourcew=cCmdResolveValue(0xF400|index); // Get dynamic width of pattern + sourceh=cCmdResolveValue(0xF500|index); // Get dynamic height of pattern + + //--Calculate the rectangle for source (inside the sprite) and destination + //--on the screen (related to the fontdirection) for performing the + //--BitCopy function + + switch( fontDir ) + { + case DRAW_FONT_DIR_L2RB : // Left to right with bottom align---------------- + + if( fontWrap ) + { + if( ( xpos + sourcew ) > DISPLAY_WIDTH ) + { + xpos = startx; + ypos -= stdh; + } + } + + destx = xpos; + desty = ypos; + xpos = xpos + sourcew; + + break; + + case DRAW_FONT_DIR_L2RT : // Left to right with align to top---------------- + + if( fontWrap ) + { + if( ( xpos + sourcew ) > DISPLAY_WIDTH ) + { + xpos = startx; + ypos += stdh; + } + } + + destx = xpos; + desty = ypos - sourceh + 1; + xpos = xpos + sourcew; + break; + + case DRAW_FONT_DIR_R2LB : // Right to left with align to bottom------------- + + if( fontWrap ) + { + if( ( xpos - sourcew ) < 0 ) + { + xpos = startx; + ypos -= stdh; + } + } + + destx = xpos - sourcew + 1; + desty = ypos; + xpos = xpos - sourcew; + break; + + case DRAW_FONT_DIR_R2LT : // Right to left with align to top---------------- + + if( fontWrap ) + { + if( ( xpos - sourcew ) < 0 ) + { + xpos = startx; + ypos += stdh; + } + } + + destx = xpos - sourcew + 1; + desty = ypos - sourceh + 1; + xpos = xpos - sourcew; + break; + + case DRAW_FONT_DIR_B2TL : // Bottom to top with allign to left-------------- + + if( fontWrap ) + { + if( ( ypos + sourceh ) > DISPLAY_HEIGHT ) + { + xpos += stdw; + ypos = starty; + } + } + + destx = xpos; + desty = ypos; + ypos = ypos + sourceh; + break; + + case DRAW_FONT_DIR_B2TR : // Bottom to top with allign to right------------- + + if( fontWrap ) + { + if( ( ypos + sourceh ) > DISPLAY_HEIGHT ) + { + xpos -= stdw; + ypos = starty; + } + } + + destx = xpos - sourcew + 1; + desty = ypos; + ypos = ypos + sourceh; + break; + + case DRAW_FONT_DIR_T2BL : // Top to bottom with allign to right------------- + + if( fontWrap ) + { + if( ( ypos - sourceh ) < 0 ) + { + xpos += stdw; + ypos = starty; + } + } + + destx = xpos; + desty = ypos - sourceh + 1; + ypos = ypos - sourceh; + break; + + case DRAW_FONT_DIR_T2BR : // Top to bottom with allign to right------------- + + if( fontWrap ) + { + if( ( ypos - sourceh ) < 0 ) + { + xpos -= stdw; + ypos = starty; + } + } + + destx = xpos - sourcew + 1; + desty = ypos - sourceh + 1; + ypos = ypos - sourceh; + break; + } + + //--Output of the calculated pattern to the screen------------------------ + cCmdCopyBitMapBits(destx, desty, sourcex, sourcey, sourcew, sourceh, + pSprite, invertMode, logicalMode, fillMode); + + // move on to next character + index++; + } +} + -- cgit v1.2.3 From 3edfd4bea9f7b657152905147d259cf52b571593 Mon Sep 17 00:00:00 2001 From: jhansen Date: Thu, 6 May 2010 22:50:29 +0000 Subject: Added a polyline drawing option which makes it so that unfilled polygon's will be drawn as polylines instead (i.e., unclosed) git-svn-id: https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc_128/trunk@14 c9361245-7fe8-9947-84e8-057757c4e366 --- AT91SAM7S256/SAM7S256/Tools/LMS_ARM.dep | 2712 ++++++++++----------- AT91SAM7S256/SAM7S256/Tools/settings/LMS_ARM.wsdt | 6 +- AT91SAM7S256/Source/c_cmd_drawing.inc | 70 +- 3 files changed, 1402 insertions(+), 1386 deletions(-) (limited to 'AT91SAM7S256/Source/c_cmd_drawing.inc') diff --git a/AT91SAM7S256/SAM7S256/Tools/LMS_ARM.dep b/AT91SAM7S256/SAM7S256/Tools/LMS_ARM.dep index b3bfbe7..9517379 100644 --- a/AT91SAM7S256/SAM7S256/Tools/LMS_ARM.dep +++ b/AT91SAM7S256/SAM7S256/Tools/LMS_ARM.dep @@ -7,165 +7,179 @@ Benchmark $PROJ_DIR$\..\..\Source\c_cmd.c + $TOOLKIT_DIR$\inc\string.h + $PROJ_DIR$\..\..\Source\RCXintro_4.txt + $PROJ_DIR$\..\..\Source\stdconst.h + $PROJ_DIR$\..\Include\AT91SAM7S256.h + $PROJ_DIR$\..\..\Source\d_display.r + $PROJ_DIR$\..\..\Source\RCXintro_1.txt + $PROJ_DIR$\..\..\Source\RCXintro_9.txt + $TOOLKIT_DIR$\inc\xmtx.h + $PROJ_DIR$\Benchmark\Obj\d_input.r79 + $PROJ_DIR$\..\..\Source\m_sched.h + $PROJ_DIR$\..\..\Source\BtTest.inc + $PROJ_DIR$\Benchmark\Obj\d_timer.r79 + $TOOLKIT_DIR$\inc\DLib_Threads.h + $TOOLKIT_DIR$\inc\xencoding_limits.h + $TOOLKIT_DIR$\inc\wchar.h + $PROJ_DIR$\Benchmark\Obj\c_lowspeed.r79 + $TOOLKIT_DIR$\inc\time.h + $PROJ_DIR$\..\..\Source\d_button.h + $PROJ_DIR$\Benchmark\Obj\Cstartup.r79 + $PROJ_DIR$\..\Include\sam7s256.h + $TOOLKIT_DIR$\inc\stdbool.h + $PROJ_DIR$\..\..\Source\c_ioctrl.h + $PROJ_DIR$\..\..\Source\c_ui.iom + $PROJ_DIR$\..\..\Source\d_lowspeed.h + $PROJ_DIR$\..\..\Source\c_loader.h + $PROJ_DIR$\..\..\Source\d_output.h + $PROJ_DIR$\..\..\Source\d_ioctrl.r + $PROJ_DIR$\..\..\Source\RCXintro_6.txt + $PROJ_DIR$\..\Include\sam7s256.c + $PROJ_DIR$\Benchmark\Obj\d_button.pbi + $PROJ_DIR$\..\..\Source\c_cmd.h + $PROJ_DIR$\Benchmark\Exe\LMS_ARM.d79 $PROJ_DIR$\..\..\Source\d_input.h - $PROJ_DIR$\Benchmark\Obj\c_display.pbi - $PROJ_DIR$\..\..\Source\c_comm.c + $PROJ_DIR$\Benchmark\Obj\c_loader.r79 + $PROJ_DIR$\Benchmark\Obj\d_usb.pbi + $PROJ_DIR$\..\..\Source\Display.txt + $PROJ_DIR$\Benchmark\Obj\LMS_ARM.pbd + $PROJ_DIR$\..\..\Source\c_comm.h + $PROJ_DIR$\..\..\Source\c_comm.iom + $PROJ_DIR$\Benchmark\Obj\c_ui.r79 + $PROJ_DIR$\Benchmark\Obj\c_input.pbi + $PROJ_DIR$\..\..\Source\c_cmd_drawing.inc + $PROJ_DIR$\..\..\Source\Ui.txt + $PROJ_DIR$\..\..\Source\RCXintro_2.txt + $PROJ_DIR$\Benchmark\Obj\c_input.r79 + $PROJ_DIR$\Benchmark\Obj\c_button.r79 + $PROJ_DIR$\..\..\Source\d_loader.r + $PROJ_DIR$\..\..\Source\RCXintro_15.txt + $PROJ_DIR$\Benchmark\Obj\d_input.pbi + $PROJ_DIR$\..\..\Source\LowBattery.txt + $PROJ_DIR$\Benchmark\Obj\c_button.pbi + $PROJ_DIR$\..\..\Source\RCXintro_5.txt + $TOOLKIT_DIR$\inc\ysizet.h + $PROJ_DIR$\..\Include\ioat91sam7s256.h + $PROJ_DIR$\..\..\Source\Submenu05.rms + $PROJ_DIR$\..\..\Source\Icons.txt + $PROJ_DIR$\..\..\Source\d_button.r + $PROJ_DIR$\..\..\Source\c_output.iom + $PROJ_DIR$\..\..\Source\Devices.txt + $TOOLKIT_DIR$\inc\xlocaleuse.h + $PROJ_DIR$\Benchmark\Obj\m_sched.pbi + $PROJ_DIR$\Benchmark\Obj\c_ioctrl.r79 + $PROJ_DIR$\..\..\Source\Cursor.txt + $PROJ_DIR$\..\..\Source\c_button.h + $TOOLKIT_DIR$\inc\stdio.h $PROJ_DIR$\Benchmark\Obj\c_ui.pbi + $PROJ_DIR$\..\..\Source\RCXintro_7.txt + $PROJ_DIR$\..\..\Source\d_timer.h $PROJ_DIR$\..\..\Source\d_display.h + $TOOLKIT_DIR$\inc\ctype.h $PROJ_DIR$\..\..\Source\d_output.r - $PROJ_DIR$\..\..\Source\c_display.h - $PROJ_DIR$\..\..\Source\Cursor.txt - $PROJ_DIR$\..\..\Source\Info.txt - $PROJ_DIR$\Benchmark\Obj\c_loader.r79 - $PROJ_DIR$\..\..\Source\c_sound.h - $PROJ_DIR$\Benchmark\Obj\d_hispeed.r79 - $PROJ_DIR$\..\..\Source\d_ioctrl.h + $TOOLKIT_DIR$\inc\xlocale.h + $PROJ_DIR$\..\..\Source\d_bt.h + $TOOLKIT_DIR$\inc\stdlib.h + $PROJ_DIR$\Benchmark\Obj\d_display.pbi + $PROJ_DIR$\..\..\Source\Submenu01.rms + $PROJ_DIR$\..\..\Source\Ok.txt + $PROJ_DIR$\Benchmark\Obj\c_display.r79 + $PROJ_DIR$\Benchmark\Obj\c_comm.r79 + $PROJ_DIR$\..\..\Source\c_ui.h + $PROJ_DIR$\Benchmark\Obj\d_output.pbi + $PROJ_DIR$\..\..\Source\d_lowspeed.r + $PROJ_DIR$\..\..\Source\c_input.h + $PROJ_DIR$\..\..\Source\d_input.r + $PROJ_DIR$\..\..\Source\d_usb.h + $PROJ_DIR$\..\..\Source\Mainmenu.rms + $PROJ_DIR$\Benchmark\Obj\d_ioctrl.pbi + $PROJ_DIR$\Benchmark\Obj\d_button.r79 + $PROJ_DIR$\..\..\Source\RCXintro_14.txt + $PROJ_DIR$\..\Lib\dl4tptinl8n.h + $PROJ_DIR$\..\..\Source\c_lowspeed.h + $PROJ_DIR$\Benchmark\Obj\c_display.pbi + $PROJ_DIR$\..\..\Source\Status.txt + $PROJ_DIR$\Benchmark\Obj\d_output.r79 $PROJ_DIR$\Benchmark\Obj\d_timer.pbi $PROJ_DIR$\..\..\Source\c_display.iom + $PROJ_DIR$\..\..\Source\c_sound.h + $PROJ_DIR$\Benchmark\Obj\c_lowspeed.pbi + $PROJ_DIR$\..\..\Source\c_ioctrl.iom + $PROJ_DIR$\Benchmark\Obj\Cstartup_SAM7.r79 + $PROJ_DIR$\..\..\Source\d_sound.r + $PROJ_DIR$\..\..\Source\d_sound.h + $TOOLKIT_DIR$\inc\yvals.h + $PROJ_DIR$\..\..\Source\c_cmd.iom + $TOOLKIT_DIR$\inc\DLib_Product.h + $PROJ_DIR$\..\..\Source\d_bt.r + $PROJ_DIR$\Benchmark\Obj\d_loader.pbi + $PROJ_DIR$\Benchmark\Obj\c_ioctrl.pbi $PROJ_DIR$\Benchmark\Obj\c_sound.r79 $TOOLKIT_DIR$\inc\xtinfo.h - $PROJ_DIR$\..\..\Source\c_loader.iom - $PROJ_DIR$\..\..\Source\Test2.txt - $PROJ_DIR$\..\..\Source\RCXintro_10.txt - $TOOLKIT_DIR$\inc\xlocale_c.h - $PROJ_DIR$\..\..\Source\RCXintro_3.txt - $PROJ_DIR$\..\..\Source\Fail.txt $PROJ_DIR$\Benchmark\Obj\d_ioctrl.r79 + $PROJ_DIR$\..\..\Source\Fail.txt + $TOOLKIT_DIR$\inc\xlocale_c.h $PROJ_DIR$\Benchmark\Obj\d_lowspeed.pbi $PROJ_DIR$\..\..\Source\d_hispeed.r $PROJ_DIR$\Benchmark\Obj\c_cmd.r79 - $PROJ_DIR$\..\..\Source\RCXintro_4.txt + $PROJ_DIR$\Benchmark\Obj\c_output.r79 $PROJ_DIR$\Benchmark\Obj\d_bt.pbi - $PROJ_DIR$\..\..\Source\Submenu07.rms - $PROJ_DIR$\..\..\Source\d_lowspeed.r - $TOOLKIT_DIR$\inc\xencoding_limits.h - $PROJ_DIR$\..\..\Source\c_output.h - $PROJ_DIR$\Benchmark\Obj\d_output.pbi - $PROJ_DIR$\..\..\Source\Submenu02.rms - $PROJ_DIR$\..\..\Source\c_cmd_drawing.inc - $TOOLKIT_DIR$\inc\DLib_Threads.h + $PROJ_DIR$\..\..\Source\RCXintro_10.txt + $PROJ_DIR$\..\..\Source\RCXintro_3.txt + $PROJ_DIR$\..\..\Source\Test2.txt + $PROJ_DIR$\..\..\Source\Connections.txt $PROJ_DIR$\..\Include\AT91SAM7S256_inc.h - $PROJ_DIR$\..\..\Source\c_ioctrl.h - $PROJ_DIR$\..\..\Source\c_input.h - $PROJ_DIR$\..\..\Source\d_input.r - $PROJ_DIR$\..\..\Source\RCXintro_1.txt - $PROJ_DIR$\..\..\Source\RCXintro_9.txt - $PROJ_DIR$\Benchmark\Obj\c_ioctrl.r79 - $PROJ_DIR$\..\..\Source\Font.txt - $PROJ_DIR$\Benchmark\Obj\c_comm.r79 - $PROJ_DIR$\..\..\Source\c_ui.h - $PROJ_DIR$\Benchmark\Obj\c_lowspeed.r79 - $TOOLKIT_DIR$\inc\wchar.h - $PROJ_DIR$\Benchmark\Obj\d_hispeed.pbi - $PROJ_DIR$\..\..\Source\RCXintro_13.txt $PROJ_DIR$\..\..\Source\d_hispeed.h - $PROJ_DIR$\..\..\Source\m_sched.h - $PROJ_DIR$\Benchmark\Obj\c_sound.pbi - $PROJ_DIR$\Benchmark\Obj\c_loader.pbi - $TOOLKIT_DIR$\inc\time.h - $PROJ_DIR$\..\..\Source\Step.txt - $PROJ_DIR$\Benchmark\Obj\d_button.r79 - $PROJ_DIR$\Benchmark\Obj\d_ioctrl.pbi + $PROJ_DIR$\..\..\Source\RCXintro_13.txt + $PROJ_DIR$\..\..\Source\Submenu07.rms + $PROJ_DIR$\Benchmark\Obj\d_usb.r79 $PROJ_DIR$\..\..\Source\RCXintro_16.txt - $PROJ_DIR$\Benchmark\Obj\c_input.pbi - $TOOLKIT_DIR$\inc\stdio.h - $PROJ_DIR$\..\..\Source\Ui.txt - $TOOLKIT_DIR$\inc\DLib_Product.h - $PROJ_DIR$\..\..\Source\d_loader.h - $PROJ_DIR$\Benchmark\Obj\d_loader.pbi - $PROJ_DIR$\Benchmark\Obj\c_ioctrl.pbi + $PROJ_DIR$\Benchmark\Obj\Cstartup_SAM7.pbi + $PROJ_DIR$\..\..\Source\c_comm.c + $PROJ_DIR$\..\..\Source\Test1.txt + $PROJ_DIR$\Benchmark\Obj\c_comm.pbi + $PROJ_DIR$\..\..\Source\Step.txt + $PROJ_DIR$\Benchmark\Obj\d_sound.pbi + $PROJ_DIR$\..\..\Source\Port.txt + $PROJ_DIR$\..\..\Source\c_output.h + $PROJ_DIR$\..\..\Source\d_timer.r + $PROJ_DIR$\..\..\Source\Submenu04.rms + $TOOLKIT_DIR$\inc\DLib_Defaults.h + $PROJ_DIR$\..\..\Source\c_loader.iom + $PROJ_DIR$\..\..\Source\c_display.h + $PROJ_DIR$\..\..\Source\Running.txt + $PROJ_DIR$\..\..\Source\Info.txt + $PROJ_DIR$\Benchmark\Obj\d_loader.r79 + $PROJ_DIR$\..\..\Source\Font.txt + $PROJ_DIR$\Benchmark\Obj\d_lowspeed.r79 $PROJ_DIR$\..\..\Source\RCXintro_12.txt $PROJ_DIR$\..\..\Source\c_cmd_bytecodes.h - $PROJ_DIR$\Benchmark\Obj\Cstartup_SAM7.pbi - $PROJ_DIR$\Benchmark\Obj\d_timer.r79 + $PROJ_DIR$\..\..\Source\Submenu02.rms + $PROJ_DIR$\Benchmark\Obj\d_hispeed.r79 + $PROJ_DIR$\..\..\Source\d_ioctrl.h + $PROJ_DIR$\Benchmark\Obj\d_sound.r79 + $PROJ_DIR$\..\..\Source\modules.h + $PROJ_DIR$\Benchmark\Obj\d_bt.r79 + $PROJ_DIR$\..\..\Source\c_input.iom + $PROJ_DIR$\Benchmark\Obj\c_output.pbi $PROJ_DIR$\..\..\Source\c_button.iom $PROJ_DIR$\Benchmark\Obj\d_display.r79 $PROJ_DIR$\..\..\Source\d_usb.r $PROJ_DIR$\..\..\Source\Submenu06.rms $TOOLKIT_DIR$\inc\xtls.h - $PROJ_DIR$\..\..\Source\c_cmd.iom - $PROJ_DIR$\..\..\Source\BtTest.inc - $PROJ_DIR$\Benchmark\Obj\c_lowspeed.pbi - $PROJ_DIR$\..\..\Source\c_ioctrl.iom - $PROJ_DIR$\..\..\Source\Running.txt - $PROJ_DIR$\Benchmark\Obj\c_output.pbi - $PROJ_DIR$\..\..\Source\c_input.iom - $PROJ_DIR$\Benchmark\Obj\d_usb.r79 - $PROJ_DIR$\Benchmark\Obj\d_loader.r79 - $PROJ_DIR$\Benchmark\Obj\m_sched.r79 - $PROJ_DIR$\..\..\Source\d_timer.h - $PROJ_DIR$\..\..\Source\Ok.txt - $PROJ_DIR$\Benchmark\Obj\c_display.r79 - $PROJ_DIR$\..\..\Source\modules.h - $PROJ_DIR$\Benchmark\Obj\d_bt.r79 - $PROJ_DIR$\Benchmark\Obj\Cstartup_SAM7.r79 - $PROJ_DIR$\Benchmark\Obj\d_sound.r79 - $PROJ_DIR$\Benchmark\Obj\d_lowspeed.r79 - $PROJ_DIR$\..\..\Source\Submenu04.rms - $TOOLKIT_DIR$\inc\DLib_Defaults.h - $PROJ_DIR$\..\..\Source\d_timer.r - $PROJ_DIR$\..\..\Source\RCXintro_11.txt - $PROJ_DIR$\Benchmark\Obj\m_sched.pbi - $PROJ_DIR$\..\..\Source\Test1.txt - $PROJ_DIR$\..\..\Source\Status.txt - $PROJ_DIR$\..\..\Source\Submenu01.rms - $PROJ_DIR$\Benchmark\Obj\d_output.r79 - $PROJ_DIR$\Benchmark\Obj\c_output.r79 - $PROJ_DIR$\..\..\Source\Wait.txt - $TOOLKIT_DIR$\inc\string.h - $PROJ_DIR$\..\Include\sam7s256.h $PROJ_DIR$\..\..\Source\c_sound.iom - $TOOLKIT_DIR$\inc\xmtx.h - $PROJ_DIR$\..\..\Source\stdconst.h - $PROJ_DIR$\..\Include\AT91SAM7S256.h - $PROJ_DIR$\Benchmark\Obj\d_input.r79 - $PROJ_DIR$\..\..\Source\d_button.h - $PROJ_DIR$\Benchmark\Obj\Cstartup.r79 - $PROJ_DIR$\..\..\Source\c_comm.iom - $PROJ_DIR$\..\..\Source\d_display.r - $PROJ_DIR$\Benchmark\Exe\LMS_ARM.d79 - $PROJ_DIR$\..\..\Source\RCXintro_6.txt - $PROJ_DIR$\..\Include\sam7s256.c - $PROJ_DIR$\Benchmark\Obj\c_input.r79 + $PROJ_DIR$\..\..\Source\Wait.txt $PROJ_DIR$\..\..\Source\c_lowspeed.iom - $PROJ_DIR$\..\Lib\dl4tptinl8n.h - $TOOLKIT_DIR$\inc\stdbool.h - $PROJ_DIR$\..\..\Source\c_ui.iom - $PROJ_DIR$\..\..\Source\c_comm.h - $PROJ_DIR$\..\..\Source\d_lowspeed.h - $PROJ_DIR$\..\..\Source\c_loader.h - $PROJ_DIR$\Benchmark\Obj\d_usb.pbi - $PROJ_DIR$\..\..\Source\Display.txt - $PROJ_DIR$\..\..\Source\RCXintro_15.txt - $PROJ_DIR$\Benchmark\Obj\LMS_ARM.pbd - $PROJ_DIR$\..\..\Source\LowBattery.txt - $PROJ_DIR$\..\..\Source\d_output.h - $PROJ_DIR$\..\..\Source\RCXintro_5.txt - $PROJ_DIR$\..\..\Source\d_ioctrl.r - $PROJ_DIR$\Benchmark\Obj\d_button.pbi - $PROJ_DIR$\..\..\Source\c_cmd.h - $PROJ_DIR$\Benchmark\Obj\c_button.r79 - $PROJ_DIR$\Benchmark\Obj\d_input.pbi - $PROJ_DIR$\..\..\Source\RCXintro_14.txt - $TOOLKIT_DIR$\inc\ysizet.h - $PROJ_DIR$\Benchmark\Obj\c_ui.r79 - $PROJ_DIR$\..\Include\ioat91sam7s256.h - $TOOLKIT_DIR$\inc\yvals.h - $PROJ_DIR$\..\..\Source\RCXintro_7.txt - $PROJ_DIR$\..\..\Source\d_loader.r - $PROJ_DIR$\..\..\Source\d_sound.r - $TOOLKIT_DIR$\inc\xlocale.h - $PROJ_DIR$\..\..\Source\d_sound.h - $TOOLKIT_DIR$\inc\stdlib.h - $PROJ_DIR$\..\..\Source\c_button.c $PROJ_DIR$\Benchmark\Obj\c_cmd.pbi - $PROJ_DIR$\..\..\Source\c_button.h - $PROJ_DIR$\Benchmark\Obj\c_button.pbi - $PROJ_DIR$\..\..\Source\Submenu05.rms - $PROJ_DIR$\..\..\Source\Icons.txt - $PROJ_DIR$\..\..\Source\c_display.c + $PROJ_DIR$\Benchmark\Obj\c_sound.pbi + $PROJ_DIR$\Benchmark\Obj\c_loader.pbi + $PROJ_DIR$\..\..\Source\RCXintro_11.txt + $PROJ_DIR$\Benchmark\Obj\d_hispeed.pbi + $PROJ_DIR$\..\..\Source\RCXintro_8.txt $PROJ_DIR$\..\..\Source\c_input.c $PROJ_DIR$\..\..\Source\c_ioctrl.c + $PROJ_DIR$\..\..\Source\c_button.c $PROJ_DIR$\..\..\Source\c_loader.c $PROJ_DIR$\..\..\Source\c_lowspeed.c $PROJ_DIR$\..\..\Source\c_output.c @@ -187,76 +201,39 @@ $PROJ_DIR$\..\..\Source\d_usb.c $PROJ_DIR$\..\..\Source\Functions.inl $PROJ_DIR$\..\..\Source\m_sched.c - $PROJ_DIR$\..\..\Source\d_button.r - $PROJ_DIR$\..\..\Source\Devices.txt - $TOOLKIT_DIR$\inc\xlocaleuse.h - $PROJ_DIR$\..\..\Source\c_output.iom - $PROJ_DIR$\..\..\Source\d_usb.h - $PROJ_DIR$\..\..\Source\Mainmenu.rms - $PROJ_DIR$\Benchmark\Obj\d_display.pbi - $TOOLKIT_DIR$\inc\ctype.h - $PROJ_DIR$\..\..\Source\d_bt.h - $PROJ_DIR$\..\..\Source\d_bt.r - $PROJ_DIR$\..\..\Source\RCXintro_8.txt - $PROJ_DIR$\..\..\Source\Connections.txt - $PROJ_DIR$\..\..\Source\Port.txt - $PROJ_DIR$\Benchmark\Obj\d_sound.pbi - $PROJ_DIR$\..\..\Source\RCXintro_2.txt - $PROJ_DIR$\..\..\Source\c_lowspeed.h - $PROJ_DIR$\Benchmark\Obj\c_comm.pbi + $PROJ_DIR$\Benchmark\Obj\m_sched.r79 + $PROJ_DIR$\..\..\Source\d_loader.h + $PROJ_DIR$\..\..\Source\c_display.c - - $PROJ_DIR$\..\..\Source\c_cmd.c - - - ICCARM - 27 - - - BICOMP - 152 - - - - - ICCARM - 110 90 77 184 83 18 124 108 72 15 115 121 137 69 87 62 144 96 122 64 32 37 141 106 150 36 - - - BICOMP - 110 90 77 184 83 18 124 108 72 15 115 121 137 69 87 62 144 96 64 32 37 141 106 150 36 - - - [ROOT_NODE] XLINK - 117 + 32 - $PROJ_DIR$\..\..\Source\c_comm.c + $PROJ_DIR$\..\..\Source\c_cmd.c ICCARM - 46 + 116 BICOMP - 197 + 165 ICCARM - 110 90 115 18 80 124 77 15 125 185 52 189 106 144 96 122 64 32 37 141 188 148 76 109 150 183 21 17 56 49 + 3 153 104 58 155 140 23 162 157 96 39 164 31 148 68 65 103 139 90 105 14 13 53 1 74 42 BICOMP - 110 90 115 18 80 124 77 15 125 185 52 189 106 144 96 64 32 37 141 188 148 76 109 150 183 21 17 56 49 + 3 153 104 58 155 140 23 162 157 96 39 164 31 148 68 65 103 139 105 14 13 53 1 74 42 @@ -265,99 +242,99 @@ BILINK - 70 154 152 197 2 61 67 55 79 82 54 4 29 136 187 50 139 59 66 25 34 194 14 128 99 + 129 51 165 132 92 41 108 167 98 156 166 66 118 30 75 169 49 87 107 114 81 134 95 35 61 - $PROJ_DIR$\..\..\Source\c_button.c + $PROJ_DIR$\..\..\Source\c_comm.c ICCARM - 138 + 79 BICOMP - 154 + 132 ICCARM - 110 90 153 72 113 + 3 153 39 140 99 23 104 96 38 85 124 73 1 103 139 90 105 14 13 53 70 72 161 8 74 60 113 110 17 15 BICOMP - 110 90 153 72 113 + 3 153 39 140 99 23 104 96 38 85 124 73 1 103 139 105 14 13 53 70 72 161 8 74 60 113 110 17 15 - $PROJ_DIR$\..\..\Source\c_display.c + $PROJ_DIR$\..\..\Source\c_input.c ICCARM - 89 + 45 BICOMP - 2 + 41 ICCARM - 106 144 96 122 64 32 37 141 110 90 15 7 5 + 3 153 83 155 33 58 BICOMP - 106 144 96 64 32 37 141 110 90 15 7 5 + 3 153 83 155 33 58 - $PROJ_DIR$\..\..\Source\c_input.c + $PROJ_DIR$\..\..\Source\c_ioctrl.c ICCARM - 120 + 62 BICOMP - 61 + 108 ICCARM - 110 90 40 83 1 184 + 3 153 99 22 151 BICOMP - 110 90 40 83 1 184 + 3 153 99 22 151 - $PROJ_DIR$\..\..\Source\c_ioctrl.c + $PROJ_DIR$\..\..\Source\c_button.c ICCARM - 44 + 46 BICOMP - 67 + 51 ICCARM - 110 90 80 39 13 + 3 153 64 157 18 BICOMP - 110 90 80 39 13 + 3 153 64 157 18 @@ -366,21 +343,21 @@ ICCARM - 10 + 34 BICOMP - 55 + 167 ICCARM - 110 90 18 80 65 127 + 3 153 140 99 196 25 BICOMP - 110 90 18 80 65 127 + 3 153 140 99 196 25 @@ -389,21 +366,21 @@ ICCARM - 48 + 16 BICOMP - 79 + 98 ICCARM - 110 90 121 83 196 126 + 3 153 164 155 91 24 BICOMP - 110 90 121 83 196 126 + 3 153 164 155 91 24 @@ -412,21 +389,21 @@ ICCARM - 104 + 117 BICOMP - 82 + 156 ICCARM - 62 144 96 122 64 32 37 141 123 110 90 184 33 133 15 + 65 103 139 90 105 14 13 53 21 3 153 58 136 26 96 BICOMP - 62 144 96 64 32 37 141 123 110 90 184 33 133 15 + 65 103 139 105 14 13 53 21 3 153 58 136 26 96 @@ -435,21 +412,21 @@ ICCARM - 16 + 109 BICOMP - 54 + 166 ICCARM - 150 144 96 122 64 32 37 141 106 110 90 108 18 11 149 + 74 103 139 90 105 14 13 53 1 3 153 162 140 97 102 BICOMP - 150 144 96 64 32 37 141 106 110 90 108 18 11 149 + 74 103 139 105 14 13 53 1 3 153 162 140 97 102 @@ -458,21 +435,21 @@ ICCARM - 142 + 40 BICOMP - 4 + 66 ICCARM - 62 144 96 122 64 32 37 141 106 188 148 76 109 150 183 21 17 56 49 110 90 124 47 53 107 143 15 18 72 108 83 184 80 77 115 121 129 132 45 57 8 81 193 88 105 23 9 156 42 195 22 28 134 118 145 191 43 20 98 68 51 140 130 60 101 182 192 63 186 102 35 95 155 75 30 179 78 100 19 + 65 103 139 90 105 14 13 53 1 70 72 161 8 74 60 113 110 17 15 3 153 23 80 10 20 54 96 140 157 162 155 58 99 104 39 164 36 50 145 133 63 142 135 77 163 112 143 56 6 44 120 2 52 28 67 170 7 119 168 147 125 89 48 128 93 59 122 43 86 76 149 138 55 160 126 193 11 131 121 BICOMP - 62 144 96 64 32 37 141 106 188 148 76 109 150 183 21 17 56 49 110 90 124 47 53 107 143 15 18 72 108 83 184 80 77 115 121 129 132 45 57 8 81 193 88 105 23 9 156 42 195 22 28 134 118 145 191 43 20 98 68 51 140 130 60 101 182 192 63 186 102 35 95 155 75 30 179 78 100 19 + 65 103 139 105 14 13 53 1 70 72 161 8 74 60 113 110 17 15 3 153 23 80 10 20 54 96 140 157 162 155 58 99 104 39 164 36 50 145 133 63 142 135 77 163 112 143 56 6 44 120 2 52 28 67 170 7 119 168 147 125 89 48 128 93 59 122 43 86 76 149 138 55 160 126 193 11 131 121 @@ -481,13 +458,13 @@ AARM - 114 + 19 AARM - 38 + 123 @@ -496,21 +473,21 @@ ICCARM - 92 + 100 BICOMP - 70 + 129 ICCARM - 111 + 4 BICOMP - 111 + 4 @@ -519,21 +496,21 @@ ICCARM - 91 + 154 BICOMP - 29 + 118 ICCARM - 110 90 53 107 143 189 190 106 144 96 122 64 32 37 141 + 3 153 10 20 54 73 106 1 103 139 90 105 14 13 53 BICOMP - 110 90 53 107 143 189 190 106 144 96 64 32 37 141 + 3 153 10 20 54 73 106 1 103 139 105 14 13 53 @@ -542,21 +519,21 @@ ICCARM - 58 + 88 BICOMP - 136 + 30 ICCARM - 110 53 107 143 113 181 + 3 10 20 54 18 57 BICOMP - 110 53 107 143 113 181 + 3 10 20 54 18 57 @@ -565,21 +542,21 @@ ICCARM - 73 + 158 BICOMP - 187 + 75 ICCARM - 110 53 107 143 5 116 + 3 10 20 54 69 5 BICOMP - 110 53 107 143 106 144 96 64 32 37 141 5 116 + 3 10 20 54 1 103 139 105 14 13 53 69 5 @@ -588,21 +565,21 @@ ICCARM - 12 + 150 BICOMP - 50 + 169 ICCARM - 110 53 107 143 52 26 + 3 10 20 54 124 115 BICOMP - 110 53 107 143 52 26 + 3 10 20 54 124 115 @@ -611,72 +588,95 @@ ICCARM - 112 + 9 + + + BICOMP + 49 + + + + + ICCARM + 3 10 20 54 83 155 33 84 + + + BICOMP + 3 10 20 54 83 155 33 84 + + + + + $PROJ_DIR$\..\..\Source\d_ioctrl.c + + + ICCARM + 111 BICOMP - 139 + 87 ICCARM - 110 53 107 143 40 83 1 41 + 1 103 139 90 105 14 13 53 3 10 20 54 151 27 BICOMP - 110 53 107 143 40 83 1 41 + 1 103 139 105 14 13 53 3 10 20 54 151 27 - $PROJ_DIR$\..\..\Source\d_ioctrl.c + $PROJ_DIR$\..\..\Source\d_loader.c ICCARM - 24 + 144 BICOMP - 59 + 107 ICCARM - 106 144 96 122 64 32 37 141 110 53 107 143 13 135 + 3 153 10 20 54 196 47 1 103 139 90 105 14 13 53 70 72 161 8 74 60 113 110 17 15 BICOMP - 106 144 96 64 32 37 141 110 53 107 143 13 135 + 3 153 10 20 54 196 47 1 103 139 105 14 13 53 70 72 161 8 74 60 113 110 17 15 - $PROJ_DIR$\..\..\Source\d_loader.c + $PROJ_DIR$\..\..\Source\d_lowspeed.c ICCARM - 85 + 146 BICOMP - 66 + 114 ICCARM - 110 90 53 107 143 65 146 106 144 96 122 64 32 37 141 188 148 76 109 150 183 21 17 56 49 + 3 10 20 54 24 82 BICOMP - 110 90 53 107 143 65 146 106 144 96 64 32 37 141 188 148 76 109 150 183 21 17 56 49 + 3 10 20 54 24 82 - $PROJ_DIR$\..\..\Source\d_lowspeed.c + $PROJ_DIR$\..\..\Source\d_output.c ICCARM @@ -684,132 +684,132 @@ BICOMP - 25 + 81 ICCARM - 110 53 107 143 126 31 + 3 10 20 54 26 71 BICOMP - 110 53 107 143 126 31 + 3 10 20 54 26 71 - $PROJ_DIR$\..\..\Source\d_output.c + $PROJ_DIR$\..\..\Source\d_sound.c ICCARM - 103 + 152 BICOMP - 34 + 134 ICCARM - 110 53 107 143 133 6 + 3 10 20 54 102 101 BICOMP - 110 53 107 143 133 6 + 3 10 20 54 102 101 - $PROJ_DIR$\..\..\Source\d_sound.c + $PROJ_DIR$\..\..\Source\d_timer.c ICCARM - 93 + 12 BICOMP - 194 + 95 ICCARM - 110 53 107 143 149 147 + 3 10 20 54 68 137 BICOMP - 110 53 107 143 149 147 + 3 10 20 54 68 137 - $PROJ_DIR$\..\..\Source\d_timer.c + $PROJ_DIR$\..\..\Source\d_usb.c ICCARM - 71 + 127 BICOMP - 14 + 35 ICCARM - 110 53 107 143 87 97 + 3 10 20 54 85 159 BICOMP - 110 53 107 143 87 97 + 3 10 20 54 85 159 - $PROJ_DIR$\..\..\Source\d_usb.c + $PROJ_DIR$\..\..\Source\m_sched.c ICCARM - 84 + 195 BICOMP - 128 + 61 ICCARM - 110 53 107 143 185 74 + 3 153 10 20 54 29 38 83 155 64 157 25 97 141 91 136 31 148 104 22 80 BICOMP - 110 53 107 143 185 74 + 3 153 10 20 54 29 38 83 155 64 157 25 97 141 91 136 31 148 104 22 80 - $PROJ_DIR$\..\..\Source\m_sched.c + $PROJ_DIR$\..\..\Source\c_display.c ICCARM - 86 + 78 BICOMP - 99 + 92 ICCARM - 110 90 53 107 143 119 125 40 83 153 72 127 11 7 196 33 137 69 77 39 47 + 1 103 139 90 105 14 13 53 3 153 96 141 69 BICOMP - 110 90 53 107 143 119 125 40 83 153 72 127 11 7 196 33 137 69 77 39 47 + 1 103 139 105 14 13 53 3 153 96 141 69 @@ -825,119 +825,97 @@ Bin Output $PROJ_DIR$\..\..\Source\c_cmd.c - $PROJ_DIR$\..\..\Source\d_input.h - $PROJ_DIR$\..\..\Source\c_comm.c - $PROJ_DIR$\..\..\Source\d_display.h - $PROJ_DIR$\..\..\Source\d_output.r - $PROJ_DIR$\..\..\Source\c_display.h - $PROJ_DIR$\..\..\Source\Cursor.txt - $PROJ_DIR$\..\..\Source\Info.txt - $PROJ_DIR$\..\..\Source\c_sound.h - $PROJ_DIR$\..\..\Source\d_ioctrl.h - $PROJ_DIR$\..\..\Source\c_display.iom - $TOOLKIT_DIR$\inc\xtinfo.h - $PROJ_DIR$\..\..\Source\c_loader.iom - $PROJ_DIR$\..\..\Source\Test2.txt - $PROJ_DIR$\..\..\Source\RCXintro_10.txt - $TOOLKIT_DIR$\inc\xlocale_c.h - $PROJ_DIR$\..\..\Source\RCXintro_3.txt - $PROJ_DIR$\..\..\Source\Fail.txt - $PROJ_DIR$\..\..\Source\d_hispeed.r + $TOOLKIT_DIR$\inc\string.h $PROJ_DIR$\..\..\Source\RCXintro_4.txt - $PROJ_DIR$\..\..\Source\Submenu07.rms - $PROJ_DIR$\..\..\Source\d_lowspeed.r - $TOOLKIT_DIR$\inc\xencoding_limits.h - $PROJ_DIR$\..\..\Source\c_output.h - $PROJ_DIR$\..\..\Source\Submenu02.rms - $PROJ_DIR$\..\..\Source\c_cmd_drawing.inc - $TOOLKIT_DIR$\inc\DLib_Threads.h - $PROJ_DIR$\..\Include\AT91SAM7S256_inc.h - $PROJ_DIR$\..\..\Source\c_ioctrl.h - $PROJ_DIR$\..\..\Source\c_input.h - $PROJ_DIR$\..\..\Source\d_input.r + $PROJ_DIR$\..\..\Source\stdconst.h + $PROJ_DIR$\..\Include\AT91SAM7S256.h + $PROJ_DIR$\..\..\Source\d_display.r $PROJ_DIR$\..\..\Source\RCXintro_1.txt $PROJ_DIR$\..\..\Source\RCXintro_9.txt - $PROJ_DIR$\..\..\Source\Font.txt - $PROJ_DIR$\..\..\Source\c_ui.h - $TOOLKIT_DIR$\inc\wchar.h - $PROJ_DIR$\..\..\Source\RCXintro_13.txt - $PROJ_DIR$\..\..\Source\d_hispeed.h + $TOOLKIT_DIR$\inc\xmtx.h $PROJ_DIR$\..\..\Source\m_sched.h + $PROJ_DIR$\..\..\Source\BtTest.inc + $TOOLKIT_DIR$\inc\DLib_Threads.h + $TOOLKIT_DIR$\inc\xencoding_limits.h + $TOOLKIT_DIR$\inc\wchar.h $TOOLKIT_DIR$\inc\time.h - $PROJ_DIR$\..\..\Source\Step.txt - $PROJ_DIR$\..\..\Source\RCXintro_16.txt - $TOOLKIT_DIR$\inc\stdio.h + $PROJ_DIR$\..\..\Source\d_button.h + $PROJ_DIR$\..\Include\sam7s256.h + $TOOLKIT_DIR$\inc\stdbool.h + $PROJ_DIR$\..\..\Source\c_ioctrl.h + $PROJ_DIR$\..\..\Source\c_ui.iom + $PROJ_DIR$\..\..\Source\d_lowspeed.h + $PROJ_DIR$\..\..\Source\c_loader.h + $PROJ_DIR$\..\..\Source\d_output.h + $PROJ_DIR$\..\..\Source\d_ioctrl.r + $PROJ_DIR$\..\..\Source\RCXintro_6.txt + $PROJ_DIR$\..\Include\sam7s256.c + $PROJ_DIR$\..\..\Source\c_cmd.h + $PROJ_DIR$\..\..\Source\d_input.h + $PROJ_DIR$\..\..\Source\Display.txt + $PROJ_DIR$\..\..\Source\c_comm.h + $PROJ_DIR$\..\..\Source\c_comm.iom + $PROJ_DIR$\..\..\Source\c_cmd_drawing.inc $PROJ_DIR$\..\..\Source\Ui.txt - $TOOLKIT_DIR$\inc\DLib_Product.h - $PROJ_DIR$\..\..\Source\d_loader.h - $PROJ_DIR$\..\..\Source\RCXintro_12.txt - $PROJ_DIR$\..\..\Source\c_cmd_bytecodes.h - $PROJ_DIR$\..\..\Source\c_button.iom - $PROJ_DIR$\..\..\Source\d_usb.r - $PROJ_DIR$\..\..\Source\Submenu06.rms - $TOOLKIT_DIR$\inc\xtls.h - $PROJ_DIR$\..\..\Source\c_cmd.iom - $PROJ_DIR$\..\..\Source\BtTest.inc - $PROJ_DIR$\..\..\Source\c_ioctrl.iom - $PROJ_DIR$\..\..\Source\Running.txt - $PROJ_DIR$\..\..\Source\c_input.iom + $PROJ_DIR$\..\..\Source\RCXintro_2.txt + $PROJ_DIR$\..\..\Source\d_loader.r + $PROJ_DIR$\..\..\Source\RCXintro_15.txt + $PROJ_DIR$\..\..\Source\LowBattery.txt + $PROJ_DIR$\..\..\Source\RCXintro_5.txt + $TOOLKIT_DIR$\inc\ysizet.h + $PROJ_DIR$\..\Include\ioat91sam7s256.h + $PROJ_DIR$\..\..\Source\Submenu05.rms + $PROJ_DIR$\..\..\Source\Icons.txt + $PROJ_DIR$\..\..\Source\d_button.r + $PROJ_DIR$\..\..\Source\c_output.iom + $PROJ_DIR$\..\..\Source\Devices.txt + $TOOLKIT_DIR$\inc\xlocaleuse.h + $PROJ_DIR$\..\..\Source\Cursor.txt + $PROJ_DIR$\..\..\Source\c_button.h + $TOOLKIT_DIR$\inc\stdio.h + $PROJ_DIR$\..\..\Source\RCXintro_7.txt $PROJ_DIR$\..\..\Source\d_timer.h + $PROJ_DIR$\..\..\Source\d_display.h + $TOOLKIT_DIR$\inc\ctype.h + $PROJ_DIR$\..\..\Source\d_output.r + $TOOLKIT_DIR$\inc\xlocale.h + $PROJ_DIR$\..\..\Source\d_bt.h + $TOOLKIT_DIR$\inc\stdlib.h + $PROJ_DIR$\..\..\Source\Submenu01.rms $PROJ_DIR$\..\..\Source\Ok.txt - $PROJ_DIR$\..\..\Source\modules.h - $PROJ_DIR$\..\..\Source\Submenu04.rms - $TOOLKIT_DIR$\inc\DLib_Defaults.h - $PROJ_DIR$\..\..\Source\d_timer.r - $PROJ_DIR$\..\..\Source\RCXintro_11.txt - $PROJ_DIR$\..\..\Source\Test1.txt + $PROJ_DIR$\..\..\Source\c_ui.h + $PROJ_DIR$\..\..\Source\d_lowspeed.r + $PROJ_DIR$\..\..\Source\c_input.h + $PROJ_DIR$\..\..\Source\d_input.r + $PROJ_DIR$\..\..\Source\d_usb.h + $PROJ_DIR$\..\..\Source\Mainmenu.rms + $PROJ_DIR$\..\..\Source\RCXintro_14.txt + $PROJ_DIR$\..\Lib\dl4tptinl8n.h + $PROJ_DIR$\..\..\Source\c_lowspeed.h $PROJ_DIR$\..\..\Source\Status.txt - $PROJ_DIR$\..\..\Source\Submenu01.rms - $PROJ_DIR$\..\..\Source\Wait.txt - $TOOLKIT_DIR$\inc\string.h - $PROJ_DIR$\..\Include\sam7s256.h - $PROJ_DIR$\..\..\Source\c_sound.iom - $TOOLKIT_DIR$\inc\xmtx.h - $PROJ_DIR$\..\..\Source\stdconst.h - $PROJ_DIR$\..\Include\AT91SAM7S256.h - $PROJ_DIR$\..\..\Source\d_button.h - $PROJ_DIR$\..\Object\m_sched.s - $PROJ_DIR$\..\Object\Cstartup_SAM7.s - $PROJ_DIR$\..\..\Source\c_led.h - $PROJ_DIR$\..\Object\c_input.pbi - $PROJ_DIR$\..\Object\c_sound.s - $PROJ_DIR$\..\Object\Cstartup_SAM7.r79 - $PROJ_DIR$\..\..\Source\Submenu03.rms - $PROJ_DIR$\at91SAM7S256_Remap.xcl - $PROJ_DIR$\..\Object\c_lowspeed.s - $PROJ_DIR$\..\Object\d_lowspeed.pbi - $PROJ_DIR$\..\Object\c_loader.pbi - $PROJ_DIR$\..\Object\c_comm.pbi - $PROJ_DIR$\..\Object\d_loader.r79 - $PROJ_DIR$\..\Object\c_output.s - $PROJ_DIR$\..\Object\d_bt.r79 - $PROJ_DIR$\..\..\Source\d_led.c - $PROJ_DIR$\..\Object\c_display.r79 - $PROJ_DIR$\..\Object\c_sound.r79 - $PROJ_DIR$\..\..\Source\d_led.r - $PROJ_DIR$\..\Object\m_sched.pbi - $PROJ_DIR$\..\Lib\dl4tptinl8n.r79 - $PROJ_DIR$\..\..\Source\d_led.h - $PROJ_DIR$\..\Object\d_timer.pbi - $PROJ_DIR$\..\Object\c_output.pbi - $PROJ_DIR$\..\Object\d_display.pbi + $PROJ_DIR$\..\..\Source\c_display.iom + $PROJ_DIR$\..\..\Source\c_sound.h + $PROJ_DIR$\..\..\Source\c_ioctrl.iom + $PROJ_DIR$\..\..\Source\d_sound.r + $PROJ_DIR$\..\..\Source\d_sound.h + $TOOLKIT_DIR$\inc\yvals.h + $PROJ_DIR$\..\..\Source\c_cmd.iom + $TOOLKIT_DIR$\inc\DLib_Product.h + $PROJ_DIR$\..\..\Source\d_bt.r + $TOOLKIT_DIR$\inc\xtinfo.h + $PROJ_DIR$\..\..\Source\Fail.txt + $TOOLKIT_DIR$\inc\xlocale_c.h + $PROJ_DIR$\..\..\Source\d_hispeed.r + $PROJ_DIR$\..\..\Source\RCXintro_10.txt $PROJ_DIR$\..\..\Source\c_led.c - $PROJ_DIR$\..\Object\d_bt.s - $PROJ_DIR$\..\Object\d_usb.r79 - $PROJ_DIR$\..\Object\Cstartup.r79 - $PROJ_DIR$\..\Object\c_ui.pbi - $PROJ_DIR$\..\Object\d_input.s + $PROJ_DIR$\..\..\Source\RCXintro_3.txt $PROJ_DIR$\..\Object\c_lowspeed.pbi - $PROJ_DIR$\..\Object\c_ui.s - $PROJ_DIR$\..\Object\c_button.s - $PROJ_DIR$\..\Object\d_button.s - $PROJ_DIR$\..\Object\d_timer.r79 - $PROJ_DIR$\..\Object\d_ioctrl.r79 + $PROJ_DIR$\..\..\Source\d_led.c + $PROJ_DIR$\..\Object\d_input.s + $PROJ_DIR$\..\Object\d_hispeed.r79 + $PROJ_DIR$\..\Object\c_output.s + $PROJ_DIR$\..\Object\Cstartup_SAM7.r79 $PROJ_DIR$\..\Object\d_lowspeed.r79 - $TOOLKIT_DIR$\inc\limits.h $PROJ_DIR$\..\Object\c_cmd.s $PROJ_DIR$\..\Object\c_loader.s $PROJ_DIR$\..\Object\d_output.s @@ -947,12 +925,48 @@ $PROJ_DIR$\..\Object\c_input.s $PROJ_DIR$\..\Object\LMS_ARM.a79 $PROJ_DIR$\..\Object\c_output.r79 + $PROJ_DIR$\..\Object\c_sound.r79 + $PROJ_DIR$\..\Object\c_display.pbi + $PROJ_DIR$\..\Object\Cstartup_SAM7.pbi + $PROJ_DIR$\..\Object\d_bt.r79 + $PROJ_DIR$\..\Object\d_lowspeed.pbi + $PROJ_DIR$\..\Object\d_button.s + $PROJ_DIR$\..\Object\d_timer.r79 + $PROJ_DIR$\..\Object\d_ioctrl.r79 + $PROJ_DIR$\..\Object\m_sched.pbi + $PROJ_DIR$\..\Lib\dl4tptinl8n.r79 + $PROJ_DIR$\..\Object\d_hispeed.pbi + $PROJ_DIR$\..\Object\d_timer.pbi + $PROJ_DIR$\..\Object\c_output.pbi + $PROJ_DIR$\..\Object\d_bt.s + $PROJ_DIR$\..\Object\d_usb.r79 + $PROJ_DIR$\..\Object\Cstartup.r79 + $PROJ_DIR$\..\Object\c_ui.pbi + $PROJ_DIR$\..\Object\c_ui.r79 + $PROJ_DIR$\..\Object\d_button.r79 + $PROJ_DIR$\..\Object\d_output.pbi + $PROJ_DIR$\..\Object\c_loader.pbi + $PROJ_DIR$\..\Object\c_comm.pbi + $PROJ_DIR$\..\Object\d_loader.r79 + $PROJ_DIR$\..\Object\c_ui.s + $PROJ_DIR$\..\Object\m_sched.s + $TOOLKIT_DIR$\inc\math.h + $PROJ_DIR$\..\Object\c_button.s + $PROJ_DIR$\..\..\Source\c_led.iom + $PROJ_DIR$\..\Object\c_input.pbi + $PROJ_DIR$\..\Object\c_sound.s + $PROJ_DIR$\..\Object\d_display.r79 + $PROJ_DIR$\..\..\Source\c_led.h + $PROJ_DIR$\..\..\Source\Submenu03.rms + $PROJ_DIR$\at91SAM7S256_Remap.xcl + $PROJ_DIR$\..\Object\c_lowspeed.s + $PROJ_DIR$\..\Object\Cstartup_SAM7.s $PROJ_DIR$\..\Object\c_display.s + $PROJ_DIR$\..\Object\c_button.pbi $PROJ_DIR$\..\Object\c_led.r79 $PROJ_DIR$\..\Object\d_output.r79 $PROJ_DIR$\..\Object\d_input.pbi $PROJ_DIR$\..\Object\c_ioctrl.pbi - $PROJ_DIR$\..\Object\c_button.pbi $PROJ_DIR$\..\Object\d_led.r79 $PROJ_DIR$\..\Object\d_usb.s $PROJ_DIR$\..\Object\c_sound.pbi @@ -960,16 +974,17 @@ $PROJ_DIR$\..\..\Source\d_sound_adpcm.r $PROJ_DIR$\..\Object\d_lowspeed.s $PROJ_DIR$\..\Object\c_cmd.r79 - $PROJ_DIR$\..\Object\d_hispeed.r79 + $PROJ_DIR$\..\Object\c_lowspeed.r79 $PROJ_DIR$\..\Object\c_ioctrl.r79 $PROJ_DIR$\..\Object\d_loader.pbi $PROJ_DIR$\..\Object\c_loader.r79 $PROJ_DIR$\..\Object\c_ioctrl.s $PROJ_DIR$\..\Object\LMS_ARM.pbd + $TOOLKIT_DIR$\inc\ymath.h $PROJ_DIR$\..\Object\LMS_ARM.d79 - $PROJ_DIR$\..\Object\Cstartup_SAM7.pbi - $TOOLKIT_DIR$\inc\math.h - $PROJ_DIR$\..\Object\c_display.pbi + $PROJ_DIR$\..\..\Source\d_led.h + $PROJ_DIR$\..\Object\c_display.r79 + $PROJ_DIR$\..\..\Source\d_led.r $PROJ_DIR$\..\Object\c_button.r79 $PROJ_DIR$\..\Object\LMS_ARM.map $PROJ_DIR$\..\Object\c_comm.s @@ -978,57 +993,54 @@ $PROJ_DIR$\..\Object\c_input.r79 $PROJ_DIR$\..\Object\d_ioctrl.pbi $PROJ_DIR$\..\Object\c_cmd.pbi - $PROJ_DIR$\..\Object\d_hispeed.pbi - $PROJ_DIR$\..\..\Source\c_led.iom + $PROJ_DIR$\..\Object\d_display.pbi $PROJ_DIR$\..\Object\d_timer.s - $PROJ_DIR$\..\Object\c_lowspeed.r79 $PROJ_DIR$\..\Object\d_ioctrl.s - $TOOLKIT_DIR$\inc\ymath.h $PROJ_DIR$\..\Object\m_sched.r79 $PROJ_DIR$\..\Object\d_loader.s $PROJ_DIR$\..\Object\d_button.pbi $PROJ_DIR$\..\Object\d_display.s $PROJ_DIR$\..\Object\d_sound.r79 $PROJ_DIR$\..\Object\c_comm.r79 - $PROJ_DIR$\..\Object\c_ui.r79 - $PROJ_DIR$\..\Object\d_button.r79 - $PROJ_DIR$\..\..\Source\c_comm.iom - $PROJ_DIR$\..\..\Source\d_display.r - $PROJ_DIR$\..\..\Source\RCXintro_6.txt - $PROJ_DIR$\..\Include\sam7s256.c + $PROJ_DIR$\..\..\Source\Test2.txt + $PROJ_DIR$\..\..\Source\Connections.txt + $PROJ_DIR$\..\Include\AT91SAM7S256_inc.h + $PROJ_DIR$\..\..\Source\d_hispeed.h + $PROJ_DIR$\..\..\Source\RCXintro_13.txt + $PROJ_DIR$\..\..\Source\Submenu07.rms + $PROJ_DIR$\..\..\Source\RCXintro_16.txt + $PROJ_DIR$\..\..\Source\c_comm.c + $PROJ_DIR$\..\..\Source\Test1.txt + $PROJ_DIR$\..\..\Source\Step.txt + $TOOLKIT_DIR$\inc\limits.h + $PROJ_DIR$\..\..\Source\Port.txt + $PROJ_DIR$\..\..\Source\c_output.h + $PROJ_DIR$\..\..\Source\d_timer.r + $PROJ_DIR$\..\..\Source\Submenu04.rms + $TOOLKIT_DIR$\inc\DLib_Defaults.h + $PROJ_DIR$\..\..\Source\c_loader.iom + $PROJ_DIR$\..\..\Source\c_display.h + $PROJ_DIR$\..\..\Source\Running.txt + $PROJ_DIR$\..\..\Source\Info.txt + $PROJ_DIR$\..\..\Source\Font.txt + $PROJ_DIR$\..\..\Source\RCXintro_12.txt + $PROJ_DIR$\..\..\Source\c_cmd_bytecodes.h + $PROJ_DIR$\..\..\Source\Submenu02.rms + $PROJ_DIR$\..\..\Source\d_ioctrl.h + $PROJ_DIR$\..\..\Source\modules.h + $PROJ_DIR$\..\..\Source\c_input.iom + $PROJ_DIR$\..\..\Source\c_button.iom + $PROJ_DIR$\..\..\Source\d_usb.r + $PROJ_DIR$\..\..\Source\Submenu06.rms + $TOOLKIT_DIR$\inc\xtls.h + $PROJ_DIR$\..\..\Source\c_sound.iom + $PROJ_DIR$\..\..\Source\Wait.txt $PROJ_DIR$\..\..\Source\c_lowspeed.iom - $PROJ_DIR$\..\Lib\dl4tptinl8n.h - $TOOLKIT_DIR$\inc\stdbool.h - $PROJ_DIR$\..\..\Source\c_ui.iom - $PROJ_DIR$\..\..\Source\c_comm.h - $PROJ_DIR$\..\..\Source\d_lowspeed.h - $PROJ_DIR$\..\..\Source\c_loader.h - $PROJ_DIR$\..\Object\d_display.r79 - $PROJ_DIR$\..\Object\d_output.pbi - $PROJ_DIR$\..\..\Source\Display.txt - $PROJ_DIR$\..\..\Source\RCXintro_15.txt - $PROJ_DIR$\..\..\Source\LowBattery.txt - $PROJ_DIR$\..\..\Source\d_output.h - $PROJ_DIR$\..\..\Source\RCXintro_5.txt - $PROJ_DIR$\..\..\Source\d_ioctrl.r - $PROJ_DIR$\..\..\Source\c_cmd.h - $PROJ_DIR$\..\..\Source\RCXintro_14.txt - $TOOLKIT_DIR$\inc\ysizet.h - $PROJ_DIR$\..\Include\ioat91sam7s256.h - $TOOLKIT_DIR$\inc\yvals.h - $PROJ_DIR$\..\..\Source\RCXintro_7.txt - $PROJ_DIR$\..\..\Source\d_loader.r - $PROJ_DIR$\..\..\Source\d_sound.r - $TOOLKIT_DIR$\inc\xlocale.h - $PROJ_DIR$\..\..\Source\d_sound.h - $TOOLKIT_DIR$\inc\stdlib.h - $PROJ_DIR$\..\..\Source\c_button.c - $PROJ_DIR$\..\..\Source\c_button.h - $PROJ_DIR$\..\..\Source\Submenu05.rms - $PROJ_DIR$\..\..\Source\Icons.txt - $PROJ_DIR$\..\..\Source\c_display.c + $PROJ_DIR$\..\..\Source\RCXintro_11.txt + $PROJ_DIR$\..\..\Source\RCXintro_8.txt $PROJ_DIR$\..\..\Source\c_input.c $PROJ_DIR$\..\..\Source\c_ioctrl.c + $PROJ_DIR$\..\..\Source\c_button.c $PROJ_DIR$\..\..\Source\c_loader.c $PROJ_DIR$\..\..\Source\c_lowspeed.c $PROJ_DIR$\..\..\Source\c_output.c @@ -1050,238 +1062,203 @@ $PROJ_DIR$\..\..\Source\d_usb.c $PROJ_DIR$\..\..\Source\Functions.inl $PROJ_DIR$\..\..\Source\m_sched.c - $PROJ_DIR$\..\..\Source\d_button.r - $PROJ_DIR$\..\..\Source\Devices.txt - $TOOLKIT_DIR$\inc\xlocaleuse.h - $PROJ_DIR$\..\..\Source\c_output.iom - $PROJ_DIR$\..\..\Source\d_usb.h - $PROJ_DIR$\..\..\Source\Mainmenu.rms - $TOOLKIT_DIR$\inc\ctype.h - $PROJ_DIR$\..\..\Source\d_bt.h - $PROJ_DIR$\..\..\Source\d_bt.r - $PROJ_DIR$\..\..\Source\RCXintro_8.txt - $PROJ_DIR$\..\..\Source\Connections.txt - $PROJ_DIR$\..\..\Source\Port.txt - $PROJ_DIR$\..\..\Source\RCXintro_2.txt - $PROJ_DIR$\..\..\Source\c_lowspeed.h + $PROJ_DIR$\..\..\Source\d_loader.h + $PROJ_DIR$\..\..\Source\c_display.c + + [ROOT_NODE] + + + XLINK + 157 162 99 + + + $PROJ_DIR$\..\..\Source\c_cmd.c ICCARM - 135 + 149 BICOMP - 153 + 168 ICCARM - 72 59 52 229 56 12 175 70 48 10 168 172 38 69 190 187 47 57 42 191 61 173 44 22 26 189 68 197 144 159 113 25 + 3 203 75 43 204 194 19 209 205 69 30 211 9 16 39 26 200 50 48 74 193 66 76 12 11 38 1 56 126 156 188 31 BICOMP - 72 59 52 229 56 12 175 70 48 10 168 172 38 69 190 187 47 57 42 191 61 44 22 26 189 68 197 144 159 113 25 + 3 203 75 43 204 194 19 209 205 69 30 211 9 16 39 26 200 50 48 74 193 76 12 11 38 1 56 126 156 188 31 - [ROOT_NODE] - - - XLINK - 142 147 121 - - - - - $PROJ_DIR$\..\..\Source\c_comm.c + $PROJ_DIR$\..\..\Source\c_led.c ICCARM - 165 - - - BICOMP - 86 + 139 ICCARM - 72 59 168 12 54 175 52 10 176 230 37 233 68 191 61 173 44 22 26 189 232 195 51 71 197 228 15 11 39 35 - - - BICOMP - 72 59 168 12 54 175 52 10 176 230 37 233 68 191 61 44 22 26 189 232 195 51 71 197 228 15 11 39 35 + 3 203 128 132 158 - $PROJ_DIR$\..\Object\m_sched.s + $PROJ_DIR$\..\..\Source\d_led.c - AARM - 160 + ICCARM + 143 - - - $PROJ_DIR$\..\Object\Cstartup_SAM7.s - + - AARM - 80 + ICCARM + 3 9 16 39 158 160 - + - $PROJ_DIR$\..\Object\c_sound.s + $PROJ_DIR$\..\Object\d_input.s AARM - 92 + 95 - $PROJ_DIR$\..\Object\c_lowspeed.s + $PROJ_DIR$\..\Object\c_output.s AARM - 157 + 100 - $PROJ_DIR$\..\Object\c_output.s + $PROJ_DIR$\..\Object\c_cmd.s AARM - 122 + 149 - $PROJ_DIR$\..\..\Source\d_led.c + $PROJ_DIR$\..\Object\c_loader.s - ICCARM - 129 + AARM + 153 - - - ICCARM - 72 38 69 190 96 93 - - - $PROJ_DIR$\..\..\Source\c_led.c + $PROJ_DIR$\..\Object\d_output.s - ICCARM - 124 + AARM + 140 - - - ICCARM - 72 59 155 77 96 - - - $PROJ_DIR$\..\Object\d_bt.s + $PROJ_DIR$\..\Object\d_hispeed.s AARM - 89 + 88 - $PROJ_DIR$\..\Object\d_input.s + $PROJ_DIR$\..\Object\c_input.s AARM - 117 + 166 - $PROJ_DIR$\..\Object\c_ui.s + $PROJ_DIR$\..\Object\d_button.s AARM - 166 + 119 - $PROJ_DIR$\..\Object\c_button.s + $PROJ_DIR$\..\Object\d_bt.s AARM - 146 + 104 - $PROJ_DIR$\..\Object\d_button.s + $PROJ_DIR$\..\Object\c_ui.s AARM - 167 + 118 - $PROJ_DIR$\..\Object\c_cmd.s + $PROJ_DIR$\..\Object\m_sched.s AARM - 135 + 172 - $PROJ_DIR$\..\Object\c_loader.s + $PROJ_DIR$\..\Object\c_button.s AARM - 139 + 161 - $PROJ_DIR$\..\Object\d_output.s + $PROJ_DIR$\..\Object\c_sound.s AARM - 125 + 101 - $PROJ_DIR$\..\Object\d_hispeed.s + $PROJ_DIR$\..\Object\c_lowspeed.s AARM - 136 + 150 - $PROJ_DIR$\..\Object\c_input.s + $PROJ_DIR$\..\Object\Cstartup_SAM7.s AARM - 151 + 90 @@ -1290,7 +1267,7 @@ AARM - 91 + 159 @@ -1299,7 +1276,7 @@ AARM - 102 + 115 @@ -1308,7 +1285,7 @@ AARM - 112 + 91 @@ -1317,7 +1294,7 @@ AARM - 137 + 151 @@ -1326,7 +1303,7 @@ BILINK - 143 128 153 86 145 78 127 85 106 98 131 104 132 162 99 154 126 152 138 84 180 149 97 118 94 + 103 138 168 122 102 129 142 121 85 113 145 117 146 174 169 111 141 167 152 105 120 164 112 96 109 @@ -1335,13 +1312,13 @@ XLINK - 147 121 + 162 99 XLINK - 82 103 80 146 135 165 91 151 137 139 157 122 92 166 89 167 179 136 117 111 87 112 125 164 110 102 160 95 + 134 116 90 161 149 177 159 166 151 153 150 100 101 118 104 119 131 88 95 108 123 91 140 176 107 115 172 110 @@ -1350,7 +1327,7 @@ AARM - 165 + 177 @@ -1359,7 +1336,7 @@ AARM - 164 + 176 @@ -1368,7 +1345,7 @@ AARM - 110 + 107 @@ -1377,7 +1354,7 @@ AARM - 111 + 108 @@ -1386,7 +1363,7 @@ AARM - 87 + 123 @@ -1395,58 +1372,58 @@ AARM - 179 + 131 - $PROJ_DIR$\..\..\Source\c_button.c + $PROJ_DIR$\..\..\Source\c_comm.c ICCARM - 146 + 177 BICOMP - 128 + 122 ICCARM - 72 59 199 48 74 + 3 203 30 194 71 19 75 69 29 63 181 55 1 74 193 66 76 12 11 38 52 54 208 8 56 45 80 78 14 13 BICOMP - 72 59 199 48 74 + 3 203 30 194 71 19 75 69 29 63 181 55 1 74 193 76 12 11 38 52 54 208 8 56 45 80 78 14 13 - $PROJ_DIR$\..\..\Source\c_display.c + $PROJ_DIR$\..\..\Source\c_input.c ICCARM - 91 + 166 BICOMP - 145 + 129 ICCARM - 68 191 61 173 44 22 26 189 72 59 10 5 3 + 3 203 61 204 27 43 194 1 74 193 66 76 12 11 38 BICOMP - 68 191 61 44 22 26 189 72 59 10 5 3 + 3 203 61 204 27 43 194 1 74 193 76 12 11 38 - $PROJ_DIR$\..\..\Source\c_input.c + $PROJ_DIR$\..\..\Source\c_ioctrl.c ICCARM @@ -1454,40 +1431,40 @@ BICOMP - 78 + 142 ICCARM - 72 59 29 56 1 229 12 68 191 61 173 44 22 26 189 + 3 203 71 18 202 BICOMP - 72 59 29 56 1 229 12 68 191 61 44 22 26 189 + 3 203 71 18 202 - $PROJ_DIR$\..\..\Source\c_ioctrl.c + $PROJ_DIR$\..\..\Source\c_button.c ICCARM - 137 + 161 BICOMP - 127 + 138 ICCARM - 72 59 54 28 9 + 3 203 47 205 15 BICOMP - 72 59 54 28 9 + 3 203 47 205 15 @@ -1496,21 +1473,21 @@ ICCARM - 139 + 153 BICOMP - 85 + 121 ICCARM - 72 59 12 54 45 178 68 191 61 173 44 22 26 189 + 3 203 194 71 238 21 1 74 193 66 76 12 11 38 BICOMP - 72 59 12 54 45 178 68 191 61 44 22 26 189 + 3 203 194 71 238 21 1 74 193 76 12 11 38 @@ -1519,21 +1496,21 @@ ICCARM - 157 + 150 BICOMP - 106 + 85 ICCARM - 72 59 172 56 239 177 + 3 203 211 204 67 20 BICOMP - 72 59 172 56 239 177 + 3 203 211 204 67 20 @@ -1542,21 +1519,21 @@ ICCARM - 122 + 100 BICOMP - 98 + 113 ICCARM - 42 191 61 173 44 22 26 189 174 72 59 229 23 184 10 + 48 74 193 66 76 12 11 38 17 3 203 43 190 22 69 BICOMP - 42 191 61 44 22 26 189 174 72 59 229 23 184 10 + 48 74 193 76 12 11 38 17 3 203 43 190 22 69 @@ -1565,21 +1542,21 @@ ICCARM - 92 + 101 BICOMP - 131 + 145 ICCARM - 197 191 61 173 44 22 26 189 68 72 59 70 12 8 196 + 56 74 193 66 76 12 11 38 1 3 203 209 194 70 73 BICOMP - 197 191 61 44 22 26 189 68 72 59 70 12 8 196 + 56 74 193 76 12 11 38 1 3 203 209 194 70 73 @@ -1588,21 +1565,21 @@ ICCARM - 166 + 118 BICOMP - 104 + 117 ICCARM - 42 191 61 173 44 22 26 189 68 232 195 51 71 197 228 15 11 39 35 72 59 175 34 38 69 190 10 12 48 70 56 229 54 52 168 172 181 183 33 40 6 55 237 58 67 17 7 201 31 238 16 19 185 170 192 235 32 14 63 46 36 188 182 41 65 227 236 43 231 66 24 81 60 200 50 20 224 53 64 13 + 48 74 193 66 76 12 11 38 1 52 54 208 8 56 45 80 78 14 13 3 203 19 59 9 16 39 69 194 205 209 204 43 71 75 30 211 28 36 198 187 46 196 189 58 210 79 197 41 6 33 84 2 37 24 49 213 7 82 212 199 182 65 35 184 68 44 179 32 64 57 201 133 192 40 207 183 236 10 186 178 BICOMP - 42 191 61 44 22 26 189 68 232 195 51 71 197 228 15 11 39 35 72 59 175 34 38 69 190 10 12 48 70 56 229 54 52 168 172 181 183 33 40 6 55 237 58 67 17 7 201 31 238 16 19 185 170 192 235 32 14 63 46 36 188 182 41 65 227 236 43 231 66 24 81 60 200 50 20 224 53 64 13 + 48 74 193 76 12 11 38 1 52 54 208 8 56 45 80 78 14 13 3 203 19 59 9 16 39 69 194 205 209 204 43 71 75 30 211 28 36 198 187 46 196 189 58 210 79 197 41 6 33 84 2 37 24 49 213 7 82 212 199 182 65 35 184 68 44 179 32 64 57 201 133 192 40 207 183 236 10 186 178 @@ -1611,13 +1588,13 @@ AARM - 103 + 116 AARM - 27 + 180 @@ -1626,21 +1603,21 @@ ICCARM - 80 + 90 BICOMP - 143 + 103 ICCARM - 73 + 4 BICOMP - 73 + 4 @@ -1649,21 +1626,21 @@ ICCARM - 89 + 104 BICOMP - 132 + 146 ICCARM - 72 59 38 69 190 233 234 68 191 61 173 44 22 26 189 + 3 203 9 16 39 55 77 1 74 193 66 76 12 11 38 BICOMP - 72 59 38 69 190 233 234 68 191 61 44 22 26 189 + 3 203 9 16 39 55 77 1 74 193 76 12 11 38 @@ -1672,21 +1649,21 @@ ICCARM - 167 + 119 BICOMP - 162 + 174 ICCARM - 72 38 69 190 74 226 + 3 9 16 39 15 42 BICOMP - 72 38 69 190 74 226 + 3 9 16 39 15 42 @@ -1695,21 +1672,21 @@ ICCARM - 179 + 131 BICOMP - 99 + 169 ICCARM - 72 38 69 190 3 169 + 3 9 16 39 51 5 BICOMP - 72 38 69 190 3 169 + 3 9 16 39 51 5 @@ -1718,21 +1695,21 @@ ICCARM - 136 + 88 BICOMP - 154 + 111 ICCARM - 72 38 69 190 37 18 + 3 9 16 39 181 81 BICOMP - 72 38 69 190 37 18 + 3 9 16 39 181 81 @@ -1741,21 +1718,21 @@ ICCARM - 117 + 95 BICOMP - 126 + 141 ICCARM - 72 38 69 190 29 56 1 30 + 3 9 16 39 61 204 27 62 BICOMP - 72 38 69 190 29 56 1 30 + 3 9 16 39 61 204 27 62 @@ -1764,21 +1741,21 @@ ICCARM - 111 + 108 BICOMP - 152 + 167 ICCARM - 68 191 61 173 44 22 26 189 72 38 69 190 9 186 + 1 74 193 66 76 12 11 38 3 9 16 39 202 23 BICOMP - 68 191 61 44 22 26 189 72 38 69 190 9 186 + 1 74 193 76 12 11 38 3 9 16 39 202 23 @@ -1787,21 +1764,21 @@ ICCARM - 87 + 123 BICOMP - 138 + 152 ICCARM - 72 59 38 69 190 45 193 68 191 61 173 44 22 26 189 232 195 51 71 197 228 15 11 39 35 + 3 203 9 16 39 238 34 1 74 193 66 76 12 11 38 52 54 208 8 56 45 80 78 14 13 BICOMP - 72 59 38 69 190 45 193 68 191 61 44 22 26 189 232 195 51 71 197 228 15 11 39 35 + 3 203 9 16 39 238 34 1 74 193 76 12 11 38 52 54 208 8 56 45 80 78 14 13 @@ -1810,21 +1787,21 @@ ICCARM - 112 + 91 BICOMP - 84 + 105 ICCARM - 72 38 69 190 177 21 + 3 9 16 39 20 60 BICOMP - 72 38 69 190 177 21 + 3 9 16 39 20 60 @@ -1833,21 +1810,21 @@ ICCARM - 125 + 140 BICOMP - 180 + 120 ICCARM - 72 38 69 190 184 4 + 3 9 16 39 22 53 BICOMP - 72 38 69 190 184 4 + 3 9 16 39 22 53 @@ -1856,21 +1833,21 @@ ICCARM - 164 + 176 BICOMP - 149 + 164 ICCARM - 72 38 69 190 196 194 133 + 3 9 16 39 73 72 147 BICOMP - 72 38 69 190 196 194 133 + 3 9 16 39 73 72 147 @@ -1879,21 +1856,21 @@ ICCARM - 110 + 107 BICOMP - 97 + 112 ICCARM - 72 38 69 190 57 62 + 3 9 16 39 50 191 BICOMP - 72 38 69 190 57 62 + 3 9 16 39 50 191 @@ -1902,21 +1879,21 @@ ICCARM - 102 + 115 BICOMP - 118 + 96 ICCARM - 72 38 69 190 230 49 + 3 9 16 39 63 206 BICOMP - 72 38 69 190 230 49 + 3 9 16 39 63 206 @@ -1925,21 +1902,44 @@ ICCARM - 160 + 172 BICOMP - 94 + 109 + + + + + ICCARM + 3 203 9 16 39 25 29 61 204 47 205 21 70 195 67 190 26 200 75 18 59 + + + BICOMP + 3 203 9 16 39 25 29 61 204 47 205 21 70 195 67 190 26 200 75 18 59 + + + + + $PROJ_DIR$\..\..\Source\c_display.c + + + ICCARM + 159 + + + BICOMP + 102 ICCARM - 72 59 38 69 190 171 176 29 56 199 48 178 8 5 239 23 187 47 52 28 34 + 1 74 193 66 76 12 11 38 3 203 69 195 51 BICOMP - 72 59 38 69 190 171 176 29 56 199 48 178 8 5 239 23 187 47 52 28 34 + 1 74 193 76 12 11 38 3 203 69 195 51 @@ -1948,346 +1948,323 @@ Flash Debug $PROJ_DIR$\..\..\Source\c_cmd.c - $PROJ_DIR$\..\..\Source\d_input.h - $PROJ_DIR$\..\..\Source\c_comm.c - $PROJ_DIR$\..\..\Source\d_display.h - $PROJ_DIR$\..\..\Source\d_output.r - $PROJ_DIR$\..\..\Source\c_display.h - $PROJ_DIR$\..\..\Source\Cursor.txt - $PROJ_DIR$\..\..\Source\Info.txt - $PROJ_DIR$\..\..\Source\c_sound.h - $PROJ_DIR$\..\..\Source\d_ioctrl.h - $PROJ_DIR$\..\..\Source\c_display.iom - $TOOLKIT_DIR$\inc\xtinfo.h - $PROJ_DIR$\..\..\Source\c_loader.iom - $PROJ_DIR$\..\..\Source\Test2.txt - $PROJ_DIR$\..\..\Source\RCXintro_10.txt - $TOOLKIT_DIR$\inc\xlocale_c.h - $PROJ_DIR$\..\..\Source\RCXintro_3.txt - $PROJ_DIR$\..\..\Source\Fail.txt - $PROJ_DIR$\..\..\Source\d_hispeed.r + $TOOLKIT_DIR$\inc\string.h $PROJ_DIR$\..\..\Source\RCXintro_4.txt - $PROJ_DIR$\..\..\Source\Submenu07.rms - $PROJ_DIR$\..\..\Source\d_lowspeed.r - $TOOLKIT_DIR$\inc\xencoding_limits.h - $PROJ_DIR$\..\..\Source\c_output.h - $PROJ_DIR$\..\..\Source\Submenu02.rms - $PROJ_DIR$\..\..\Source\c_cmd_drawing.inc - $TOOLKIT_DIR$\inc\DLib_Threads.h - $PROJ_DIR$\..\Include\AT91SAM7S256_inc.h - $PROJ_DIR$\..\..\Source\c_ioctrl.h - $PROJ_DIR$\..\..\Source\c_input.h - $PROJ_DIR$\..\..\Source\d_input.r + $PROJ_DIR$\..\..\Source\stdconst.h + $PROJ_DIR$\..\Include\AT91SAM7S256.h + $PROJ_DIR$\..\..\Source\d_display.r $PROJ_DIR$\..\..\Source\RCXintro_1.txt $PROJ_DIR$\..\..\Source\RCXintro_9.txt - $PROJ_DIR$\..\..\Source\Font.txt - $PROJ_DIR$\..\..\Source\c_ui.h - $TOOLKIT_DIR$\inc\wchar.h - $PROJ_DIR$\..\..\Source\RCXintro_13.txt - $PROJ_DIR$\..\..\Source\d_hispeed.h + $TOOLKIT_DIR$\inc\xmtx.h $PROJ_DIR$\..\..\Source\m_sched.h + $PROJ_DIR$\..\..\Source\BtTest.inc + $TOOLKIT_DIR$\inc\DLib_Threads.h + $TOOLKIT_DIR$\inc\xencoding_limits.h + $TOOLKIT_DIR$\inc\wchar.h $TOOLKIT_DIR$\inc\time.h - $PROJ_DIR$\..\..\Source\Step.txt - $PROJ_DIR$\..\..\Source\RCXintro_16.txt - $TOOLKIT_DIR$\inc\stdio.h + $PROJ_DIR$\..\..\Source\d_button.h + $PROJ_DIR$\..\Include\sam7s256.h + $TOOLKIT_DIR$\inc\stdbool.h + $PROJ_DIR$\..\..\Source\c_ioctrl.h + $PROJ_DIR$\..\..\Source\c_ui.iom + $PROJ_DIR$\..\..\Source\d_lowspeed.h + $PROJ_DIR$\..\..\Source\c_loader.h + $PROJ_DIR$\..\..\Source\d_output.h + $PROJ_DIR$\..\..\Source\d_ioctrl.r + $PROJ_DIR$\..\..\Source\RCXintro_6.txt + $PROJ_DIR$\..\Include\sam7s256.c + $PROJ_DIR$\..\..\Source\c_cmd.h + $PROJ_DIR$\..\..\Source\d_input.h + $PROJ_DIR$\..\..\Source\Display.txt + $PROJ_DIR$\..\..\Source\c_comm.h + $PROJ_DIR$\..\..\Source\c_comm.iom + $PROJ_DIR$\..\..\Source\c_cmd_drawing.inc $PROJ_DIR$\..\..\Source\Ui.txt - $TOOLKIT_DIR$\inc\DLib_Product.h - $PROJ_DIR$\..\..\Source\d_loader.h - $PROJ_DIR$\..\..\Source\RCXintro_12.txt - $PROJ_DIR$\..\..\Source\c_cmd_bytecodes.h - $PROJ_DIR$\..\..\Source\c_button.iom - $PROJ_DIR$\..\..\Source\d_usb.r - $PROJ_DIR$\..\..\Source\Submenu06.rms - $TOOLKIT_DIR$\inc\xtls.h - $PROJ_DIR$\..\..\Source\c_cmd.iom - $PROJ_DIR$\..\..\Source\BtTest.inc - $PROJ_DIR$\..\..\Source\c_ioctrl.iom - $PROJ_DIR$\..\..\Source\Running.txt - $PROJ_DIR$\..\..\Source\c_input.iom + $PROJ_DIR$\..\..\Source\RCXintro_2.txt + $PROJ_DIR$\..\..\Source\d_loader.r + $PROJ_DIR$\..\..\Source\RCXintro_15.txt + $PROJ_DIR$\..\..\Source\LowBattery.txt + $PROJ_DIR$\..\..\Source\RCXintro_5.txt + $TOOLKIT_DIR$\inc\ysizet.h + $PROJ_DIR$\..\Include\ioat91sam7s256.h + $PROJ_DIR$\..\..\Source\Submenu05.rms + $PROJ_DIR$\..\..\Source\Icons.txt + $PROJ_DIR$\..\..\Source\d_button.r + $PROJ_DIR$\..\..\Source\c_output.iom + $PROJ_DIR$\..\..\Source\Devices.txt + $TOOLKIT_DIR$\inc\xlocaleuse.h + $PROJ_DIR$\..\..\Source\Cursor.txt + $PROJ_DIR$\..\..\Source\c_button.h + $TOOLKIT_DIR$\inc\stdio.h + $PROJ_DIR$\..\..\Source\RCXintro_7.txt $PROJ_DIR$\..\..\Source\d_timer.h + $PROJ_DIR$\..\..\Source\d_display.h + $TOOLKIT_DIR$\inc\ctype.h + $PROJ_DIR$\..\..\Source\d_output.r + $TOOLKIT_DIR$\inc\xlocale.h + $PROJ_DIR$\..\..\Source\d_bt.h + $TOOLKIT_DIR$\inc\stdlib.h + $PROJ_DIR$\..\..\Source\Submenu01.rms $PROJ_DIR$\..\..\Source\Ok.txt - $PROJ_DIR$\..\..\Source\modules.h - $PROJ_DIR$\..\..\Source\Submenu04.rms - $TOOLKIT_DIR$\inc\DLib_Defaults.h - $PROJ_DIR$\..\..\Source\d_timer.r - $PROJ_DIR$\..\..\Source\RCXintro_11.txt - $PROJ_DIR$\..\..\Source\Test1.txt + $PROJ_DIR$\..\..\Source\c_ui.h + $PROJ_DIR$\..\..\Source\d_lowspeed.r + $PROJ_DIR$\..\..\Source\c_input.h + $PROJ_DIR$\..\..\Source\d_input.r + $PROJ_DIR$\..\..\Source\d_usb.h + $PROJ_DIR$\..\..\Source\Mainmenu.rms + $PROJ_DIR$\..\..\Source\RCXintro_14.txt + $PROJ_DIR$\..\Lib\dl4tptinl8n.h + $PROJ_DIR$\..\..\Source\c_lowspeed.h $PROJ_DIR$\..\..\Source\Status.txt - $PROJ_DIR$\..\..\Source\Submenu01.rms - $PROJ_DIR$\..\..\Source\Wait.txt - $TOOLKIT_DIR$\inc\string.h - $PROJ_DIR$\..\Include\sam7s256.h - $PROJ_DIR$\..\..\Source\c_sound.iom - $TOOLKIT_DIR$\inc\xmtx.h - $PROJ_DIR$\..\..\Source\stdconst.h - $PROJ_DIR$\..\Include\AT91SAM7S256.h - $PROJ_DIR$\..\..\Source\d_button.h - $PROJ_DIR$\..\..\Source\c_led.h - $PROJ_DIR$\SrcIAR\Cstartup_SAM7.c - $PROJ_DIR$\..\Object\c_input.pbi - $PROJ_DIR$\..\Object\Cstartup_SAM7.r79 - $PROJ_DIR$\..\..\Source\Submenu03.rms - $PROJ_DIR$\at91SAM7S256_Remap.xcl - $PROJ_DIR$\..\Object\d_lowspeed.pbi - $PROJ_DIR$\..\Object\c_loader.pbi - $PROJ_DIR$\..\Object\c_comm.pbi - $PROJ_DIR$\..\Object\d_loader.r79 - $PROJ_DIR$\..\Object\d_bt.r79 + $PROJ_DIR$\..\..\Source\c_display.iom + $PROJ_DIR$\..\..\Source\c_sound.h + $PROJ_DIR$\..\..\Source\c_ioctrl.iom + $PROJ_DIR$\..\..\Source\d_sound.r + $PROJ_DIR$\..\..\Source\d_sound.h + $TOOLKIT_DIR$\inc\yvals.h + $PROJ_DIR$\..\..\Source\c_cmd.iom + $TOOLKIT_DIR$\inc\DLib_Product.h + $PROJ_DIR$\..\..\Source\d_bt.r + $TOOLKIT_DIR$\inc\xtinfo.h + $PROJ_DIR$\..\..\Source\Fail.txt + $TOOLKIT_DIR$\inc\xlocale_c.h + $PROJ_DIR$\..\..\Source\d_hispeed.r + $PROJ_DIR$\..\..\Source\RCXintro_10.txt + $PROJ_DIR$\..\..\Source\c_led.c + $PROJ_DIR$\..\..\Source\RCXintro_3.txt + $PROJ_DIR$\..\Object\c_lowspeed.pbi $PROJ_DIR$\..\..\Source\d_led.c - $PROJ_DIR$\..\Object\c_display.r79 + $PROJ_DIR$\..\Object\d_hispeed.r79 + $PROJ_DIR$\..\Object\Cstartup_SAM7.r79 + $PROJ_DIR$\..\Object\d_lowspeed.r79 + $PROJ_DIR$\..\Object\d_input.r79 + $PROJ_DIR$\..\Object\d_usb.pbi + $PROJ_DIR$\..\Object\c_output.r79 $PROJ_DIR$\..\Object\c_sound.r79 - $PROJ_DIR$\..\..\Source\d_led.r + $PROJ_DIR$\..\Object\c_display.pbi + $PROJ_DIR$\..\Object\Cstartup_SAM7.pbi + $PROJ_DIR$\..\Object\d_bt.r79 + $PROJ_DIR$\..\Object\d_lowspeed.pbi + $PROJ_DIR$\..\Object\d_timer.r79 + $PROJ_DIR$\..\Object\d_ioctrl.r79 $PROJ_DIR$\..\Object\m_sched.pbi $PROJ_DIR$\..\Lib\dl4tptinl8n.r79 - $PROJ_DIR$\..\..\Source\d_led.h + $PROJ_DIR$\..\Object\d_hispeed.pbi $PROJ_DIR$\..\Object\d_timer.pbi $PROJ_DIR$\..\Object\c_output.pbi - $PROJ_DIR$\..\Object\d_display.pbi - $PROJ_DIR$\..\..\Source\c_led.c $PROJ_DIR$\..\Object\d_usb.r79 $PROJ_DIR$\..\Object\Cstartup.r79 $PROJ_DIR$\..\Object\c_ui.pbi - $PROJ_DIR$\..\Object\c_lowspeed.pbi - $PROJ_DIR$\..\Object\d_timer.r79 - $PROJ_DIR$\..\Object\d_ioctrl.r79 - $PROJ_DIR$\..\Object\d_lowspeed.r79 - $TOOLKIT_DIR$\inc\limits.h - $PROJ_DIR$\..\Object\d_input.r79 - $PROJ_DIR$\..\Object\d_usb.pbi - $PROJ_DIR$\..\Object\c_output.r79 + $PROJ_DIR$\..\Object\c_ui.r79 + $PROJ_DIR$\..\Object\d_button.r79 + $PROJ_DIR$\..\Object\d_output.pbi + $PROJ_DIR$\..\Object\c_loader.pbi + $PROJ_DIR$\..\Object\c_comm.pbi + $PROJ_DIR$\..\Object\d_loader.r79 + $TOOLKIT_DIR$\inc\math.h + $PROJ_DIR$\..\..\Source\c_led.iom + $PROJ_DIR$\..\Object\c_input.pbi + $PROJ_DIR$\..\Object\d_display.r79 + $PROJ_DIR$\..\..\Source\c_led.h + $PROJ_DIR$\..\..\Source\Submenu03.rms + $PROJ_DIR$\at91SAM7S256_Remap.xcl + $PROJ_DIR$\..\Object\c_button.pbi $PROJ_DIR$\..\Object\c_led.r79 $PROJ_DIR$\..\Object\d_output.r79 $PROJ_DIR$\..\Object\d_input.pbi $PROJ_DIR$\..\Object\c_ioctrl.pbi - $PROJ_DIR$\..\Object\c_button.pbi $PROJ_DIR$\..\Object\d_led.r79 $PROJ_DIR$\..\Object\c_sound.pbi $PROJ_DIR$\..\Object\d_bt.pbi $PROJ_DIR$\..\..\Source\d_sound_adpcm.r $PROJ_DIR$\..\Object\c_cmd.r79 - $PROJ_DIR$\..\Object\d_hispeed.r79 + $PROJ_DIR$\..\Object\c_lowspeed.r79 $PROJ_DIR$\..\Object\c_ioctrl.r79 $PROJ_DIR$\..\Object\d_loader.pbi $PROJ_DIR$\..\Object\c_loader.r79 $PROJ_DIR$\..\Object\LMS_ARM.pbd + $TOOLKIT_DIR$\inc\ymath.h $PROJ_DIR$\..\Object\LMS_ARM.d79 - $PROJ_DIR$\..\Object\Cstartup_SAM7.pbi - $TOOLKIT_DIR$\inc\math.h - $PROJ_DIR$\..\Object\c_display.pbi + $PROJ_DIR$\..\..\Source\d_led.h + $PROJ_DIR$\..\Object\c_display.r79 + $PROJ_DIR$\..\..\Source\d_led.r $PROJ_DIR$\..\Object\c_button.r79 $PROJ_DIR$\..\Object\LMS_ARM.map $PROJ_DIR$\..\Object\d_sound.pbi $PROJ_DIR$\..\Object\c_input.r79 $PROJ_DIR$\..\Object\d_ioctrl.pbi $PROJ_DIR$\..\Object\c_cmd.pbi - $PROJ_DIR$\..\Object\d_hispeed.pbi - $PROJ_DIR$\..\..\Source\c_led.iom - $PROJ_DIR$\..\Object\c_lowspeed.r79 - $TOOLKIT_DIR$\inc\ymath.h + $PROJ_DIR$\..\Object\d_display.pbi $PROJ_DIR$\..\Object\m_sched.r79 $PROJ_DIR$\..\Object\d_button.pbi - $PROJ_DIR$\..\..\Source\d_motor.c $PROJ_DIR$\..\Object\d_sound.r79 $PROJ_DIR$\..\Object\c_comm.r79 - $PROJ_DIR$\..\Object\c_ui.r79 - $PROJ_DIR$\..\Object\d_button.r79 $PROJ_DIR$\..\..\Source\c_bt.c - $PROJ_DIR$\..\..\Source\c_comm.iom - $PROJ_DIR$\..\..\Source\d_display.r - $PROJ_DIR$\..\..\Source\RCXintro_6.txt - $PROJ_DIR$\..\Include\sam7s256.c - $PROJ_DIR$\..\..\Source\c_lowspeed.iom - $PROJ_DIR$\..\Lib\dl4tptinl8n.h - $TOOLKIT_DIR$\inc\stdbool.h - $PROJ_DIR$\..\..\Source\d_motor.h - $PROJ_DIR$\..\..\Source\c_hispeed.c - $PROJ_DIR$\..\..\Source\d_net.r - $PROJ_DIR$\..\src\main.c - $PROJ_DIR$\..\Object\c_net.r79 - $PROJ_DIR$\..\..\Source\d_motor.r - $PROJ_DIR$\..\..\Source\c_hispeed.iom - $PROJ_DIR$\..\..\Source\c_bt.h $PROJ_DIR$\..\..\Source\d_avrcomm.h - $PROJ_DIR$\..\..\Source\c_sensor.c - $PROJ_DIR$\..\Object\d_motor.r79 - $PROJ_DIR$\..\Object\LMS_ARM.sim $PROJ_DIR$\..\Object\d_avrcomm.r79 - $PROJ_DIR$\..\Include\AT91SAM7S64.h - $PROJ_DIR$\..\..\include\lib_AT91SAM7S64.h - $PROJ_DIR$\..\Object\c_avrcomm.r79 $PROJ_DIR$\..\..\Source\d_sensor.c $PROJ_DIR$\..\..\Source\c_net.h - $PROJ_DIR$\..\..\Source\c_net.c $PROJ_DIR$\..\..\Source\c_usb.iom - $PROJ_DIR$\..\Object\c_sensor.r79 + $PROJ_DIR$\..\..\Source\c_net.c $PROJ_DIR$\..\..\Source\d_net.c - $PROJ_DIR$\..\Object\d_sensor.r79 - $PROJ_DIR$\..\..\Source\d_net.h - $PROJ_DIR$\..\..\Source\d_sensor.h - $PROJ_DIR$\..\Include\lib_AT91SAM7S64.h - $PROJ_DIR$\..\..\Source\d_avrcomm.c - $PROJ_DIR$\..\Object\d_net.r79 - $PROJ_DIR$\SrcIAR\Cstartup.s79 - $PROJ_DIR$\..\..\Source\c_usb.h - $PROJ_DIR$\..\..\Source\c_motor.h - $PROJ_DIR$\..\..\Source\main.c - $PROJ_DIR$\Flash_Debug\Obj\Cstartup.r79 - $PROJ_DIR$\..\..\Source\c_sensor.h - $PROJ_DIR$\Flash_Debug\Obj\main.r79 - $PROJ_DIR$\SrcIAR\Board.h + $PROJ_DIR$\..\Object\d_motor.r79 + $PROJ_DIR$\..\Object\LMS_ARM.sim $PROJ_DIR$\..\Object\c_hispeed.r79 - $PROJ_DIR$\..\Object\main.r79 $PROJ_DIR$\..\..\Source\d_avrcomm.r + $PROJ_DIR$\..\..\include\lib_AT91SAM7S64.h + $PROJ_DIR$\..\..\Source\c_sensor.c + $PROJ_DIR$\..\..\Source\c_bt.h + $PROJ_DIR$\..\Object\c_avrcomm.r79 + $PROJ_DIR$\..\src\main.c $PROJ_DIR$\..\..\Source\c_motor.iom $PROJ_DIR$\..\..\Source\c_motor.c $PROJ_DIR$\..\..\Source\d_sensor.r - $PROJ_DIR$\..\Include\Board.h - $PROJ_DIR$\..\Object\c_motor.r79 $PROJ_DIR$\..\..\Source\c_usb.c $PROJ_DIR$\..\..\Source\c_bt.iom - $PROJ_DIR$\..\..\include\AT91SAM7S64_inc.h + $PROJ_DIR$\..\Include\lib_AT91SAM7S64.h + $PROJ_DIR$\..\..\Source\c_motor.h + $PROJ_DIR$\..\Object\main.r79 + $PROJ_DIR$\..\Include\AT91SAM7S64.h + $PROJ_DIR$\..\..\Source\d_net.h + $PROJ_DIR$\..\..\Source\d_net.r + $PROJ_DIR$\SrcIAR\Cstartup_SAM7.c $PROJ_DIR$\..\Include\ioat91sam7s64.h + $PROJ_DIR$\..\..\Source\d_motor.c + $PROJ_DIR$\..\..\Source\c_hispeed.iom + $PROJ_DIR$\..\..\Source\c_hispeed.c + $PROJ_DIR$\..\..\Source\d_motor.h + $PROJ_DIR$\..\..\Source\d_motor.r + $PROJ_DIR$\..\Object\c_net.r79 + $PROJ_DIR$\..\..\Source\d_sensor.h + $PROJ_DIR$\..\..\Source\c_usb.h + $PROJ_DIR$\SrcIAR\Board.h + $PROJ_DIR$\..\Object\c_sensor.r79 + $PROJ_DIR$\..\..\Source\c_sensor.iom + $PROJ_DIR$\..\Object\d_sensor.r79 $PROJ_DIR$\..\..\Source\c_hispeed.h + $PROJ_DIR$\..\..\Source\c_sensor.h + $PROJ_DIR$\..\..\Source\d_avrcomm.c + $PROJ_DIR$\SrcIAR\Cstartup.s79 + $PROJ_DIR$\..\Object\d_net.r79 $PROJ_DIR$\..\..\Source\c_avrcomm.h + $PROJ_DIR$\Flash_Debug\Obj\main.r79 $PROJ_DIR$\..\..\Source\c_avrcomm.c + $PROJ_DIR$\..\..\Source\main.c + $PROJ_DIR$\Flash_Debug\Obj\Cstartup.r79 $PROJ_DIR$\Flash_Debug\Obj\Cstartup_SAM7.r79 + $PROJ_DIR$\..\Include\Board.h + $PROJ_DIR$\..\Object\c_motor.r79 + $PROJ_DIR$\..\..\include\AT91SAM7S64_inc.h $PROJ_DIR$\..\Object\c_bt.r79 $PROJ_DIR$\..\Object\c_usb.r79 - $PROJ_DIR$\..\..\Source\c_sensor.iom $PROJ_DIR$\..\..\include\AT91SAM7S64.h - $PROJ_DIR$\..\..\Source\c_ui.iom - $PROJ_DIR$\..\..\Source\c_comm.h - $PROJ_DIR$\..\..\Source\d_lowspeed.h - $PROJ_DIR$\..\..\Source\c_loader.h - $PROJ_DIR$\..\Object\d_display.r79 - $PROJ_DIR$\..\Object\d_output.pbi - $PROJ_DIR$\..\..\Source\Display.txt - $PROJ_DIR$\..\..\Source\RCXintro_15.txt - $PROJ_DIR$\..\..\Source\LowBattery.txt - $PROJ_DIR$\..\..\Source\d_output.h - $PROJ_DIR$\..\..\Source\RCXintro_5.txt - $PROJ_DIR$\..\..\Source\d_ioctrl.r - $PROJ_DIR$\..\..\Source\c_cmd.h - $PROJ_DIR$\..\..\Source\RCXintro_14.txt - $TOOLKIT_DIR$\inc\ysizet.h - $PROJ_DIR$\..\Include\ioat91sam7s256.h - $TOOLKIT_DIR$\inc\yvals.h - $PROJ_DIR$\..\..\Source\RCXintro_7.txt - $PROJ_DIR$\..\..\Source\d_loader.r - $PROJ_DIR$\..\..\Source\d_sound.r - $TOOLKIT_DIR$\inc\xlocale.h - $PROJ_DIR$\..\..\Source\d_sound.h - $TOOLKIT_DIR$\inc\stdlib.h - $PROJ_DIR$\..\..\Source\c_button.c - $PROJ_DIR$\..\..\Source\c_button.h - $PROJ_DIR$\..\..\Source\Submenu05.rms - $PROJ_DIR$\..\..\Source\Icons.txt - $PROJ_DIR$\..\..\Source\c_display.c + $PROJ_DIR$\..\..\Source\Test2.txt + $PROJ_DIR$\..\..\Source\Connections.txt + $PROJ_DIR$\..\Include\AT91SAM7S256_inc.h + $PROJ_DIR$\..\..\Source\d_hispeed.h + $PROJ_DIR$\..\..\Source\RCXintro_13.txt + $PROJ_DIR$\..\..\Source\Submenu07.rms + $PROJ_DIR$\..\..\Source\RCXintro_16.txt + $PROJ_DIR$\..\..\Source\c_comm.c + $PROJ_DIR$\..\..\Source\Test1.txt + $PROJ_DIR$\..\..\Source\Step.txt + $TOOLKIT_DIR$\inc\limits.h + $PROJ_DIR$\..\..\Source\Port.txt + $PROJ_DIR$\..\..\Source\c_output.h + $PROJ_DIR$\..\..\Source\d_timer.r + $PROJ_DIR$\..\..\Source\Submenu04.rms + $TOOLKIT_DIR$\inc\DLib_Defaults.h + $PROJ_DIR$\..\..\Source\c_loader.iom + $PROJ_DIR$\..\..\Source\c_display.h + $PROJ_DIR$\..\..\Source\Running.txt + $PROJ_DIR$\..\..\Source\Info.txt + $PROJ_DIR$\..\..\Source\Font.txt + $PROJ_DIR$\..\..\Source\RCXintro_12.txt + $PROJ_DIR$\..\..\Source\c_cmd_bytecodes.h + $PROJ_DIR$\..\..\Source\Submenu02.rms + $PROJ_DIR$\..\..\Source\d_ioctrl.h + $PROJ_DIR$\..\..\Source\modules.h + $PROJ_DIR$\..\..\Source\c_input.iom + $PROJ_DIR$\..\..\Source\c_button.iom + $PROJ_DIR$\..\..\Source\d_usb.r + $PROJ_DIR$\..\..\Source\Submenu06.rms + $TOOLKIT_DIR$\inc\xtls.h + $PROJ_DIR$\..\..\Source\c_sound.iom + $PROJ_DIR$\..\..\Source\Wait.txt + $PROJ_DIR$\..\..\Source\c_lowspeed.iom + $PROJ_DIR$\..\..\Source\RCXintro_11.txt + $PROJ_DIR$\..\..\Source\RCXintro_8.txt $PROJ_DIR$\..\..\Source\c_input.c $PROJ_DIR$\..\..\Source\c_ioctrl.c + $PROJ_DIR$\..\..\Source\c_button.c $PROJ_DIR$\..\..\Source\c_loader.c $PROJ_DIR$\..\..\Source\c_lowspeed.c $PROJ_DIR$\..\..\Source\c_output.c $PROJ_DIR$\..\..\Source\c_sound.c $PROJ_DIR$\..\..\Source\c_ui.c - $PROJ_DIR$\..\Include\Cstartup.s79 - $PROJ_DIR$\..\Include\Cstartup_SAM7.c - $PROJ_DIR$\..\..\Source\d_bt.c - $PROJ_DIR$\..\..\Source\d_button.c - $PROJ_DIR$\..\..\Source\d_display.c - $PROJ_DIR$\..\..\Source\d_hispeed.c - $PROJ_DIR$\..\..\Source\d_input.c - $PROJ_DIR$\..\..\Source\d_ioctrl.c - $PROJ_DIR$\..\..\Source\d_loader.c - $PROJ_DIR$\..\..\Source\d_lowspeed.c - $PROJ_DIR$\..\..\Source\d_output.c - $PROJ_DIR$\..\..\Source\d_sound.c - $PROJ_DIR$\..\..\Source\d_timer.c - $PROJ_DIR$\..\..\Source\d_usb.c - $PROJ_DIR$\..\..\Source\Functions.inl - $PROJ_DIR$\..\..\Source\m_sched.c - $PROJ_DIR$\..\..\Source\d_button.r - $PROJ_DIR$\..\..\Source\Devices.txt - $TOOLKIT_DIR$\inc\xlocaleuse.h - $PROJ_DIR$\..\..\Source\c_output.iom - $PROJ_DIR$\..\..\Source\d_usb.h - $PROJ_DIR$\..\..\Source\Mainmenu.rms - $TOOLKIT_DIR$\inc\ctype.h - $PROJ_DIR$\..\..\Source\d_bt.h - $PROJ_DIR$\..\..\Source\d_bt.r - $PROJ_DIR$\..\..\Source\RCXintro_8.txt - $PROJ_DIR$\..\..\Source\Connections.txt - $PROJ_DIR$\..\..\Source\Port.txt - $PROJ_DIR$\..\..\Source\RCXintro_2.txt - $PROJ_DIR$\..\..\Source\c_lowspeed.h - - - $PROJ_DIR$\..\..\Source\c_cmd.c - - - ICCARM - 117 - - - BICOMP - 132 - - - - - ICCARM - 72 59 52 262 56 12 208 70 48 10 145 149 38 69 223 220 47 57 42 224 61 150 44 22 26 222 68 230 125 136 104 25 - - - BICOMP - 72 59 52 262 56 12 208 70 48 10 145 149 38 69 223 220 47 57 42 224 61 44 22 26 222 68 230 125 136 104 25 - - - + $PROJ_DIR$\..\Include\Cstartup.s79 + $PROJ_DIR$\..\Include\Cstartup_SAM7.c + $PROJ_DIR$\..\..\Source\d_bt.c + $PROJ_DIR$\..\..\Source\d_button.c + $PROJ_DIR$\..\..\Source\d_display.c + $PROJ_DIR$\..\..\Source\d_hispeed.c + $PROJ_DIR$\..\..\Source\d_input.c + $PROJ_DIR$\..\..\Source\d_ioctrl.c + $PROJ_DIR$\..\..\Source\d_loader.c + $PROJ_DIR$\..\..\Source\d_lowspeed.c + $PROJ_DIR$\..\..\Source\d_output.c + $PROJ_DIR$\..\..\Source\d_sound.c + $PROJ_DIR$\..\..\Source\d_timer.c + $PROJ_DIR$\..\..\Source\d_usb.c + $PROJ_DIR$\..\..\Source\Functions.inl + $PROJ_DIR$\..\..\Source\m_sched.c + $PROJ_DIR$\..\..\Source\d_loader.h + $PROJ_DIR$\..\..\Source\c_display.c + [ROOT_NODE] XLINK - 128 163 123 + 142 161 137 - $PROJ_DIR$\..\..\Source\c_comm.c + $PROJ_DIR$\..\..\Source\c_cmd.c ICCARM - 141 + 130 BICOMP - 83 + 146 ICCARM - 72 59 145 12 54 208 52 10 209 263 37 266 68 224 61 150 44 22 26 222 265 228 51 71 230 261 15 11 39 35 + 3 236 75 43 237 227 19 242 238 69 30 244 9 16 39 26 233 50 48 74 226 66 76 12 11 38 1 56 114 136 221 31 BICOMP - 72 59 145 12 54 208 52 10 209 263 37 266 68 224 61 44 22 26 222 265 228 51 71 230 261 15 11 39 35 + 3 236 75 43 237 227 19 242 238 69 30 244 9 16 39 26 233 50 48 74 226 76 12 11 38 1 56 114 136 221 31 - $PROJ_DIR$\SrcIAR\Cstartup_SAM7.c + $PROJ_DIR$\..\..\Source\c_led.c ICCARM - 203 + 122 ICCARM - 187 207 166 + 3 236 115 118 138 @@ -2296,28 +2273,13 @@ ICCARM - 113 - - - - - ICCARM - 72 38 69 223 92 89 - - - - - $PROJ_DIR$\..\..\Source\c_led.c - - - ICCARM - 108 + 126 ICCARM - 72 59 134 75 92 + 3 9 16 39 138 140 @@ -2326,7 +2288,7 @@ BILINK - 124 112 132 83 126 77 111 82 100 94 114 99 115 138 95 133 110 131 120 81 213 129 93 106 90 + 95 121 146 112 94 116 125 111 85 104 127 107 128 149 147 102 124 145 133 97 110 143 103 91 100 @@ -2335,73 +2297,73 @@ XLINK - 128 163 + 142 161 XLINK - 80 98 78 127 117 141 87 130 119 121 135 107 88 142 85 143 212 118 105 102 84 103 109 140 101 97 137 91 + 120 106 88 141 130 151 139 144 132 134 131 92 93 108 96 109 117 87 90 99 113 89 123 150 98 105 148 101 - $PROJ_DIR$\..\..\Source\d_motor.c + $PROJ_DIR$\..\..\Source\c_bt.c ICCARM - 162 + 208 ICCARM - 72 38 69 199 152 157 + 3 236 173 166 55 75 - $PROJ_DIR$\..\..\Source\c_bt.c + $PROJ_DIR$\..\..\Source\d_sensor.c ICCARM - 204 + 193 ICCARM - 72 59 197 159 266 52 + 3 9 16 181 188 171 - $PROJ_DIR$\..\..\Source\c_hispeed.c + $PROJ_DIR$\..\..\Source\c_net.c ICCARM - 188 + 187 ICCARM - 72 59 158 200 37 + 3 156 178 - $PROJ_DIR$\..\src\main.c + $PROJ_DIR$\..\..\Source\d_net.c ICCARM - 186 + 198 ICCARM - 187 207 166 + 3 9 16 181 178 179 @@ -2410,133 +2372,133 @@ ICCARM - 172 + 191 ICCARM - 72 59 206 185 176 + 3 236 192 195 188 - $PROJ_DIR$\..\..\Source\d_sensor.c + $PROJ_DIR$\..\src\main.c ICCARM - 174 + 200 ICCARM - 72 38 69 199 176 193 + 190 210 164 - $PROJ_DIR$\..\..\Source\c_net.c + $PROJ_DIR$\..\..\Source\c_motor.c ICCARM - 156 + 206 ICCARM - 72 169 175 + 3 236 169 175 185 - $PROJ_DIR$\..\..\Source\d_net.c + $PROJ_DIR$\..\..\Source\c_usb.c ICCARM - 179 + 209 ICCARM - 72 38 69 199 175 154 + 3 236 157 189 63 - $PROJ_DIR$\..\..\Source\d_avrcomm.c + $PROJ_DIR$\SrcIAR\Cstartup_SAM7.c ICCARM - 164 + 204 ICCARM - 72 38 69 199 160 190 + 190 210 164 - $PROJ_DIR$\SrcIAR\Cstartup.s79 + $PROJ_DIR$\..\..\Source\d_motor.c - AARM - 184 + ICCARM + 160 - AARM - 198 + ICCARM + 3 9 16 181 185 186 - $PROJ_DIR$\..\..\Source\main.c + $PROJ_DIR$\..\..\Source\c_hispeed.c ICCARM - 189 + 162 ICCARM - 194 165 177 + 3 236 183 194 214 - $PROJ_DIR$\..\..\Source\c_motor.c + $PROJ_DIR$\..\..\Source\d_avrcomm.c ICCARM - 195 + 154 ICCARM - 72 59 191 182 152 + 3 9 16 181 153 163 - $PROJ_DIR$\..\..\Source\c_usb.c + $PROJ_DIR$\SrcIAR\Cstartup.s79 - ICCARM - 205 + AARM + 203 - ICCARM - 72 59 171 181 263 + AARM + 207 @@ -2551,16 +2513,31 @@ ICCARM - 72 201 160 + 3 199 153 - $PROJ_DIR$\..\..\Source\c_button.c + $PROJ_DIR$\..\..\Source\main.c ICCARM - 127 + 176 + + + + + ICCARM + 205 177 174 + + + + + $PROJ_DIR$\..\..\Source\c_comm.c + + + ICCARM + 151 BICOMP @@ -2570,80 +2547,80 @@ ICCARM - 72 59 232 48 74 + 3 236 30 227 71 19 75 69 29 63 214 55 1 74 226 66 76 12 11 38 52 54 241 8 56 45 80 78 14 13 BICOMP - 72 59 232 48 74 + 3 236 30 227 71 19 75 69 29 63 214 55 1 74 226 76 12 11 38 52 54 241 8 56 45 80 78 14 13 - $PROJ_DIR$\..\..\Source\c_display.c + $PROJ_DIR$\..\..\Source\c_input.c ICCARM - 87 + 144 BICOMP - 126 + 116 ICCARM - 68 224 61 150 44 22 26 222 72 59 10 5 3 + 3 236 61 237 27 43 227 1 74 226 66 76 12 11 38 BICOMP - 68 224 61 44 22 26 222 72 59 10 5 3 + 3 236 61 237 27 43 227 1 74 226 76 12 11 38 - $PROJ_DIR$\..\..\Source\c_input.c + $PROJ_DIR$\..\..\Source\c_ioctrl.c ICCARM - 130 + 132 BICOMP - 77 + 125 ICCARM - 72 59 29 56 1 262 12 68 224 61 150 44 22 26 222 + 3 236 71 18 235 BICOMP - 72 59 29 56 1 262 12 68 224 61 44 22 26 222 + 3 236 71 18 235 - $PROJ_DIR$\..\..\Source\c_ioctrl.c + $PROJ_DIR$\..\..\Source\c_button.c ICCARM - 119 + 141 BICOMP - 111 + 121 ICCARM - 72 59 54 28 9 + 3 236 47 238 15 BICOMP - 72 59 54 28 9 + 3 236 47 238 15 @@ -2652,21 +2629,21 @@ ICCARM - 121 + 134 BICOMP - 82 + 111 ICCARM - 72 59 12 54 45 211 68 224 61 150 44 22 26 222 + 3 236 227 71 271 21 1 74 226 66 76 12 11 38 BICOMP - 72 59 12 54 45 211 68 224 61 44 22 26 222 + 3 236 227 71 271 21 1 74 226 76 12 11 38 @@ -2675,21 +2652,21 @@ ICCARM - 135 + 131 BICOMP - 100 + 85 ICCARM - 72 59 149 56 272 210 + 3 236 244 237 67 20 BICOMP - 72 59 149 56 272 210 + 3 236 244 237 67 20 @@ -2698,21 +2675,21 @@ ICCARM - 107 + 92 BICOMP - 94 + 104 ICCARM - 42 224 61 150 44 22 26 222 151 72 59 262 23 217 10 + 48 74 226 66 76 12 11 38 17 3 236 43 223 22 69 BICOMP - 42 224 61 44 22 26 222 151 72 59 262 23 217 10 + 48 74 226 76 12 11 38 17 3 236 43 223 22 69 @@ -2721,21 +2698,21 @@ ICCARM - 88 + 93 BICOMP - 114 + 127 ICCARM - 230 224 61 150 44 22 26 222 68 72 59 70 12 8 229 + 56 74 226 66 76 12 11 38 1 3 236 242 227 70 73 BICOMP - 230 224 61 44 22 26 222 68 72 59 70 12 8 229 + 56 74 226 76 12 11 38 1 3 236 242 227 70 73 @@ -2744,21 +2721,21 @@ ICCARM - 142 + 108 BICOMP - 99 + 107 ICCARM - 42 224 61 150 44 22 26 222 68 265 228 51 71 230 261 15 11 39 35 72 59 208 34 38 69 223 10 12 48 70 56 262 54 52 145 149 214 216 33 40 6 55 270 58 67 17 7 234 31 271 16 19 218 147 225 268 32 14 63 46 36 221 215 41 65 260 269 43 264 66 24 79 60 233 50 20 257 53 64 13 + 48 74 226 66 76 12 11 38 1 52 54 241 8 56 45 80 78 14 13 3 236 19 59 9 16 39 69 227 238 242 237 43 71 75 30 244 28 36 231 220 46 229 222 58 243 79 230 41 6 33 84 2 37 24 49 246 7 82 245 232 215 65 35 217 68 44 212 32 64 57 234 119 225 40 240 216 269 10 219 211 BICOMP - 42 224 61 44 22 26 222 68 265 228 51 71 230 261 15 11 39 35 72 59 208 34 38 69 223 10 12 48 70 56 262 54 52 145 149 214 216 33 40 6 55 270 58 67 17 7 234 31 271 16 19 218 147 225 268 32 14 63 46 36 221 215 41 65 260 269 43 264 66 24 79 60 233 50 20 257 53 64 13 + 48 74 226 76 12 11 38 1 52 54 241 8 56 45 80 78 14 13 3 236 19 59 9 16 39 69 227 238 242 237 43 71 75 30 244 28 36 231 220 46 229 222 58 243 79 230 41 6 33 84 2 37 24 49 246 7 82 245 232 215 65 35 217 68 44 212 32 64 57 234 119 225 40 240 216 269 10 219 211 @@ -2767,13 +2744,13 @@ AARM - 98 + 106 AARM - 27 + 213 @@ -2782,21 +2759,21 @@ ICCARM - 78 + 88 BICOMP - 124 + 95 ICCARM - 73 + 4 BICOMP - 73 + 4 @@ -2805,21 +2782,21 @@ ICCARM - 85 + 96 BICOMP - 115 + 128 ICCARM - 72 59 38 69 223 266 267 68 224 61 150 44 22 26 222 + 3 236 9 16 39 55 77 1 74 226 66 76 12 11 38 BICOMP - 72 59 38 69 223 266 267 68 224 61 44 22 26 222 + 3 236 9 16 39 55 77 1 74 226 76 12 11 38 @@ -2828,21 +2805,21 @@ ICCARM - 143 + 109 BICOMP - 138 + 149 ICCARM - 72 38 69 223 74 259 + 3 9 16 39 15 42 BICOMP - 72 38 69 223 74 259 + 3 9 16 39 15 42 @@ -2851,21 +2828,21 @@ ICCARM - 212 + 117 BICOMP - 95 + 147 ICCARM - 72 38 69 223 3 146 + 3 9 16 39 51 5 BICOMP - 72 38 69 223 3 146 + 3 9 16 39 51 5 @@ -2874,21 +2851,21 @@ ICCARM - 118 + 87 BICOMP - 133 + 102 ICCARM - 72 38 69 223 37 18 + 3 9 16 39 214 81 BICOMP - 72 38 69 223 37 18 + 3 9 16 39 214 81 @@ -2897,21 +2874,21 @@ ICCARM - 105 + 90 BICOMP - 110 + 124 ICCARM - 72 38 69 223 29 56 1 30 + 3 9 16 39 61 237 27 62 BICOMP - 72 38 69 223 29 56 1 30 + 3 9 16 39 61 237 27 62 @@ -2920,21 +2897,21 @@ ICCARM - 102 + 99 BICOMP - 131 + 145 ICCARM - 68 224 61 150 44 22 26 222 72 38 69 223 9 219 + 1 74 226 66 76 12 11 38 3 9 16 39 235 23 BICOMP - 68 224 61 44 22 26 222 72 38 69 223 9 219 + 1 74 226 76 12 11 38 3 9 16 39 235 23 @@ -2943,21 +2920,21 @@ ICCARM - 84 + 113 BICOMP - 120 + 133 ICCARM - 72 59 38 69 223 45 226 68 224 61 150 44 22 26 222 265 228 51 71 230 261 15 11 39 35 + 3 236 9 16 39 271 34 1 74 226 66 76 12 11 38 52 54 241 8 56 45 80 78 14 13 BICOMP - 72 59 38 69 223 45 226 68 224 61 44 22 26 222 265 228 51 71 230 261 15 11 39 35 + 3 236 9 16 39 271 34 1 74 226 76 12 11 38 52 54 241 8 56 45 80 78 14 13 @@ -2966,21 +2943,21 @@ ICCARM - 103 + 89 BICOMP - 81 + 97 ICCARM - 72 38 69 223 210 21 + 3 9 16 39 20 60 BICOMP - 72 38 69 223 210 21 + 3 9 16 39 20 60 @@ -2989,21 +2966,21 @@ ICCARM - 109 + 123 BICOMP - 213 + 110 ICCARM - 72 38 69 223 217 4 + 3 9 16 39 22 53 BICOMP - 72 38 69 223 217 4 + 3 9 16 39 22 53 @@ -3012,21 +2989,21 @@ ICCARM - 140 + 150 BICOMP - 129 + 143 ICCARM - 72 38 69 223 229 227 116 + 3 9 16 39 73 72 129 BICOMP - 72 38 69 223 229 227 116 + 3 9 16 39 73 72 129 @@ -3035,21 +3012,21 @@ ICCARM - 101 + 98 BICOMP - 93 + 103 ICCARM - 72 38 69 223 57 62 + 3 9 16 39 50 224 BICOMP - 72 38 69 223 57 62 + 3 9 16 39 50 224 @@ -3058,21 +3035,21 @@ ICCARM - 97 + 105 BICOMP - 106 + 91 ICCARM - 72 38 69 223 263 49 + 3 9 16 39 63 239 BICOMP - 72 38 69 223 263 49 + 3 9 16 39 63 239 @@ -3081,176 +3058,183 @@ ICCARM - 137 + 148 BICOMP - 90 + 100 ICCARM - 72 59 38 69 223 148 209 29 56 232 48 211 8 5 272 23 220 47 52 28 34 + 3 236 9 16 39 25 29 61 237 47 238 21 70 228 67 223 26 233 75 18 59 BICOMP - 72 59 38 69 223 148 209 29 56 232 48 211 8 5 272 23 220 47 52 28 34 + 3 236 9 16 39 25 29 61 237 47 238 21 70 228 67 223 26 233 75 18 59 - - - RAM_Debug - - $PROJ_DIR$\..\..\Source\c_cmd.c - $PROJ_DIR$\..\..\Source\d_input.h - $PROJ_DIR$\..\..\Source\c_comm.c - $PROJ_DIR$\..\..\Source\d_display.h - $PROJ_DIR$\..\..\Source\d_output.r - $PROJ_DIR$\..\..\Source\c_display.h - $PROJ_DIR$\..\..\Source\Cursor.txt - $PROJ_DIR$\..\..\Source\Info.txt - $PROJ_DIR$\..\..\Source\c_sound.h - $PROJ_DIR$\..\..\Source\d_ioctrl.h - $PROJ_DIR$\..\..\Source\c_display.iom - $TOOLKIT_DIR$\inc\xtinfo.h - $PROJ_DIR$\..\..\Source\c_loader.iom - $PROJ_DIR$\..\..\Source\Test2.txt - $PROJ_DIR$\..\..\Source\RCXintro_10.txt - $TOOLKIT_DIR$\inc\xlocale_c.h - $PROJ_DIR$\..\..\Source\RCXintro_3.txt - $PROJ_DIR$\..\..\Source\Fail.txt - $PROJ_DIR$\..\..\Source\d_hispeed.r - $PROJ_DIR$\..\..\Source\RCXintro_4.txt - $PROJ_DIR$\..\..\Source\Submenu07.rms - $PROJ_DIR$\..\..\Source\d_lowspeed.r - $TOOLKIT_DIR$\inc\xencoding_limits.h - $PROJ_DIR$\..\..\Source\c_output.h - $PROJ_DIR$\..\..\Source\Submenu02.rms - $PROJ_DIR$\..\..\Source\c_cmd_drawing.inc - $TOOLKIT_DIR$\inc\DLib_Threads.h - $PROJ_DIR$\..\Include\AT91SAM7S256_inc.h - $PROJ_DIR$\..\..\Source\c_ioctrl.h - $PROJ_DIR$\..\..\Source\c_input.h - $PROJ_DIR$\..\..\Source\d_input.r + + $PROJ_DIR$\..\..\Source\c_display.c + + + ICCARM + 139 + + + BICOMP + 94 + + + + + ICCARM + 1 74 226 66 76 12 11 38 3 236 69 228 51 + + + BICOMP + 1 74 226 76 12 11 38 3 236 69 228 51 + + + + + + RAM_Debug + + $PROJ_DIR$\..\..\Source\c_cmd.c + $TOOLKIT_DIR$\inc\string.h + $PROJ_DIR$\..\..\Source\RCXintro_4.txt + $PROJ_DIR$\..\..\Source\stdconst.h + $PROJ_DIR$\..\Include\AT91SAM7S256.h + $PROJ_DIR$\..\..\Source\d_display.r $PROJ_DIR$\..\..\Source\RCXintro_1.txt $PROJ_DIR$\..\..\Source\RCXintro_9.txt - $PROJ_DIR$\..\..\Source\Font.txt - $PROJ_DIR$\..\..\Source\c_ui.h - $TOOLKIT_DIR$\inc\wchar.h - $PROJ_DIR$\..\..\Source\RCXintro_13.txt - $PROJ_DIR$\..\..\Source\d_hispeed.h + $TOOLKIT_DIR$\inc\xmtx.h $PROJ_DIR$\..\..\Source\m_sched.h + $PROJ_DIR$\..\..\Source\BtTest.inc + $TOOLKIT_DIR$\inc\DLib_Threads.h + $TOOLKIT_DIR$\inc\xencoding_limits.h + $TOOLKIT_DIR$\inc\wchar.h $TOOLKIT_DIR$\inc\time.h - $PROJ_DIR$\..\..\Source\Step.txt - $PROJ_DIR$\..\..\Source\RCXintro_16.txt - $TOOLKIT_DIR$\inc\stdio.h + $PROJ_DIR$\..\..\Source\d_button.h + $PROJ_DIR$\..\Include\sam7s256.h + $TOOLKIT_DIR$\inc\stdbool.h + $PROJ_DIR$\..\..\Source\c_ioctrl.h + $PROJ_DIR$\..\..\Source\c_ui.iom + $PROJ_DIR$\..\..\Source\d_lowspeed.h + $PROJ_DIR$\..\..\Source\c_loader.h + $PROJ_DIR$\..\..\Source\d_output.h + $PROJ_DIR$\..\..\Source\d_ioctrl.r + $PROJ_DIR$\..\..\Source\RCXintro_6.txt + $PROJ_DIR$\..\Include\sam7s256.c + $PROJ_DIR$\..\..\Source\c_cmd.h + $PROJ_DIR$\..\..\Source\d_input.h + $PROJ_DIR$\..\..\Source\Display.txt + $PROJ_DIR$\..\..\Source\c_comm.h + $PROJ_DIR$\..\..\Source\c_comm.iom + $PROJ_DIR$\..\..\Source\c_cmd_drawing.inc $PROJ_DIR$\..\..\Source\Ui.txt - $TOOLKIT_DIR$\inc\DLib_Product.h - $PROJ_DIR$\..\..\Source\d_loader.h - $PROJ_DIR$\..\..\Source\RCXintro_12.txt - $PROJ_DIR$\..\..\Source\c_cmd_bytecodes.h - $PROJ_DIR$\..\..\Source\c_button.iom - $PROJ_DIR$\..\..\Source\d_usb.r - $PROJ_DIR$\..\..\Source\Submenu06.rms - $TOOLKIT_DIR$\inc\xtls.h - $PROJ_DIR$\..\..\Source\c_cmd.iom - $PROJ_DIR$\..\..\Source\BtTest.inc - $PROJ_DIR$\..\..\Source\c_ioctrl.iom - $PROJ_DIR$\..\..\Source\Running.txt - $PROJ_DIR$\..\..\Source\c_input.iom + $PROJ_DIR$\..\..\Source\RCXintro_2.txt + $PROJ_DIR$\..\..\Source\d_loader.r + $PROJ_DIR$\..\..\Source\RCXintro_15.txt + $PROJ_DIR$\..\..\Source\LowBattery.txt + $PROJ_DIR$\..\..\Source\RCXintro_5.txt + $TOOLKIT_DIR$\inc\ysizet.h + $PROJ_DIR$\..\Include\ioat91sam7s256.h + $PROJ_DIR$\..\..\Source\Submenu05.rms + $PROJ_DIR$\..\..\Source\Icons.txt + $PROJ_DIR$\..\..\Source\d_button.r + $PROJ_DIR$\..\..\Source\c_output.iom + $PROJ_DIR$\..\..\Source\Devices.txt + $TOOLKIT_DIR$\inc\xlocaleuse.h + $PROJ_DIR$\..\..\Source\Cursor.txt + $PROJ_DIR$\..\..\Source\c_button.h + $TOOLKIT_DIR$\inc\stdio.h + $PROJ_DIR$\..\..\Source\RCXintro_7.txt $PROJ_DIR$\..\..\Source\d_timer.h + $PROJ_DIR$\..\..\Source\d_display.h + $TOOLKIT_DIR$\inc\ctype.h + $PROJ_DIR$\..\..\Source\d_output.r + $TOOLKIT_DIR$\inc\xlocale.h + $PROJ_DIR$\..\..\Source\d_bt.h + $TOOLKIT_DIR$\inc\stdlib.h + $PROJ_DIR$\..\..\Source\Submenu01.rms $PROJ_DIR$\..\..\Source\Ok.txt - $PROJ_DIR$\..\..\Source\modules.h - $PROJ_DIR$\..\..\Source\Submenu04.rms - $TOOLKIT_DIR$\inc\DLib_Defaults.h - $PROJ_DIR$\..\..\Source\d_timer.r - $PROJ_DIR$\..\..\Source\RCXintro_11.txt - $PROJ_DIR$\..\..\Source\Test1.txt + $PROJ_DIR$\..\..\Source\c_ui.h + $PROJ_DIR$\..\..\Source\d_lowspeed.r + $PROJ_DIR$\..\..\Source\c_input.h + $PROJ_DIR$\..\..\Source\d_input.r + $PROJ_DIR$\..\..\Source\d_usb.h + $PROJ_DIR$\..\..\Source\Mainmenu.rms + $PROJ_DIR$\..\..\Source\RCXintro_14.txt + $PROJ_DIR$\..\..\Source\c_lowspeed.h $PROJ_DIR$\..\..\Source\Status.txt - $PROJ_DIR$\..\..\Source\Submenu01.rms - $PROJ_DIR$\..\..\Source\Wait.txt - $TOOLKIT_DIR$\inc\string.h - $PROJ_DIR$\..\Include\sam7s256.h - $PROJ_DIR$\..\..\Source\c_sound.iom - $TOOLKIT_DIR$\inc\xmtx.h - $PROJ_DIR$\..\..\Source\stdconst.h - $PROJ_DIR$\..\Include\AT91SAM7S256.h - $PROJ_DIR$\..\..\Source\d_button.h - $PROJ_DIR$\..\..\Source\c_led.h - $PROJ_DIR$\SrcIAR\Cstartup_SAM7.c - $PROJ_DIR$\..\..\Source\Submenu03.rms - $PROJ_DIR$\..\..\Source\d_led.c - $PROJ_DIR$\..\..\Source\d_led.r - $PROJ_DIR$\..\..\Source\d_led.h + $PROJ_DIR$\..\..\Source\c_display.iom + $PROJ_DIR$\..\..\Source\c_sound.h + $PROJ_DIR$\..\..\Source\c_ioctrl.iom + $PROJ_DIR$\..\..\Source\d_sound.r + $PROJ_DIR$\..\..\Source\d_sound.h + $TOOLKIT_DIR$\inc\yvals.h + $PROJ_DIR$\..\..\Source\c_cmd.iom + $TOOLKIT_DIR$\inc\DLib_Product.h + $PROJ_DIR$\..\..\Source\d_bt.r + $TOOLKIT_DIR$\inc\xtinfo.h + $PROJ_DIR$\..\..\Source\Fail.txt + $TOOLKIT_DIR$\inc\xlocale_c.h + $PROJ_DIR$\..\..\Source\d_hispeed.r + $PROJ_DIR$\..\..\Source\RCXintro_10.txt $PROJ_DIR$\..\..\Source\c_led.c - $TOOLKIT_DIR$\inc\limits.h - $PROJ_DIR$\..\..\Source\d_sound_adpcm.r + $PROJ_DIR$\..\..\Source\RCXintro_3.txt + $PROJ_DIR$\..\..\Source\d_led.c + $PROJ_DIR$\RAM_Debug\Obj\d_bt.r79 $TOOLKIT_DIR$\inc\math.h $PROJ_DIR$\..\..\Source\c_led.iom + $PROJ_DIR$\..\..\Source\c_led.h + $PROJ_DIR$\..\..\Source\Submenu03.rms + $PROJ_DIR$\..\..\Source\d_sound_adpcm.r $TOOLKIT_DIR$\inc\ymath.h - $PROJ_DIR$\..\..\Source\d_motor.c - $PROJ_DIR$\..\..\Source\c_comm.iom - $PROJ_DIR$\..\..\Source\d_display.r - $PROJ_DIR$\..\..\Source\RCXintro_6.txt - $PROJ_DIR$\..\Include\sam7s256.c - $PROJ_DIR$\..\..\Source\c_lowspeed.iom - $TOOLKIT_DIR$\inc\stdbool.h - $PROJ_DIR$\..\..\Source\d_motor.h - $PROJ_DIR$\..\src\main.c - $PROJ_DIR$\..\..\Source\d_motor.r - $PROJ_DIR$\..\..\Source\c_sensor.c + $PROJ_DIR$\..\..\Source\d_led.h + $PROJ_DIR$\..\..\Source\d_led.r $PROJ_DIR$\..\..\Source\d_sensor.c - $PROJ_DIR$\..\..\Source\d_sensor.h - $PROJ_DIR$\SrcIAR\Cstartup.s79 - $PROJ_DIR$\..\..\Source\c_motor.h - $PROJ_DIR$\..\..\Source\main.c - $PROJ_DIR$\..\..\Source\c_sensor.h + $PROJ_DIR$\..\..\Source\c_sensor.c + $PROJ_DIR$\..\src\main.c + $PROJ_DIR$\RAM_Debug\Obj\c_output.r79 $PROJ_DIR$\..\..\Source\c_motor.iom $PROJ_DIR$\..\..\Source\c_motor.c $PROJ_DIR$\..\..\Source\d_sensor.r + $PROJ_DIR$\..\..\Source\c_motor.h + $PROJ_DIR$\SrcIAR\Cstartup_SAM7.c $PROJ_DIR$\..\Include\ioat91sam7s64.h + $PROJ_DIR$\..\..\Source\d_motor.c + $PROJ_DIR$\..\..\Source\d_motor.h + $PROJ_DIR$\..\..\Source\d_motor.r + $PROJ_DIR$\..\..\Source\d_sensor.h $PROJ_DIR$\..\..\Source\c_sensor.iom - $PROJ_DIR$\RAM_Debug\Obj\d_sound.r79 + $PROJ_DIR$\..\..\Source\c_sensor.h + $PROJ_DIR$\SrcIAR\Cstartup.s79 + $PROJ_DIR$\..\..\Source\main.c + $PROJ_DIR$\RAM_Debug\Obj\c_sound.r79 $PROJ_DIR$\RAM_Debug\Obj\c_cmd.r79 - $PROJ_DIR$\RAM_Debug\Obj\d_button.pbi - $PROJ_DIR$\RAM_Debug\Obj\d_output.pbi - $PROJ_DIR$\RAM_Debug\Obj\c_output.r79 $PROJ_DIR$\RAM_Debug\Obj\d_display.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_ioctrl.pbi - $PROJ_DIR$\RAM_Debug\Obj\d_display.pbi - $PROJ_DIR$\RAM_Debug\Obj\c_sound.r79 - $PROJ_DIR$\..\..\Source\c_ui.iom - $PROJ_DIR$\..\..\Source\c_comm.h - $PROJ_DIR$\..\..\Source\d_lowspeed.h - $PROJ_DIR$\..\..\Source\c_loader.h + $PROJ_DIR$\..\..\Source\Test2.txt + $PROJ_DIR$\..\..\Source\Connections.txt + $PROJ_DIR$\..\Include\AT91SAM7S256_inc.h + $PROJ_DIR$\..\..\Source\d_hispeed.h + $PROJ_DIR$\..\..\Source\RCXintro_13.txt + $PROJ_DIR$\..\..\Source\Submenu07.rms + $PROJ_DIR$\..\..\Source\RCXintro_16.txt + $PROJ_DIR$\..\..\Source\c_comm.c + $PROJ_DIR$\RAM_Debug\Obj\d_output.r79 $PROJ_DIR$\RAM_Debug\Obj\Cstartup_SAM7.pbi $PROJ_DIR$\RAM_Debug\Obj\d_hispeed.pbi $PROJ_DIR$\RAM_Debug\Obj\c_led.r79 $PROJ_DIR$\RAM_Debug\Obj\d_loader.r79 $PROJ_DIR$\RAM_Debug\Obj\c_motor.r79 $PROJ_DIR$\RAM_Debug\Obj\c_sensor.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_ui.r79 - $PROJ_DIR$\RAM_Debug\Obj\d_output.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_button.pbi - $PROJ_DIR$\RAM_Debug\Obj\c_button.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_input.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_display.pbi - $PROJ_DIR$\RAM_Debug\Obj\c_sound.pbi - $PROJ_DIR$\RAM_Debug\Obj\d_timer.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_loader.pbi - $PROJ_DIR$\RAM_Debug\Obj\c_loader.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_comm.r79 - $PROJ_DIR$\RAM_Debug\Obj\d_button.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_input.pbi - $PROJ_DIR$\RAM_Debug\Exe\LMS_ARM.d79 - $PROJ_DIR$\RAM_Debug\Obj\d_input.r79 - $PROJ_DIR$\..\..\Source\Display.txt - $PROJ_DIR$\..\..\Source\RCXintro_15.txt - $PROJ_DIR$\..\..\Source\LowBattery.txt - $PROJ_DIR$\..\..\Source\d_output.h - $PROJ_DIR$\RAM_Debug\Obj\d_ioctrl.pbi + $PROJ_DIR$\RAM_Debug\Obj\d_output.pbi + $PROJ_DIR$\RAM_Debug\Obj\d_hispeed.r79 $PROJ_DIR$\RAM_Debug\Obj\c_ioctrl.r79 $PROJ_DIR$\RAM_Debug\Obj\d_loader.pbi $PROJ_DIR$\RAM_Debug\Obj\main.r79 @@ -3263,7 +3247,29 @@ $PROJ_DIR$\RAM_Debug\Obj\Cstartup.r79 $PROJ_DIR$\RAM_Debug\Obj\d_input.pbi $PROJ_DIR$\RAM_Debug\Obj\d_motor.r79 + $PROJ_DIR$\RAM_Debug\Obj\d_timer.pbi + $PROJ_DIR$\RAM_Debug\Obj\c_ioctrl.pbi + $PROJ_DIR$\RAM_Debug\Obj\d_display.pbi + $PROJ_DIR$\RAM_Debug\Obj\d_sound.r79 + $PROJ_DIR$\RAM_Debug\Obj\d_button.pbi + $PROJ_DIR$\RAM_Debug\Obj\c_comm.pbi + $PROJ_DIR$\RAM_Debug\Obj\c_input.pbi + $PROJ_DIR$\RAM_Debug\Exe\LMS_ARM.d79 + $PROJ_DIR$\RAM_Debug\Obj\d_input.r79 + $PROJ_DIR$\RAM_Debug\Obj\d_ioctrl.pbi $PROJ_DIR$\RAM_Debug\Obj\d_sound.pbi + $PROJ_DIR$\RAM_Debug\Obj\c_ui.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_loader.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_button.pbi + $PROJ_DIR$\RAM_Debug\Obj\c_button.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_input.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_display.pbi + $PROJ_DIR$\RAM_Debug\Obj\c_sound.pbi + $PROJ_DIR$\RAM_Debug\Obj\d_timer.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_loader.pbi + $PROJ_DIR$\RAM_Debug\Obj\c_comm.r79 + $PROJ_DIR$\RAM_Debug\Obj\d_button.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_cmd.pbi $PROJ_DIR$\RAM_Debug\Obj\d_sensor.r79 $PROJ_DIR$\RAM_Debug\Obj\d_led.r79 $PROJ_DIR$\RAM_Debug\Obj\d_usb.pbi @@ -3272,36 +3278,42 @@ $PROJ_DIR$\RAM_Debug\Obj\LMS_ARM.pbd $PROJ_DIR$\RAM_Debug\Obj\d_lowspeed.pbi $PROJ_DIR$\RAM_Debug\Obj\c_display.r79 - $PROJ_DIR$\RAM_Debug\Obj\d_timer.pbi $PROJ_DIR$\RAM_Debug\Obj\c_lowspeed.r79 - $PROJ_DIR$\..\..\Source\RCXintro_5.txt - $PROJ_DIR$\..\..\Source\d_ioctrl.r $PROJ_DIR$\RAM_Debug\Obj\c_lowspeed.pbi $PROJ_DIR$\RAM_Debug\Obj\m_sched.pbi $TOOLKIT_DIR$\lib\dl4tptinl8n.h - $PROJ_DIR$\RAM_Debug\Obj\d_hispeed.r79 - $PROJ_DIR$\RAM_Debug\Obj\d_bt.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_comm.pbi - $PROJ_DIR$\RAM_Debug\Obj\c_cmd.pbi - $PROJ_DIR$\..\..\Source\c_cmd.h - $PROJ_DIR$\..\..\Source\RCXintro_14.txt - $TOOLKIT_DIR$\inc\ysizet.h $PROJ_DIR$\RAM_Debug\Obj\m_sched.r79 - $PROJ_DIR$\..\Include\ioat91sam7s256.h - $TOOLKIT_DIR$\inc\yvals.h - $PROJ_DIR$\..\..\Source\RCXintro_7.txt - $PROJ_DIR$\..\..\Source\d_loader.r - $PROJ_DIR$\..\..\Source\d_sound.r - $TOOLKIT_DIR$\inc\xlocale.h - $PROJ_DIR$\..\..\Source\d_sound.h - $TOOLKIT_DIR$\inc\stdlib.h - $PROJ_DIR$\..\..\Source\c_button.c - $PROJ_DIR$\..\..\Source\c_button.h - $PROJ_DIR$\..\..\Source\Submenu05.rms - $PROJ_DIR$\..\..\Source\Icons.txt - $PROJ_DIR$\..\..\Source\c_display.c + $PROJ_DIR$\..\..\Source\Test1.txt + $PROJ_DIR$\..\..\Source\Step.txt + $TOOLKIT_DIR$\inc\limits.h + $PROJ_DIR$\..\..\Source\Port.txt + $PROJ_DIR$\..\..\Source\c_output.h + $PROJ_DIR$\..\..\Source\d_timer.r + $PROJ_DIR$\..\..\Source\Submenu04.rms + $TOOLKIT_DIR$\inc\DLib_Defaults.h + $PROJ_DIR$\..\..\Source\c_loader.iom + $PROJ_DIR$\..\..\Source\c_display.h + $PROJ_DIR$\..\..\Source\Running.txt + $PROJ_DIR$\..\..\Source\Info.txt + $PROJ_DIR$\..\..\Source\Font.txt + $PROJ_DIR$\..\..\Source\RCXintro_12.txt + $PROJ_DIR$\..\..\Source\c_cmd_bytecodes.h + $PROJ_DIR$\..\..\Source\Submenu02.rms + $PROJ_DIR$\..\..\Source\d_ioctrl.h + $PROJ_DIR$\..\..\Source\modules.h + $PROJ_DIR$\..\..\Source\c_input.iom + $PROJ_DIR$\..\..\Source\c_button.iom + $PROJ_DIR$\..\..\Source\d_usb.r + $PROJ_DIR$\..\..\Source\Submenu06.rms + $TOOLKIT_DIR$\inc\xtls.h + $PROJ_DIR$\..\..\Source\c_sound.iom + $PROJ_DIR$\..\..\Source\Wait.txt + $PROJ_DIR$\..\..\Source\c_lowspeed.iom + $PROJ_DIR$\..\..\Source\RCXintro_11.txt + $PROJ_DIR$\..\..\Source\RCXintro_8.txt $PROJ_DIR$\..\..\Source\c_input.c $PROJ_DIR$\..\..\Source\c_ioctrl.c + $PROJ_DIR$\..\..\Source\c_button.c $PROJ_DIR$\..\..\Source\c_loader.c $PROJ_DIR$\..\..\Source\c_lowspeed.c $PROJ_DIR$\..\..\Source\c_output.c @@ -3323,175 +3335,155 @@ $PROJ_DIR$\..\..\Source\d_usb.c $PROJ_DIR$\..\..\Source\Functions.inl $PROJ_DIR$\..\..\Source\m_sched.c - $PROJ_DIR$\..\..\Source\d_button.r - $PROJ_DIR$\..\..\Source\Devices.txt - $TOOLKIT_DIR$\inc\xlocaleuse.h - $PROJ_DIR$\..\..\Source\c_output.iom - $PROJ_DIR$\..\..\Source\d_usb.h - $PROJ_DIR$\..\..\Source\Mainmenu.rms - $TOOLKIT_DIR$\inc\ctype.h - $PROJ_DIR$\..\..\Source\d_bt.h - $PROJ_DIR$\..\..\Source\d_bt.r - $PROJ_DIR$\..\..\Source\RCXintro_8.txt - $PROJ_DIR$\..\..\Source\Connections.txt - $PROJ_DIR$\..\..\Source\Port.txt - $PROJ_DIR$\..\..\Source\RCXintro_2.txt - $PROJ_DIR$\..\..\Source\c_lowspeed.h + $PROJ_DIR$\..\..\Source\d_loader.h + $PROJ_DIR$\..\..\Source\c_display.c - - $PROJ_DIR$\..\..\Source\c_cmd.c - - - ICCARM - 110 - - - BICOMP - 179 - - - - - ICCARM - 72 59 52 223 56 12 118 70 48 10 88 92 38 69 184 180 47 57 42 185 61 175 44 22 26 182 68 191 84 86 82 25 - - - BICOMP - 72 59 52 223 56 12 118 70 48 10 88 92 38 69 184 180 47 57 42 185 61 44 22 26 182 68 191 84 86 82 25 - - - [ROOT_NODE] XLINK - 141 + 151 - $PROJ_DIR$\..\..\Source\c_comm.c + $PROJ_DIR$\..\..\Source\c_cmd.c ICCARM - 138 + 113 BICOMP - 178 + 166 ICCARM - 72 59 88 12 54 118 52 10 119 224 37 227 68 185 61 175 44 22 26 182 226 189 51 71 191 222 15 11 39 35 + 3 197 74 43 198 188 19 203 199 68 30 205 9 16 39 26 194 50 48 73 187 178 75 12 11 38 1 56 86 91 182 31 BICOMP - 72 59 88 12 54 118 52 10 119 224 37 227 68 185 61 44 22 26 182 226 189 51 71 191 222 15 11 39 35 + 3 197 74 43 198 188 19 203 199 68 30 205 9 16 39 26 194 50 48 73 187 75 12 11 38 1 56 86 91 182 31 - $PROJ_DIR$\SrcIAR\Cstartup_SAM7.c + $PROJ_DIR$\..\Include\sam7s256.c ICCARM - 164 + 139 - $PROJ_DIR$\..\..\Source\d_led.c + $PROJ_DIR$\..\..\Source\c_led.c ICCARM - 162 + 126 ICCARM - 72 38 69 107 80 79 + 3 197 87 88 92 - $PROJ_DIR$\..\..\Source\c_led.c + $PROJ_DIR$\..\..\Source\d_led.c ICCARM - 124 + 168 ICCARM - 72 59 85 75 80 + 3 9 16 103 92 93 - $PROJ_DIR$\..\..\Source\d_motor.c + $PROJ_DIR$\..\..\Source\d_sensor.c ICCARM - 159 + 167 ICCARM - 72 38 69 107 94 96 + 3 9 16 103 107 100 - $PROJ_DIR$\..\Include\sam7s256.c + $PROJ_DIR$\..\..\Source\c_sensor.c ICCARM - 155 + 129 + + + ICCARM + 3 197 108 109 107 + + $PROJ_DIR$\..\src\main.c ICCARM - 150 + 134 - $PROJ_DIR$\..\..\Source\c_sensor.c + $PROJ_DIR$\..\..\Source\c_motor.c ICCARM - 127 + 128 ICCARM - 72 59 108 103 99 + 3 197 98 101 105 - $PROJ_DIR$\..\..\Source\d_sensor.c + $PROJ_DIR$\SrcIAR\Cstartup_SAM7.c ICCARM - 161 + 170 + + + + + $PROJ_DIR$\..\..\Source\d_motor.c + + + ICCARM + 143 ICCARM - 72 38 69 107 99 106 + 3 9 16 103 105 106 @@ -3500,7 +3492,7 @@ AARM - 157 + 141 @@ -3509,82 +3501,67 @@ ICCARM - 150 + 134 - $PROJ_DIR$\..\..\Source\c_motor.c + $PROJ_DIR$\..\..\Source\c_comm.c ICCARM - 126 + 164 + + + BICOMP + 149 ICCARM - 72 59 104 101 94 + 3 197 30 188 70 19 74 68 29 63 118 55 1 73 187 178 75 12 11 38 52 54 202 8 56 45 79 77 14 13 - - - - $PROJ_DIR$\RAM_Debug\Obj\LMS_ARM.pbd - - BILINK - 122 130 179 178 133 140 115 136 173 165 134 153 152 111 116 123 158 147 149 167 112 160 169 163 174 + BICOMP + 3 197 30 188 70 19 74 68 29 63 118 55 1 73 187 75 12 11 38 52 54 202 8 56 45 79 77 14 13 - $PROJ_DIR$\..\..\Source\c_button.c - - - ICCARM - 131 - - - BICOMP - 130 - - + $PROJ_DIR$\RAM_Debug\Obj\LMS_ARM.pbd - ICCARM - 72 59 193 48 74 - - - BICOMP - 72 59 193 48 74 + BILINK + 124 157 166 149 160 150 145 163 176 171 161 137 136 148 146 125 142 153 133 173 130 154 144 169 177 - $PROJ_DIR$\..\..\Source\c_display.c + $PROJ_DIR$\..\..\Source\c_input.c ICCARM - 168 + 159 BICOMP - 133 + 150 ICCARM - 68 185 61 175 44 22 26 182 72 59 10 5 3 + 3 197 61 198 27 43 188 1 73 187 178 75 12 11 38 BICOMP - 68 185 61 44 22 26 182 72 59 10 5 3 + 3 197 61 198 27 43 188 1 73 187 75 12 11 38 - $PROJ_DIR$\..\..\Source\c_input.c + $PROJ_DIR$\..\..\Source\c_ioctrl.c ICCARM @@ -3592,40 +3569,40 @@ BICOMP - 140 + 145 ICCARM - 72 59 29 56 1 223 12 68 185 61 175 44 22 26 182 + 3 197 70 18 196 BICOMP - 72 59 29 56 1 223 12 68 185 61 44 22 26 182 + 3 197 70 18 196 - $PROJ_DIR$\..\..\Source\c_ioctrl.c + $PROJ_DIR$\..\..\Source\c_button.c ICCARM - 148 + 158 BICOMP - 115 + 157 ICCARM - 72 59 54 28 9 + 3 197 47 199 15 BICOMP - 72 59 54 28 9 + 3 197 47 199 15 @@ -3634,21 +3611,21 @@ ICCARM - 137 + 156 BICOMP - 136 + 163 ICCARM - 72 59 12 54 45 121 68 185 61 175 44 22 26 182 + 3 197 188 70 232 21 1 73 187 178 75 12 11 38 BICOMP - 72 59 12 54 45 121 68 185 61 44 22 26 182 + 3 197 188 70 232 21 1 73 187 75 12 11 38 @@ -3657,21 +3634,21 @@ ICCARM - 170 + 175 BICOMP - 173 + 176 ICCARM - 72 59 92 56 233 120 + 3 197 205 198 66 20 BICOMP - 72 59 92 56 233 120 + 3 197 205 198 66 20 @@ -3680,21 +3657,21 @@ ICCARM - 113 + 97 BICOMP - 165 + 171 ICCARM - 42 185 61 175 44 22 26 182 93 72 59 223 23 146 10 + 48 73 187 178 75 12 11 38 17 3 197 43 184 22 68 BICOMP - 42 185 61 44 22 26 182 93 72 59 223 23 146 10 + 48 73 187 75 12 11 38 17 3 197 43 184 22 68 @@ -3703,21 +3680,21 @@ ICCARM - 117 + 112 BICOMP - 134 + 161 ICCARM - 191 185 61 175 44 22 26 182 68 72 59 70 12 8 190 + 56 73 187 178 75 12 11 38 1 3 197 203 188 69 72 BICOMP - 191 185 61 44 22 26 182 68 72 59 70 12 8 190 + 56 73 187 75 12 11 38 1 3 197 203 188 69 72 @@ -3726,21 +3703,21 @@ ICCARM - 128 + 155 BICOMP - 153 + 137 ICCARM - 42 185 61 175 44 22 26 182 68 226 189 51 71 191 222 15 11 39 35 72 59 118 34 38 69 184 10 12 48 70 56 223 54 52 88 92 143 145 33 40 6 55 231 58 67 17 7 195 31 232 16 19 171 90 186 229 32 14 63 46 36 181 144 41 65 221 230 43 225 66 24 77 60 194 50 20 218 53 64 13 + 48 73 187 178 75 12 11 38 1 52 54 202 8 56 45 79 77 14 13 3 197 19 59 9 16 39 68 188 199 203 198 43 70 74 30 205 28 36 192 181 46 190 183 58 204 78 191 41 6 33 83 2 37 24 49 207 7 81 206 193 119 65 35 121 67 44 116 32 64 57 195 89 186 40 201 120 230 10 180 115 BICOMP - 42 185 61 44 22 26 182 68 226 189 51 71 191 222 15 11 39 35 72 59 118 34 38 69 184 10 12 48 70 56 223 54 52 88 92 143 145 33 40 6 55 231 58 67 17 7 195 31 232 16 19 171 90 186 229 32 14 63 46 36 181 144 41 65 221 230 43 225 66 24 77 60 194 50 20 218 53 64 13 + 48 73 187 75 12 11 38 1 52 54 202 8 56 45 79 77 14 13 3 197 19 59 9 16 39 68 188 199 203 198 43 70 74 30 205 28 36 192 181 46 190 183 58 204 78 191 41 6 33 83 2 37 24 49 207 7 81 206 193 119 65 35 121 67 44 116 32 64 57 195 89 186 40 201 120 230 10 180 115 @@ -3749,13 +3726,13 @@ AARM - 157 + 141 AARM - 27 + 117 @@ -3764,21 +3741,21 @@ ICCARM - 164 + 170 BICOMP - 122 + 124 ICCARM - 73 + 4 BICOMP - 73 + 4 @@ -3787,21 +3764,21 @@ ICCARM - 177 + 85 BICOMP - 152 + 136 ICCARM - 72 59 38 69 184 227 228 68 185 61 175 44 22 26 182 + 3 197 9 16 39 55 76 1 73 187 178 75 12 11 38 BICOMP - 72 59 38 69 184 227 228 68 185 61 44 22 26 182 + 3 197 9 16 39 55 76 1 73 187 75 12 11 38 @@ -3810,21 +3787,21 @@ ICCARM - 139 + 165 BICOMP - 111 + 148 ICCARM - 72 38 69 184 74 220 + 3 9 16 39 15 42 BICOMP - 72 38 69 184 74 220 + 3 9 16 39 15 42 @@ -3837,17 +3814,17 @@ BICOMP - 116 + 146 ICCARM - 72 38 69 184 3 89 + 3 9 16 39 51 5 BICOMP - 72 38 69 184 3 89 + 3 9 16 39 51 5 @@ -3856,21 +3833,21 @@ ICCARM - 176 + 131 BICOMP - 123 + 125 ICCARM - 72 38 69 184 37 18 + 3 9 16 39 118 80 BICOMP - 72 38 69 184 37 18 + 3 9 16 39 118 80 @@ -3879,21 +3856,21 @@ ICCARM - 142 + 152 BICOMP - 158 + 142 ICCARM - 72 38 69 184 29 56 1 30 + 3 9 16 39 61 198 27 62 BICOMP - 72 38 69 184 29 56 1 30 + 3 9 16 39 61 198 27 62 @@ -3902,21 +3879,21 @@ ICCARM - 154 + 138 BICOMP - 147 + 153 ICCARM - 68 185 61 175 44 22 26 182 72 38 69 184 9 172 + 1 73 187 178 75 12 11 38 3 9 16 39 196 23 BICOMP - 68 185 61 44 22 26 182 72 38 69 184 9 172 + 1 73 187 75 12 11 38 3 9 16 39 196 23 @@ -3925,21 +3902,21 @@ ICCARM - 125 + 127 BICOMP - 149 + 133 ICCARM - 72 59 38 69 184 45 187 68 185 61 175 44 22 26 182 226 189 51 71 191 222 15 11 39 35 + 3 197 9 16 39 232 34 1 73 187 178 75 12 11 38 52 54 202 8 56 45 79 77 14 13 BICOMP - 72 59 38 69 184 45 187 68 185 61 44 22 26 182 226 189 51 71 191 222 15 11 39 35 + 3 197 9 16 39 232 34 1 73 187 75 12 11 38 52 54 202 8 56 45 79 77 14 13 @@ -3948,21 +3925,21 @@ ICCARM - 156 + 140 BICOMP - 167 + 173 ICCARM - 72 38 69 184 120 21 + 3 9 16 39 20 60 BICOMP - 72 38 69 184 120 21 + 3 9 16 39 20 60 @@ -3971,21 +3948,21 @@ ICCARM - 129 + 123 BICOMP - 112 + 130 ICCARM - 72 38 69 184 146 4 + 3 9 16 39 22 53 BICOMP - 72 38 69 184 146 4 + 3 9 16 39 22 53 @@ -3994,21 +3971,21 @@ ICCARM - 109 + 147 BICOMP - 160 + 154 ICCARM - 72 38 69 184 190 188 83 + 3 9 16 39 72 71 90 BICOMP - 72 38 69 184 190 188 83 + 3 9 16 39 72 71 90 @@ -4017,21 +3994,21 @@ ICCARM - 135 + 162 BICOMP - 169 + 144 ICCARM - 72 38 69 184 57 62 + 3 9 16 39 50 185 BICOMP - 72 38 69 184 57 62 + 3 9 16 39 50 185 @@ -4040,21 +4017,21 @@ ICCARM - 151 + 135 BICOMP - 163 + 169 ICCARM - 72 38 69 184 224 49 + 3 9 16 39 63 200 BICOMP - 72 38 69 184 224 49 + 3 9 16 39 63 200 @@ -4063,21 +4040,44 @@ ICCARM - 183 + 179 + + + BICOMP + 177 + + + + + ICCARM + 3 197 9 16 39 25 29 61 198 47 199 21 69 189 66 184 26 194 74 18 59 BICOMP + 3 197 9 16 39 25 29 61 198 47 199 21 69 189 66 184 26 194 74 18 59 + + + + + $PROJ_DIR$\..\..\Source\c_display.c + + + ICCARM 174 + + BICOMP + 160 + ICCARM - 72 59 38 69 184 91 119 29 56 193 48 121 8 5 233 23 180 47 52 28 34 + 1 73 187 178 75 12 11 38 3 197 68 189 51 BICOMP - 72 59 38 69 184 91 119 29 56 193 48 121 8 5 233 23 180 47 52 28 34 + 1 73 187 75 12 11 38 3 197 68 189 51 diff --git a/AT91SAM7S256/SAM7S256/Tools/settings/LMS_ARM.wsdt b/AT91SAM7S256/SAM7S256/Tools/settings/LMS_ARM.wsdt index d4d2be0..9d35680 100644 --- a/AT91SAM7S256/SAM7S256/Tools/settings/LMS_ARM.wsdt +++ b/AT91SAM7S256/SAM7S256/Tools/settings/LMS_ARM.wsdt @@ -40,7 +40,7 @@ Workspace - LMS_ARMLMS_ARM/c_led.cLMS_ARM/d_loader.c + LMS_ARMLMS_ARM/c_cmd.cLMS_ARM/c_display.cLMS_ARM/c_led.c @@ -50,14 +50,14 @@ - TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_cmd.c051461452111452110TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_display.c09425142519TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_cmd_drawing.inc015974751247517TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_display.iom018669506955TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_ui.c012773356233580TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_cmd_bytecodes.h012145224522TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_cmd.h041812192121920100000010000001 + TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_cmd.c056591604451604450TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_cmd_drawing.inc011423478634786TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_display.iom034174817480100000010000001 - iaridepm.enu1-2-2546223-2-20000169683743555-2-21471328-2-21330149100301720217100 + iaridepm.enu1-2-2546223-2-20000169683743555-2-21471328-2-21330149100301720217100 diff --git a/AT91SAM7S256/Source/c_cmd_drawing.inc b/AT91SAM7S256/Source/c_cmd_drawing.inc index a8b5d86..01d90fd 100644 --- a/AT91SAM7S256/Source/c_cmd_drawing.inc +++ b/AT91SAM7S256/Source/c_cmd_drawing.inc @@ -103,6 +103,9 @@ enum { #define DRAW_OPT_FONT_DIR_T2BL (0x0180) // Font top to bottom left align #define DRAW_OPT_FONT_DIR_T2BR (0x01C0) // Font top to bottom right align +// new constant for polyline vs polygon +#define DRAW_OPT_POLYGON_POLYLINE (0x0400) + #define DESC_FONTOUT 0x8001 // ID for new font out function // CopyOptions, as originally defined for RIC files, now equate to: @@ -265,7 +268,7 @@ SWORD gPassedVarsCount = 0; void cCmdDrawLine(SLONG x1, SLONG y1, SLONG x2, SLONG y2, UBYTE PixelMode); void cCmdDrawRect(SLONG left, SLONG bottom, SLONG width, SLONG height, UBYTE PixelMode, UBYTE FillMode); void cCmdDrawCircle(SLONG cx, SLONG cy, SLONG radius, UBYTE PixelMode, UBYTE FillMode); -void cCmdDrawPolygon(IMG_PT* points, UWORD polyCorners, UBYTE PixelMode, UBYTE FillMode); +void cCmdDrawPolygon(IMG_PT* points, UWORD polyCorners, UBYTE PixelMode, UBYTE FillMode, UBYTE bLine); void cCmdDrawEllipse(SWORD cx, SWORD cy, SWORD a, SWORD b, UBYTE PixelMode, UBYTE FillMode); void cCmdCopyBitMapBits(SLONG dst_x, SLONG dst_y, SLONG src_x, SLONG src_y, SLONG src_width, SLONG src_height, @@ -418,31 +421,30 @@ NXT_STATUS cCmdWrapDrawRect(UBYTE * ArgV[]) NXT_STATUS cCmdWrapDrawPolygon(UBYTE * ArgV[]) { ULONG DrawOptions = *(ULONG*)ArgV[2]; - UBYTE pixelMode, fillMode; + UBYTE pixelMode, fillMode, bLine; //Resolve array argument IMG_PT * Points = (IMG_PT*)cCmdDVPtr(*(DV_INDEX *)(ArgV[1])); UWORD polyCorners = DV_ARRAY[*(DV_INDEX *)(ArgV[1])].Count; - if (polyCorners <= MAX_CORNERS) { - cCmdClearScreenIfNeeded(DrawOptions); - - if (cCmdResolveDrawingMode(DrawOptions, &pixelMode, &fillMode)) - cCmdDrawPolygon(Points, polyCorners, pixelMode, fillMode); - - pMapDisplay->UpdateMask |= SCREEN_BIT(SCREEN_BACKGROUND); - - // Set return value - *((SBYTE*)(ArgV[0])) = NO_ERR; - - return NO_ERR; + cCmdClearScreenIfNeeded(DrawOptions); + bLine = (DrawOptions & DRAW_OPT_POLYGON_POLYLINE) ? 1 : 0; + if (cCmdResolveDrawingMode(DrawOptions, &pixelMode, &fillMode)) { + if (fillMode == DRAW_SHAPE_FILLED && polyCorners > MAX_CORNERS) { + // Set return value + *((SBYTE*)(ArgV[0])) = ERR_INSTR; + return ERR_INSTR; + } + else + cCmdDrawPolygon(Points, polyCorners, pixelMode, fillMode, bLine); } - else { - // Set return value - *((SBYTE*)(ArgV[0])) = ERR_INSTR; - return ERR_INSTR; - } + pMapDisplay->UpdateMask |= SCREEN_BIT(SCREEN_BACKGROUND); + + // Set return value + *((SBYTE*)(ArgV[0])) = NO_ERR; + + return NO_ERR; } //----------------------------------------------------------------- @@ -721,13 +723,17 @@ NXT_STATUS cCmdDrawPictureHelper(IMG_OP_UNION** ppImage, IMG_PT* pPoint, SLONG* if (OpSize >= sizeof(IMG_OP_POLYGON)) { IMG_OP_POLYGON * pP = &(pImage->Polygon); + UBYTE bLine = (pP->CopyOptions & DRAW_OPT_POLYGON_POLYLINE) ? 1 : 0; cCmdResolveDrawingMode(pP->CopyOptions, &pixelMode, &fillMode); //JJR // resolve all the values in the struct - for(int i=0;iCount; i++) { - pP->Points[i].X = (SWORD)(cCmdResolveValue(pP->Points[i].X)+Pt.X); - pP->Points[i].Y = (SWORD)(cCmdResolveValue(pP->Points[i].Y)+Pt.Y); + if (fillMode != DRAW_SHAPE_FILLED || pP->Count <= MAX_CORNERS) + { + for(int i=0;iCount; i++) { + pP->Points[i].X = (SWORD)(cCmdResolveValue(pP->Points[i].X)+Pt.X); + pP->Points[i].Y = (SWORD)(cCmdResolveValue(pP->Points[i].Y)+Pt.Y); + } + cCmdDrawPolygon(pP->Points, pP->Count, pixelMode, fillMode, bLine); } - cCmdDrawPolygon(pP->Points, pP->Count, pixelMode, fillMode); } } break; @@ -1081,9 +1087,10 @@ void cCmdDrawRect( } -void cCmdDrawPolygon(IMG_PT* points, UWORD polyCorners, UBYTE PixelMode, UBYTE FillMode) +void cCmdDrawPolygon(IMG_PT* points, UWORD polyCorners, UBYTE PixelMode, UBYTE FillMode, UBYTE bLine) { - if (FillMode == DRAW_SHAPE_FILLED) + // the fill mode overrides the polyline vs polygon setting + if (FillMode == DRAW_SHAPE_FILLED) { int nodes; int nodeX[MAX_CORNERS]; @@ -1145,8 +1152,17 @@ void cCmdDrawPolygon(IMG_PT* points, UWORD polyCorners, UBYTE PixelMode, UBYTE F } else { - for(int i = 0, j = polyCorners-1; i 200) @@ -3535,13 +3535,14 @@ NXT_STATUS cCmdDatalogRead(UBYTE * pBuffer, UWORD Length, UBYTE Remove) return Status; } + // // Color Sensor Functions // NXT_STATUS cCmdColorSensorRead (UBYTE Port, SWORD * SensorValue, UWORD * RawArray, UWORD * NormalizedArray, SWORD * ScaledArray, UBYTE * InvalidData) { - ULONG i; + ULONG i; //Make sure Port is valid for Color Sensor INPUTSTRUCT * pIn = &(pMapInput->Inputs[Port]); UBYTE sType = pIn->SensorType; @@ -4559,8 +4560,8 @@ afterCompaction: else if (Status == CLUMP_SUSPEND || Status == BREAKOUT_REQ || Status == ROTATE_QUEUE) // already requeued { pClumpRec->PC = pInstr + gPCDelta; - //Throw error if we ever advance beyond the clump's codespace - if (pInstr > lastClumpInstr) + //Throw error if we ever advance beyond the clump's codespace + if (pInstr > lastClumpInstr) { NXT_BREAK; Status = ERR_INSTR; @@ -5153,7 +5154,7 @@ NXT_STATUS cCmdInterpUnop2(CODE_WORD * const pCode) } break; - default: + default: { //Fatal error: Unrecognized instruction NXT_BREAK; @@ -5205,8 +5206,8 @@ NXT_STATUS cCmdInterpPolyUnop2(CODE_WORD const Code, DATA_ARG Arg1, UWORD Offset else { ArgVal2= cCmdGetScalarValFromDataArg(Arg2, Offset2); - if (opCode == OP_MOV) - ArgVal1 = ArgVal2; + if(opCode == OP_MOV) + ArgVal1= ArgVal2; else ArgVal1 = cCmdUnop2(Code, ArgVal2, TypeCode2); cCmdSetVal(pArg1, TypeCode1, ArgVal1); @@ -5215,10 +5216,11 @@ NXT_STATUS cCmdInterpPolyUnop2(CODE_WORD const Code, DATA_ARG Arg1, UWORD Offset } //At least one of the args is an aggregate type + if(TypeCode1 == TC_ARRAY && TypeCode2 == TC_ARRAY && opCode == OP_MOV) { TYPE_CODE tc1, tc2; - tc1 = cCmdDSType(INC_ID(Arg1)); - tc2 = cCmdDSType(INC_ID(Arg2)); + tc1= cCmdDSType(INC_ID(Arg1)); + tc2= cCmdDSType(INC_ID(Arg2)); if((tc1 <= TC_LAST_INT_SCALAR || tc1 == TC_FLOAT) && tc1 == tc2) { void *pArg1, *pArg2; ULONG Count = cCmdArrayCount(Arg2, Offset2); @@ -5504,12 +5506,12 @@ NXT_STATUS cCmdInterpScalarBinop(CODE_WORD * const pCode) if(TypeCode2 <= TC_LAST_INT_SCALAR && TypeCode3 <= TC_LAST_INT_SCALAR) { ArgVal2= GetProcArray[TypeCode2](VarsCmd.pDataspace + dsTOC2Ptr->DSOffset); ArgVal3= GetProcArray[TypeCode3](VarsCmd.pDataspace + dsTOC3Ptr->DSOffset); - ArgVal1= cCmdCompare(COMP_CODE(pCode), ArgVal2, ArgVal3, TypeCode2, TypeCode3); + ArgVal1= cCmdCompare(COMP_CODE(pCode), ArgVal2, ArgVal3, TypeCode2, TypeCode3); DS_TOC_ENTRY *dsTOC1Ptr= &VarsCmd.pDataspaceTOC[Arg1]; SetProcArray[dsTOC1Ptr->TypeCode](VarsCmd.pDataspace + dsTOC1Ptr->DSOffset, ArgVal1); - scalarCmp++; - Status = NO_ERR; - } + scalarCmp++; + Status = NO_ERR; + } else if (TypeCode2 == TC_ARRAY) // two strings { // memcmp(); here or in compareagg, could use memcmp to speed up string compares ??? @@ -5523,31 +5525,31 @@ NXT_STATUS cCmdInterpScalarBinop(CODE_WORD * const pCode) } } else if(opCode == OP_BRCMP) { // t2 and t3 guaranteed scalar - TYPE_CODE TypeCode2, TypeCode3; - ULONG ArgVal2, ArgVal3; + TYPE_CODE TypeCode2, TypeCode3; + ULONG ArgVal2, ArgVal3; - Arg1 = pCode[1]; - Arg2 = pCode[2]; - Arg3 = pCode[3]; - TypeCode2= cCmdDSType(Arg2); - TypeCode3= cCmdDSType(Arg3); - ArgVal2= cCmdGetScalarValFromDataArg(Arg2, 0); - ArgVal3= cCmdGetScalarValFromDataArg(Arg3, 0); - CmpBool= cCmdCompare(COMP_CODE(pCode), ArgVal2, ArgVal3, TypeCode2, TypeCode3); + Arg1 = pCode[1]; + Arg2 = pCode[2]; + Arg3 = pCode[3]; + TypeCode2= cCmdDSType(Arg2); + TypeCode3= cCmdDSType(Arg3); + ArgVal2= cCmdGetScalarValFromDataArg(Arg2, 0); + ArgVal3= cCmdGetScalarValFromDataArg(Arg3, 0); + CmpBool= cCmdCompare(COMP_CODE(pCode), ArgVal2, ArgVal3, TypeCode2, TypeCode3); - if (CmpBool) - gPCDelta = (SWORD)Arg1; - else - gPCDelta= 4; - Status= NO_ERR; - } + if (CmpBool) + gPCDelta = (SWORD)Arg1; + else + gPCDelta= 4; + Status= NO_ERR; + } else if(opCode >= OP_SETIN && opCode <= OP_GETOUT) { - Arg1 = pCode[1]; - Arg2 = pCode[2]; - Arg3 = pCode[3]; + Arg1 = pCode[1]; + Arg2 = pCode[2]; + Arg3 = pCode[3]; Status= cCmdIOGetSet(opCode, Arg1, Arg2, Arg3); gPCDelta= 4; - } + } else { scalarOther ++; Status= cCmdInterpBinop(pCode); @@ -5573,10 +5575,10 @@ NXT_STATUS cCmdInterpBinop(CODE_WORD * const pCode) gPCDelta= 4; NXT_ASSERT(pCode != NULL); - opCode = OP_CODE(pCode); - Arg1 = pCode[1]; - Arg2 = pCode[2]; - Arg3 = pCode[3]; + opCode = OP_CODE(pCode); + Arg1 = pCode[1]; + Arg2 = pCode[2]; + Arg3 = pCode[3]; if ((opCode <= OP_XOR) || (opCode >= OP_LSL && opCode <= OP_ROTR) || @@ -5585,96 +5587,96 @@ NXT_STATUS cCmdInterpBinop(CODE_WORD * const pCode) else if(opCode >= OP_SETIN && opCode <= OP_GETOUT) Status= cCmdIOGetSet(opCode, Arg1, Arg2, Arg3); else { - switch (opCode) + switch (opCode) + { + case OP_CMP: { - case OP_CMP: - { TYPE_CODE TypeCode2= cCmdDSType(Arg2), TypeCode3= cCmdDSType(Arg3); - if(TypeCode2 <= TC_LAST_INT_SCALAR && TypeCode3 <= TC_LAST_INT_SCALAR) { - ULONG ArgVal1, ArgVal2, ArgVal3; - ArgVal2= cCmdGetScalarValFromDataArg(Arg2, 0); - ArgVal3= cCmdGetScalarValFromDataArg(Arg3, 0); - ArgVal1= cCmdCompare(COMP_CODE(pCode), ArgVal2, ArgVal3, TypeCode2, TypeCode3); - cCmdSetScalarValFromDataArg(Arg1, ArgVal1); - PolyScalarCmp++; - } - else if (IS_AGGREGATE_TYPE(TypeCode2) && IS_AGGREGATE_TYPE(TypeCode3) && !IS_AGGREGATE_TYPE(cCmdDSType(Arg1))) - { - //Compare Aggregates - Status = cCmdCompareAggregates(COMP_CODE(pCode), &CmpBool, Arg2, 0, Arg3, 0); - cCmdSetScalarValFromDataArg(Arg1, CmpBool); - recursiveCmp++; - } - else - { - //Compare Elements - Status = cCmdInterpPolyBinop(*pCode, Arg1, 0, Arg2, 0, Arg3, 0); - polyPolyCmp++; - } - } - break; - - case OP_BRCMP: - { - TYPE_CODE TypeCode2= cCmdDSType(Arg2), TypeCode3= cCmdDSType(Arg3); - if(TypeCode2 <= TC_LAST_INT_SCALAR && TypeCode3 <= TC_LAST_INT_SCALAR) { - ULONG ArgVal2, ArgVal3; + if(TypeCode2 <= TC_LAST_INT_SCALAR && TypeCode3 <= TC_LAST_INT_SCALAR) { + ULONG ArgVal1, ArgVal2, ArgVal3; ArgVal2= cCmdGetScalarValFromDataArg(Arg2, 0); ArgVal3= cCmdGetScalarValFromDataArg(Arg3, 0); - CmpBool= cCmdCompare(COMP_CODE(pCode), ArgVal2, ArgVal3, TypeCode2, TypeCode3); + ArgVal1= cCmdCompare(COMP_CODE(pCode), ArgVal2, ArgVal3, TypeCode2, TypeCode3); + cCmdSetScalarValFromDataArg(Arg1, ArgVal1); + PolyScalarCmp++; } - else //Compare Aggregates + else if (IS_AGGREGATE_TYPE(TypeCode2) && IS_AGGREGATE_TYPE(TypeCode3) && !IS_AGGREGATE_TYPE(cCmdDSType(Arg1))) + { + //Compare Aggregates Status = cCmdCompareAggregates(COMP_CODE(pCode), &CmpBool, Arg2, 0, Arg3, 0); - - if (CmpBool) - gPCDelta = (SWORD)Arg1; + cCmdSetScalarValFromDataArg(Arg1, CmpBool); + recursiveCmp++; } - break; - - case OP_INDEX: + else { - ArgVal3 = (Arg3 != NOT_A_DS_ID) ? cCmdGetScalarValFromDataArg(Arg3, 0) : 0; - - DVIndex2 = cCmdGetDVIndex(Arg2, 0); - if (ArgVal3 >= DV_ARRAY[DVIndex2].Count) - return (ERR_ARG); - - Status = cCmdInterpPolyUnop2(OP_MOV, Arg1, 0, INC_ID(Arg2), ARRAY_ELEM_OFFSET(DVIndex2, ArgVal3)); + //Compare Elements + Status = cCmdInterpPolyBinop(*pCode, Arg1, 0, Arg2, 0, Arg3, 0); + polyPolyCmp++; } - break; - - case OP_ARRINIT: - { - //Arg1 - Dst, Arg2 - element type/default val, Arg3 - length - + } + break; + + case OP_BRCMP: + { + TYPE_CODE TypeCode2= cCmdDSType(Arg2), TypeCode3= cCmdDSType(Arg3); + if(TypeCode2 <= TC_LAST_INT_SCALAR && TypeCode3 <= TC_LAST_INT_SCALAR) { + ULONG ArgVal2, ArgVal3; + ArgVal2= cCmdGetScalarValFromDataArg(Arg2, 0); + ArgVal3= cCmdGetScalarValFromDataArg(Arg3, 0); + CmpBool= cCmdCompare(COMP_CODE(pCode), ArgVal2, ArgVal3, TypeCode2, TypeCode3); + } + else //Compare Aggregates + Status = cCmdCompareAggregates(COMP_CODE(pCode), &CmpBool, Arg2, 0, Arg3, 0); + + if (CmpBool) + gPCDelta = (SWORD)Arg1; + } + break; + + case OP_INDEX: + { + ArgVal3 = (Arg3 != NOT_A_DS_ID) ? cCmdGetScalarValFromDataArg(Arg3, 0) : 0; + + DVIndex2 = cCmdGetDVIndex(Arg2, 0); + if (ArgVal3 >= DV_ARRAY[DVIndex2].Count) + return (ERR_ARG); + + Status = cCmdInterpPolyUnop2(OP_MOV, Arg1, 0, INC_ID(Arg2), ARRAY_ELEM_OFFSET(DVIndex2, ArgVal3)); + } + break; + + case OP_ARRINIT: + { + //Arg1 - Dst, Arg2 - element type/default val, Arg3 - length + NXT_ASSERT(cCmdDSType(Arg1) == TC_ARRAY); - + // determine the type of the array destination arg TYPE_CODE TypeCode = cCmdDSType(INC_ID(Arg1)); - + // How many elements do we want? ArgVal3 = (Arg3 != NOT_A_DS_ID) ? cCmdGetScalarValFromDataArg(Arg3, 0) : 0; - - Status = cCmdDSArrayAlloc(Arg1, 0, (UWORD)ArgVal3); + + Status = cCmdDSArrayAlloc(Arg1, 0, (UWORD)ArgVal3); if (!IS_ERR(Status)) { - DVIndex1 = cCmdGetDVIndex(Arg1, 0); + DVIndex1 = cCmdGetDVIndex(Arg1, 0); if(cCmdDSType(Arg2) <= TC_LAST_INT_SCALAR && TypeCode <= TC_LAST_INT_SCALAR) { ULONG val= cCmdGetScalarValFromDataArg(Arg2, 0); for (i = 0; i < ArgVal3; i++) // could init ptr and incr by offset GM??? - { - //copy Arg2 into each element of Arg1 + { + //copy Arg2 into each element of Arg1 cCmdSetVal(VarsCmd.pDataspace + ARRAY_ELEM_OFFSET(DVIndex1, i), TypeCode, val); } } else for (i = 0; i < ArgVal3; i++) //copy Arg2 into each element of Arg1 - Status = cCmdInterpPolyUnop2(OP_MOV, INC_ID(Arg1), ARRAY_ELEM_OFFSET(DVIndex1, i), Arg2, 0); - } + Status = cCmdInterpPolyUnop2(OP_MOV, INC_ID(Arg1), ARRAY_ELEM_OFFSET(DVIndex1, i), Arg2, 0); } - break; - + } + break; + case OP_FMTNUM: { //Check that the destination is a string (array of bytes) @@ -5682,13 +5684,13 @@ NXT_STATUS cCmdInterpBinop(CODE_WORD * const pCode) Status = ERR_INSTR; return (Status); } - + //Check that the format is a string (array of bytes) if (cCmdDSType(Arg2) != TC_ARRAY || cCmdDSType(INC_ID(Arg2)) != TC_UBYTE) { Status = ERR_INSTR; return (Status); } - + pArg2 = cCmdResolveDataArg(Arg2, 0, NULL); TYPE_CODE TypeCode3 = cCmdDSType(Arg3); @@ -5697,7 +5699,7 @@ NXT_STATUS cCmdInterpBinop(CODE_WORD * const pCode) Status = ERR_INSTR; return (Status); } - + char fmtBuf[256]; // arbitrary limit!!! // handle floats separately from scalar types if (TypeCode3 == TC_FLOAT) { @@ -5717,17 +5719,17 @@ NXT_STATUS cCmdInterpBinop(CODE_WORD * const pCode) Count = sprintf(fmtBuf, pArg2, ArgVal3); } } - + //add room for NULL terminator Count++; - + //Allocate array Status = cCmdDSArrayAlloc(Arg1, 0, Count); if (IS_ERR(Status)) return Status; - + pArg1 = cCmdResolveDataArg(Arg1, 0, NULL); - + //Populate array memcpy(pArg1, fmtBuf, Count); } @@ -5748,14 +5750,14 @@ NXT_STATUS cCmdInterpBinop(CODE_WORD * const pCode) } break; - default: - { - //Fatal error: Unrecognized instruction - NXT_BREAK; - Status = ERR_INSTR; - } - break; + default: + { + //Fatal error: Unrecognized instruction + NXT_BREAK; + Status = ERR_INSTR; } + break; + } } return (Status); } @@ -5800,10 +5802,10 @@ NXT_STATUS cCmdInterpPolyBinop(CODE_WORD const Code, DATA_ARG Arg1, UWORD Offset } else { - ArgVal2 = cCmdGetScalarValFromDataArg(Arg2, Offset2); - ArgVal3 = cCmdGetScalarValFromDataArg(Arg3, Offset3); - ArgVal1 = cCmdBinop(Code, ArgVal2, ArgVal3, TypeCode2, TypeCode3); - cCmdSetVal(pArg1, TypeCode1, ArgVal1); + ArgVal2 = cCmdGetScalarValFromDataArg(Arg2, Offset2); + ArgVal3 = cCmdGetScalarValFromDataArg(Arg3, Offset3); + ArgVal1 = cCmdBinop(Code, ArgVal2, ArgVal3, TypeCode2, TypeCode3); + cCmdSetVal(pArg1, TypeCode1, ArgVal1); } return Status; } @@ -6219,7 +6221,7 @@ NXT_STATUS cCmdMove(DATA_ARG Arg1, DATA_ARG Arg2) *(UWORD*)pArg1= *(UWORD*)pArg2; Status= NO_ERR; } - else + else { moveDiffInt++; ULONG val= cCmdGetScalarValFromDataArg(Arg2, 0); @@ -8683,6 +8685,7 @@ void cCmdWriteBenchmarkFile() } #endif + ///////////////////////////////////////////////////////////// // Dymanic syscall implementations //////////////////////////////////////////////////////////// diff --git a/AT91SAM7S256/Source/c_cmd.h b/AT91SAM7S256/Source/c_cmd.h index 5f9caa6..3af20cd 100644 --- a/AT91SAM7S256/Source/c_cmd.h +++ b/AT91SAM7S256/Source/c_cmd.h @@ -362,6 +362,7 @@ typedef struct #define SET_WRITE_DTLG(DVIndex) (VarsCmd.DatalogBuffer.Datalogs[VarsCmd.DatalogBuffer.WriteIndex] = (DVIndex)) #define SET_READ_DTLG(DVIndex) (VarsCmd.DatalogBuffer.Datalogs[VarsCmd.DatalogBuffer.ReadIndex] = (DVIndex)) + // //Definitions related to dataflow scheduling // diff --git a/AT91SAM7S256/Source/c_cmd_drawing.inc b/AT91SAM7S256/Source/c_cmd_drawing.inc index 01d90fd..9a62c12 100644 --- a/AT91SAM7S256/Source/c_cmd_drawing.inc +++ b/AT91SAM7S256/Source/c_cmd_drawing.inc @@ -306,10 +306,12 @@ void cCmdDrawTextHelper(ULONG DrawOptions, UBYTE *pString, IMG_PT * pPt) NXT_STATUS cCmdWrapDrawText(UBYTE * ArgV[]) { IMG_PT * pPt = (IMG_PT*) ArgV[1]; + ArgV[2] = (UBYTE*)cCmdDVPtr(*(DV_INDEX *)(ArgV[2])); //Resolve array argument cCmdDrawTextHelper(*(ULONG*)ArgV[3], ArgV[2], pPt); // Set return value *((SBYTE*)(ArgV[0])) = NO_ERR; + return NO_ERR; } @@ -382,8 +384,10 @@ NXT_STATUS cCmdWrapDrawCircle(UBYTE * ArgV[]) cCmdDrawCircle(pPt->X, pPt->Y, radius, pixelMode, fillMode); pMapDisplay->UpdateMask |= SCREEN_BIT(SCREEN_BACKGROUND); + // Set return value *((SBYTE*)(ArgV[0])) = NO_ERR; + return NO_ERR; } @@ -1533,6 +1537,7 @@ void cCmdSetPixel(SLONG X, SLONG Y, ULONG PixelMode) pMapDisplay->pFunc(DISPLAY_PIXEL, (UBYTE)PixelMode, (UBYTE)X, (UBYTE)Y, 0, 0); } + //----------------------------------------------------------------- //cCmdWrapSetScreenMode //ArgV[0]: (Function return) Status code, SBYTE diff --git a/AT91SAM7S256/Source/c_comm.c b/AT91SAM7S256/Source/c_comm.c index 610d369..f550ca3 100644 --- a/AT91SAM7S256/Source/c_comm.c +++ b/AT91SAM7S256/Source/c_comm.c @@ -219,6 +219,7 @@ void cCommCtrl(void) } } break; + case BT_ARM_DATA_MODE: case BT_ARM_GPS_MODE: case BT_ARM_RAW_MODE: @@ -1229,16 +1230,16 @@ UWORD cCommReceivedBtData(void) { if (VarsComm.BtState == BT_ARM_DATA_MODE) { - + /* Move the inptr ahead */ IOMapComm.BtInBuf.InPtr = NumberOfBytes; - + /* using the outbuf inptr in order to get the number of bytes in the return answer at the right place*/ IOMapComm.BtOutBuf.InPtr = NumberOfBytes; - + /* call the data stream interpreter */ cCommInterprete(IOMapComm.BtInBuf.Buf, IOMapComm.BtOutBuf.Buf, &(IOMapComm.BtOutBuf.InPtr), (UBYTE) BT_CMD_READY, BytesToGo); - + /* if there is a reply to be sent then send it */ if (IOMapComm.BtOutBuf.InPtr) { diff --git a/AT91SAM7S256/Source/c_lowspeed.c b/AT91SAM7S256/Source/c_lowspeed.c index de0cf77..f8baa92 100644 --- a/AT91SAM7S256/Source/c_lowspeed.c +++ b/AT91SAM7S256/Source/c_lowspeed.c @@ -58,147 +58,147 @@ void cLowSpeedCtrl(void) for (ChannelNumber = 0; ChannelNumber < NO_OF_LOWSPEED_COM_CHANNEL; ChannelNumber++) { //Lowspeed com is activated - switch (IOMapLowSpeed.ChannelState[ChannelNumber]) - { - case LOWSPEED_IDLE: + switch (IOMapLowSpeed.ChannelState[ChannelNumber]) + { + case LOWSPEED_IDLE: + { + } + break; + + case LOWSPEED_INIT: + { + if ((pMapInput->Inputs[ChannelNumber].SensorType == LOWSPEED) || (pMapInput->Inputs[ChannelNumber].SensorType == LOWSPEED_9V)) { + if (VarsLowSpeed.TimerState == TIMER_STOPPED) + { + dLowSpeedStartTimer(); + VarsLowSpeed.TimerState = TIMER_RUNNING; + } + IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_LOAD_BUFFER; + IOMapLowSpeed.ErrorType[ChannelNumber] = LOWSPEED_NO_ERROR; + VarsLowSpeed.ErrorCount[ChannelNumber] = 0; + dLowSpeedInitPins(ChannelNumber); } - break; - - case LOWSPEED_INIT: + else { - if ((pMapInput->Inputs[ChannelNumber].SensorType == LOWSPEED) || (pMapInput->Inputs[ChannelNumber].SensorType == LOWSPEED_9V)) - { - if (VarsLowSpeed.TimerState == TIMER_STOPPED) - { - dLowSpeedStartTimer(); - VarsLowSpeed.TimerState = TIMER_RUNNING; - } - IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_LOAD_BUFFER; - IOMapLowSpeed.ErrorType[ChannelNumber] = LOWSPEED_NO_ERROR; - VarsLowSpeed.ErrorCount[ChannelNumber] = 0; - dLowSpeedInitPins(ChannelNumber); - } - else - { - IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_ERROR; - IOMapLowSpeed.ErrorType[ChannelNumber] = LOWSPEED_CH_NOT_READY; - } + IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_ERROR; + IOMapLowSpeed.ErrorType[ChannelNumber] = LOWSPEED_CH_NOT_READY; } - break; + } + break; - case LOWSPEED_LOAD_BUFFER: + case LOWSPEED_LOAD_BUFFER: + { + if ((pMapInput->Inputs[ChannelNumber].SensorType == LOWSPEED) || (pMapInput->Inputs[ChannelNumber].SensorType == LOWSPEED_9V)) { - if ((pMapInput->Inputs[ChannelNumber].SensorType == LOWSPEED) || (pMapInput->Inputs[ChannelNumber].SensorType == LOWSPEED_9V)) + VarsLowSpeed.OutputBuf[ChannelNumber].OutPtr = 0; + for (VarsLowSpeed.OutputBuf[ChannelNumber].InPtr = 0; VarsLowSpeed.OutputBuf[ChannelNumber].InPtr < IOMapLowSpeed.OutBuf[ChannelNumber].InPtr; VarsLowSpeed.OutputBuf[ChannelNumber].InPtr++) { - VarsLowSpeed.OutputBuf[ChannelNumber].OutPtr = 0; - for (VarsLowSpeed.OutputBuf[ChannelNumber].InPtr = 0; VarsLowSpeed.OutputBuf[ChannelNumber].InPtr < IOMapLowSpeed.OutBuf[ChannelNumber].InPtr; VarsLowSpeed.OutputBuf[ChannelNumber].InPtr++) - { - VarsLowSpeed.OutputBuf[ChannelNumber].Buf[VarsLowSpeed.OutputBuf[ChannelNumber].InPtr] = IOMapLowSpeed.OutBuf[ChannelNumber].Buf[IOMapLowSpeed.OutBuf[ChannelNumber].OutPtr]; - IOMapLowSpeed.OutBuf[ChannelNumber].OutPtr++; - } - if (dLowSpeedSendData(ChannelNumber, &VarsLowSpeed.OutputBuf[ChannelNumber].Buf[0], (VarsLowSpeed.OutputBuf[ChannelNumber].InPtr - VarsLowSpeed.OutputBuf[ChannelNumber].OutPtr))) - { - if (IOMapLowSpeed.InBuf[ChannelNumber].BytesToRx != 0) - { - dLowSpeedReceiveData(ChannelNumber, &VarsLowSpeed.InputBuf[ChannelNumber].Buf[0], IOMapLowSpeed.InBuf[ChannelNumber].BytesToRx, IOMapLowSpeed.NoRestartOnRead); - VarsLowSpeed.RxTimeCnt[ChannelNumber] = 0; - } - IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_COMMUNICATING; - IOMapLowSpeed.Mode[ChannelNumber] = LOWSPEED_TRANSMITTING; - } - else + VarsLowSpeed.OutputBuf[ChannelNumber].Buf[VarsLowSpeed.OutputBuf[ChannelNumber].InPtr] = IOMapLowSpeed.OutBuf[ChannelNumber].Buf[IOMapLowSpeed.OutBuf[ChannelNumber].OutPtr]; + IOMapLowSpeed.OutBuf[ChannelNumber].OutPtr++; + } + if (dLowSpeedSendData(ChannelNumber, &VarsLowSpeed.OutputBuf[ChannelNumber].Buf[0], (VarsLowSpeed.OutputBuf[ChannelNumber].InPtr - VarsLowSpeed.OutputBuf[ChannelNumber].OutPtr))) + { + if (IOMapLowSpeed.InBuf[ChannelNumber].BytesToRx != 0) { - IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_ERROR; - IOMapLowSpeed.ErrorType[ChannelNumber] = LOWSPEED_CH_NOT_READY; + dLowSpeedReceiveData(ChannelNumber, &VarsLowSpeed.InputBuf[ChannelNumber].Buf[0], IOMapLowSpeed.InBuf[ChannelNumber].BytesToRx, IOMapLowSpeed.NoRestartOnRead); + VarsLowSpeed.RxTimeCnt[ChannelNumber] = 0; } - } + IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_COMMUNICATING; + IOMapLowSpeed.Mode[ChannelNumber] = LOWSPEED_TRANSMITTING; + } else { IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_ERROR; IOMapLowSpeed.ErrorType[ChannelNumber] = LOWSPEED_CH_NOT_READY; } } - break; + else + { + IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_ERROR; + IOMapLowSpeed.ErrorType[ChannelNumber] = LOWSPEED_CH_NOT_READY; + } + } + break; - case LOWSPEED_COMMUNICATING: + case LOWSPEED_COMMUNICATING: + { + if ((pMapInput->Inputs[ChannelNumber].SensorType == LOWSPEED) || (pMapInput->Inputs[ChannelNumber].SensorType == LOWSPEED_9V)) { - if ((pMapInput->Inputs[ChannelNumber].SensorType == LOWSPEED) || (pMapInput->Inputs[ChannelNumber].SensorType == LOWSPEED_9V)) - { - if (IOMapLowSpeed.Mode[ChannelNumber] == LOWSPEED_TRANSMITTING) - { - Temp = dLowSpeedComTxStatus(ChannelNumber); // Returns 0x00 if not done, 0x01 if success, 0xFF if error - - if (Temp == LOWSPEED_COMMUNICATION_SUCCESS) - { - if (IOMapLowSpeed.InBuf[ChannelNumber].BytesToRx != 0) - { - IOMapLowSpeed.Mode[ChannelNumber] = LOWSPEED_RECEIVING; - } - else - { - IOMapLowSpeed.Mode[ChannelNumber] = LOWSPEED_DATA_RECEIVED; - IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_DONE; - } - } - if (Temp == LOWSPEED_COMMUNICATION_ERROR) - { - //ERROR in Communication, No ACK received from SLAVE, retry send data 3 times! - VarsLowSpeed.ErrorCount[ChannelNumber]++; - if (VarsLowSpeed.ErrorCount[ChannelNumber] > MAX_RETRY_TX_COUNT) - { - IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_ERROR; - IOMapLowSpeed.ErrorType[ChannelNumber] = LOWSPEED_TX_ERROR; - } - else - { - IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_LOAD_BUFFER; - } - } - } - if (IOMapLowSpeed.Mode[ChannelNumber] == LOWSPEED_RECEIVING) - { - VarsLowSpeed.RxTimeCnt[ChannelNumber]++; - if (VarsLowSpeed.RxTimeCnt[ChannelNumber] > LOWSPEED_RX_TIMEOUT) + if (IOMapLowSpeed.Mode[ChannelNumber] == LOWSPEED_TRANSMITTING) + { + Temp = dLowSpeedComTxStatus(ChannelNumber); // Returns 0x00 if not done, 0x01 if success, 0xFF if error + + if (Temp == LOWSPEED_COMMUNICATION_SUCCESS) + { + if (IOMapLowSpeed.InBuf[ChannelNumber].BytesToRx != 0) { - IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_ERROR; - IOMapLowSpeed.ErrorType[ChannelNumber] = LOWSPEED_RX_ERROR; + IOMapLowSpeed.Mode[ChannelNumber] = LOWSPEED_RECEIVING; } - Temp = dLowSpeedComRxStatus(ChannelNumber); - if (Temp == LOWSPEED_COMMUNICATION_SUCCESS) + else { - for (VarsLowSpeed.InputBuf[ChannelNumber].OutPtr = 0; VarsLowSpeed.InputBuf[ChannelNumber].OutPtr < IOMapLowSpeed.InBuf[ChannelNumber].BytesToRx; VarsLowSpeed.InputBuf[ChannelNumber].OutPtr++) - { - IOMapLowSpeed.InBuf[ChannelNumber].Buf[IOMapLowSpeed.InBuf[ChannelNumber].InPtr] = VarsLowSpeed.InputBuf[ChannelNumber].Buf[VarsLowSpeed.InputBuf[ChannelNumber].OutPtr]; - IOMapLowSpeed.InBuf[ChannelNumber].InPtr++; - if (IOMapLowSpeed.InBuf[ChannelNumber].InPtr >= SIZE_OF_LSBUF) - { - IOMapLowSpeed.InBuf[ChannelNumber].InPtr = 0; - } - VarsLowSpeed.InputBuf[ChannelNumber].Buf[VarsLowSpeed.InputBuf[ChannelNumber].OutPtr] = 0; - } IOMapLowSpeed.Mode[ChannelNumber] = LOWSPEED_DATA_RECEIVED; IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_DONE; } - if (Temp == LOWSPEED_COMMUNICATION_ERROR) + } + if (Temp == LOWSPEED_COMMUNICATION_ERROR) + { + //ERROR in Communication, No ACK received from SLAVE, retry send data 3 times! + VarsLowSpeed.ErrorCount[ChannelNumber]++; + if (VarsLowSpeed.ErrorCount[ChannelNumber] > MAX_RETRY_TX_COUNT) + { + IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_ERROR; + IOMapLowSpeed.ErrorType[ChannelNumber] = LOWSPEED_TX_ERROR; + } + else + { + IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_LOAD_BUFFER; + } + } + } + if (IOMapLowSpeed.Mode[ChannelNumber] == LOWSPEED_RECEIVING) + { + VarsLowSpeed.RxTimeCnt[ChannelNumber]++; + if (VarsLowSpeed.RxTimeCnt[ChannelNumber] > LOWSPEED_RX_TIMEOUT) + { + IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_ERROR; + IOMapLowSpeed.ErrorType[ChannelNumber] = LOWSPEED_RX_ERROR; + } + Temp = dLowSpeedComRxStatus(ChannelNumber); + if (Temp == LOWSPEED_COMMUNICATION_SUCCESS) + { + for (VarsLowSpeed.InputBuf[ChannelNumber].OutPtr = 0; VarsLowSpeed.InputBuf[ChannelNumber].OutPtr < IOMapLowSpeed.InBuf[ChannelNumber].BytesToRx; VarsLowSpeed.InputBuf[ChannelNumber].OutPtr++) { - //There was and error in receiving data from the device - for (VarsLowSpeed.InputBuf[ChannelNumber].OutPtr = 0; VarsLowSpeed.InputBuf[ChannelNumber].OutPtr < IOMapLowSpeed.InBuf[ChannelNumber].BytesToRx; VarsLowSpeed.InputBuf[ChannelNumber].OutPtr++) + IOMapLowSpeed.InBuf[ChannelNumber].Buf[IOMapLowSpeed.InBuf[ChannelNumber].InPtr] = VarsLowSpeed.InputBuf[ChannelNumber].Buf[VarsLowSpeed.InputBuf[ChannelNumber].OutPtr]; + IOMapLowSpeed.InBuf[ChannelNumber].InPtr++; + if (IOMapLowSpeed.InBuf[ChannelNumber].InPtr >= SIZE_OF_LSBUF) { - VarsLowSpeed.InputBuf[ChannelNumber].Buf[VarsLowSpeed.InputBuf[ChannelNumber].OutPtr] = 0; + IOMapLowSpeed.InBuf[ChannelNumber].InPtr = 0; } - IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_ERROR; - IOMapLowSpeed.ErrorType[ChannelNumber] = LOWSPEED_RX_ERROR; - } + VarsLowSpeed.InputBuf[ChannelNumber].Buf[VarsLowSpeed.InputBuf[ChannelNumber].OutPtr] = 0; + } + IOMapLowSpeed.Mode[ChannelNumber] = LOWSPEED_DATA_RECEIVED; + IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_DONE; } - } - else - { - IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_ERROR; - IOMapLowSpeed.ErrorType[ChannelNumber] = LOWSPEED_CH_NOT_READY; - } - } - break; + if (Temp == LOWSPEED_COMMUNICATION_ERROR) + { + //There was and error in receiving data from the device + for (VarsLowSpeed.InputBuf[ChannelNumber].OutPtr = 0; VarsLowSpeed.InputBuf[ChannelNumber].OutPtr < IOMapLowSpeed.InBuf[ChannelNumber].BytesToRx; VarsLowSpeed.InputBuf[ChannelNumber].OutPtr++) + { + VarsLowSpeed.InputBuf[ChannelNumber].Buf[VarsLowSpeed.InputBuf[ChannelNumber].OutPtr] = 0; + } + IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_ERROR; + IOMapLowSpeed.ErrorType[ChannelNumber] = LOWSPEED_RX_ERROR; + } + } + } + else + { + IOMapLowSpeed.ChannelState[ChannelNumber] = LOWSPEED_ERROR; + IOMapLowSpeed.ErrorType[ChannelNumber] = LOWSPEED_CH_NOT_READY; + } + } + break; case LOWSPEED_ERROR: { diff --git a/AT91SAM7S256/Source/c_output.c b/AT91SAM7S256/Source/c_output.c index 23e0e28..ca3c494 100644 --- a/AT91SAM7S256/Source/c_output.c +++ b/AT91SAM7S256/Source/c_output.c @@ -48,10 +48,10 @@ void cOutputInit(void* pHeader) { OUTPUT * pOut = &(IOMapOutput.Outputs[Tmp]); pOut->Mode = 0x00; - pOut->Speed = 0x00; - pOut->ActualSpeed = 0x00; - pOut->TachoCnt = 0x00; - pOut->RunState = 0x00; + pOut->Speed = 0x00; + pOut->ActualSpeed = 0x00; + pOut->TachoCnt = 0x00; + pOut->RunState = 0x00; pOut->TachoLimit = 0x00; pOut->RegPParameter = DEFAULT_P_GAIN_FACTOR; pOut->RegIParameter = DEFAULT_I_GAIN_FACTOR; @@ -71,71 +71,71 @@ void cOutputCtrl(void) { OUTPUT * pOut = &(IOMapOutput.Outputs[Tmp]); if (pOut->Flags != 0) - { - if (pOut->Flags & UPDATE_RESET_ROTATION_COUNT) + { + if (pOut->Flags & UPDATE_RESET_ROTATION_COUNT) { pOut->Flags &= ~UPDATE_RESET_ROTATION_COUNT; dOutputResetRotationCaptureCount(Tmp); } if (pOut->Flags & UPDATE_RESET_COUNT) - { - pOut->Flags &= ~UPDATE_RESET_COUNT; - dOutputResetTachoLimit(Tmp); - } + { + pOut->Flags &= ~UPDATE_RESET_COUNT; + dOutputResetTachoLimit(Tmp); + } if (pOut->Flags & UPDATE_RESET_BLOCK_COUNT) { pOut->Flags &= ~UPDATE_RESET_BLOCK_COUNT; - dOutputResetBlockTachoLimit(Tmp); + dOutputResetBlockTachoLimit(Tmp); } if (pOut->Flags & UPDATE_SPEED) - { - pOut->Flags &= ~UPDATE_SPEED; - if (pOut->Mode & MOTORON) - { - dOutputSetSpeed(Tmp, pOut->RunState, pOut->Speed, pOut->SyncTurnParameter); - } - } + { + pOut->Flags &= ~UPDATE_SPEED; + if (pOut->Mode & MOTORON) + { + dOutputSetSpeed(Tmp, pOut->RunState, pOut->Speed, pOut->SyncTurnParameter); + } + } if (pOut->Flags & UPDATE_TACHO_LIMIT) - { - pOut->Flags &= ~UPDATE_TACHO_LIMIT; - dOutputSetTachoLimit(Tmp, pOut->TachoLimit, pOut->Options); - } - if (pOut->Flags & UPDATE_MODE) - { + { + pOut->Flags &= ~UPDATE_TACHO_LIMIT; + dOutputSetTachoLimit(Tmp, pOut->TachoLimit, pOut->Options); + } + if (pOut->Flags & UPDATE_MODE) + { pOut->Flags &= ~UPDATE_MODE; - if (pOut->Mode & BRAKE) + if (pOut->Mode & BRAKE) { // Motor is Braked dOutputSetMode(Tmp, BRAKE); - } + } else { // Motor is floated dOutputSetMode(Tmp, 0x00); } - if (pOut->Mode & MOTORON) + if (pOut->Mode & MOTORON) { - if (pOut->Mode & REGULATED) - { - dOutputEnableRegulation(Tmp, pOut->RegMode); - } - else - { - dOutputDisableRegulation(Tmp); - } - } - else - { - dOutputSetSpeed(Tmp, 0x00, 0x00, 0x00); + if (pOut->Mode & REGULATED) + { + dOutputEnableRegulation(Tmp, pOut->RegMode); + } + else + { + dOutputDisableRegulation(Tmp); + } + } + else + { + dOutputSetSpeed(Tmp, 0x00, 0x00, 0x00); dOutputDisableRegulation(Tmp); - } - } + } + } if (pOut->Flags & UPDATE_PID_VALUES) - { - pOut->Flags &= ~UPDATE_PID_VALUES; - dOutputSetPIDParameters(Tmp, pOut->RegPParameter, pOut->RegIParameter, pOut->RegDParameter); - } - } + { + pOut->Flags &= ~UPDATE_PID_VALUES; + dOutputSetPIDParameters(Tmp, pOut->RegPParameter, pOut->RegIParameter, pOut->RegDParameter); + } + } } dOutputCtrl(); cOutputUpdateIomap(); @@ -143,30 +143,30 @@ void cOutputCtrl(void) void cOutputUpdateIomap(void) { - UBYTE TempCurrentMotorSpeed[NO_OF_OUTPUTS]; - UBYTE TempRunState[NO_OF_OUTPUTS]; + UBYTE TempCurrentMotorSpeed[NO_OF_OUTPUTS]; + UBYTE TempRunState[NO_OF_OUTPUTS]; UBYTE TempMotorOverloaded[NO_OF_OUTPUTS]; - SLONG TempTachoCount[NO_OF_OUTPUTS]; + SLONG TempTachoCount[NO_OF_OUTPUTS]; SLONG TempBlockTachoCount[NO_OF_OUTPUTS]; SLONG TempRotationCount[NO_OF_OUTPUTS]; UBYTE Tmp; - dOutputGetMotorParameters(TempCurrentMotorSpeed, TempTachoCount, TempBlockTachoCount, TempRunState, TempMotorOverloaded,TempRotationCount); + dOutputGetMotorParameters(TempCurrentMotorSpeed, TempTachoCount, TempBlockTachoCount, TempRunState, TempMotorOverloaded,TempRotationCount); - for(Tmp = 0; Tmp < NO_OF_OUTPUTS; Tmp++) + for(Tmp = 0; Tmp < NO_OF_OUTPUTS; Tmp++) { - OUTPUT * pOut = &(IOMapOutput.Outputs[Tmp]); - pOut->ActualSpeed = TempCurrentMotorSpeed[Tmp]; + OUTPUT * pOut = &(IOMapOutput.Outputs[Tmp]); + pOut->ActualSpeed = TempCurrentMotorSpeed[Tmp]; pOut->TachoCnt = TempTachoCount[Tmp]; pOut->BlockTachoCount = TempBlockTachoCount[Tmp]; - pOut->RotationCount = TempRotationCount[Tmp]; + pOut->RotationCount = TempRotationCount[Tmp]; pOut->Overloaded = TempMotorOverloaded[Tmp]; if (!(pOut->Flags & PENDING_UPDATES)) { pOut->RunState = TempRunState[Tmp]; } - } + } } void cOutputExit(void) diff --git a/AT91SAM7S256/Source/d_hispeed.r b/AT91SAM7S256/Source/d_hispeed.r index 371b76d..949f0f5 100644 --- a/AT91SAM7S256/Source/d_hispeed.r +++ b/AT91SAM7S256/Source/d_hispeed.r @@ -27,7 +27,7 @@ #define PER_ID6_UART_0 0x40 #define UART0_INQ 0x40 -#define BAUD_RATE 921600L +#define BAUD_RATE 921600L #define SIZE_OF_INBUF 128 #define NO_OF_INBUFFERS 2 @@ -46,10 +46,10 @@ static UBYTE MsgIn; static UBYTE InBufOutCnt; #define HIGHSPEEDInit {\ - *AT91C_PIOA_PER = HIGHSPEED_TX_PIN | HIGHSPEED_RTS_PIN | HIGHSPEED_RX_PIN; /* Enable PIO on PA07, PA06 & PA05 */\ - *AT91C_PIOA_PPUDR = HIGHSPEED_RX_PIN | HIGHSPEED_TX_PIN | HIGHSPEED_RTS_PIN; /* Disable Pull-up resistor */\ + *AT91C_PIOA_PER = HIGHSPEED_TX_PIN | HIGHSPEED_RTS_PIN | HIGHSPEED_RX_PIN; /* Enable PIO on PA07, PA06 & PA05 */\ + *AT91C_PIOA_PPUDR = HIGHSPEED_RX_PIN | HIGHSPEED_TX_PIN | HIGHSPEED_RTS_PIN; /* Disable Pull-up resistor */\ *AT91C_PIOA_OER = HIGHSPEED_TX_PIN | HIGHSPEED_RTS_PIN | HIGHSPEED_RX_PIN; /* PA07 & PA06 set to Output */\ - *AT91C_PIOA_CODR = HIGHSPEED_TX_PIN | HIGHSPEED_RTS_PIN | HIGHSPEED_RX_PIN; /* Set output low */\ + *AT91C_PIOA_CODR = HIGHSPEED_TX_PIN | HIGHSPEED_RTS_PIN | HIGHSPEED_RX_PIN; /* Set output low */\ } #define HIGHSPEEDSetupUart(_baud, _mode) {\ @@ -94,7 +94,7 @@ static UBYTE InBufOutCnt; #define HIGHSPEEDInitReceiver(InputBuffer)\ {\ - UBYTE Tmp;\ + UBYTE Tmp;\ pBuffer = InputBuffer;\ *AT91C_US0_PTCR = (AT91C_PDC_RXTDIS | AT91C_PDC_TXTDIS); /* Disable of TX & RX with DMA */\ *AT91C_US0_RCR = 0; /* Receive Counter Register */\ @@ -174,7 +174,7 @@ static UBYTE InBufOutCnt; #define HIGHSPEEDExit {\ *AT91C_PMC_PCDR = PER_ID6_UART_0; /* Disable PMC clock for UART 0*/\ *AT91C_PIOA_PER = HIGHSPEED_TX_PIN | HIGHSPEED_RTS_PIN | HIGHSPEED_RX_PIN; /* Enable PIO on PA07, PA06 & PA05 */\ - *AT91C_PIOA_PPUDR = HIGHSPEED_RX_PIN | HIGHSPEED_TX_PIN | HIGHSPEED_RTS_PIN; /* Disable Pull-up resistor */\ + *AT91C_PIOA_PPUDR = HIGHSPEED_RX_PIN | HIGHSPEED_TX_PIN | HIGHSPEED_RTS_PIN; /* Disable Pull-up resistor */\ *AT91C_PIOA_OER = HIGHSPEED_TX_PIN | HIGHSPEED_RTS_PIN | HIGHSPEED_RX_PIN; /* PA07 & PA06 set to Output */\ *AT91C_PIOA_CODR = HIGHSPEED_TX_PIN | HIGHSPEED_RTS_PIN | HIGHSPEED_RX_PIN; /* Set output low */\ } diff --git a/AT91SAM7S256/Source/d_input.h b/AT91SAM7S256/Source/d_input.h index 3805103..d365dd1 100644 --- a/AT91SAM7S256/Source/d_input.h +++ b/AT91SAM7S256/Source/d_input.h @@ -45,6 +45,4 @@ void dInputClearColor100msTimer(UBYTE No); UBYTE dInputChkColor100msTimer(UBYTE No); - - #endif diff --git a/AT91SAM7S256/Source/d_input.r b/AT91SAM7S256/Source/d_input.r index ffcac78..3dc567e 100644 --- a/AT91SAM7S256/Source/d_input.r +++ b/AT91SAM7S256/Source/d_input.r @@ -247,7 +247,7 @@ static ULONG ColorTimer[NO_OF_INPUTS]; {\ V = TRUE;\ } - + void rInputSingleADC(UBYTE Port, UWORD *Val) diff --git a/AT91SAM7S256/Source/d_lowspeed.r b/AT91SAM7S256/Source/d_lowspeed.r index e215b3c..3ca660d 100644 --- a/AT91SAM7S256/Source/d_lowspeed.r +++ b/AT91SAM7S256/Source/d_lowspeed.r @@ -74,17 +74,17 @@ const ULONG CLK_OR_DATA_PINS[4] = {CHANNEL_ONE_CLK | CHANNEL_ONE_DATA, #define PIO_INQ 0x04 //Used for variable ChannelState -#define LOWSPEED_IDLE 0x00 -#define LOWSPEED_TX_STOP_BIT 0x01 +#define LOWSPEED_IDLE 0x00 +#define LOWSPEED_TX_STOP_BIT 0x01 #define LOWSPEED_TRANSMITTING 0x02 -#define LOWSPEED_RECEIVING 0x04 +#define LOWSPEED_RECEIVING 0x04 #define LOWSPEED_TEST_WAIT_STATE 0x08 #define LOWSPEED_RESTART_CONDITION 0x10 #define LOWSPEED_WAIT_BEFORE_RX 0x20 //Used for variable TxState -#define TX_IDLE 0x00 -#define TX_DATA_MORE_DATA 0x01 +#define TX_IDLE 0x00 +#define TX_DATA_MORE_DATA 0x01 #define TX_DATA_CLK_HIGH 0x02 #define TX_EVALUATE_ACK_CLK_HIGH 0x03 #define TX_DATA_READ_ACK_CLK_LOW 0x04 @@ -92,56 +92,57 @@ const ULONG CLK_OR_DATA_PINS[4] = {CHANNEL_ONE_CLK | CHANNEL_ONE_DATA, #define TX_ACK_EVALUATED_CLK_LOW 0x06 //Used for variable RxState -#define RX_IDLE 0x00 -#define RX_START_BIT_CLK_HIGH 0x01 +#define RX_IDLE 0x00 +#define RX_START_BIT_CLK_HIGH 0x01 #define RX_DATA_CLK_HIGH 0x02 #define RX_ACK_TX_CLK_HIGH 0x03 -#define RX_DATA_CLK_LOW 0x04 +#define RX_DATA_CLK_LOW 0x04 #define RX_DONE_OR_NOT_CLK_LOW 0x05 //Used for variable ReStart #define RESTART_STATE_IDLE 0x00 -#define RESTART_STATE_ONE 0x01 -#define RESTART_STATE_TWO 0x02 +#define RESTART_STATE_ONE 0x01 +#define RESTART_STATE_TWO 0x02 #define RESTART_STATE_THREE 0x03 #define RESTART_STATE_FOUR 0x04 #define RESTART_STATE_FIVE 0x05 #define RESTART_STATE_SIX 0x06 #define RESTART_STATE_SEVEN 0x07 -#define LOWSpeedTxInit {\ - LowSpeedData[LOWSPEED_CHANNEL1].ChannelState = 0;\ - LowSpeedData[LOWSPEED_CHANNEL2].ChannelState = 0;\ - LowSpeedData[LOWSPEED_CHANNEL3].ChannelState = 0;\ - LowSpeedData[LOWSPEED_CHANNEL4].ChannelState = 0;\ -} - -#define LOWSpeedTimerInit {\ - *AT91C_PMC_PCER = 0x400; /* Enable clock for PWM, PID10*/\ - *AT91C_PWMC_MR = 0x01; /* CLKA is output from prescaler */\ - *AT91C_PWMC_MR |= 0x600; /* Prescaler MCK divided with 64 */\ - *AT91C_PWMC_CH0_CMR = 0x06; /* Channel 0 uses MCK divided by 64 */\ - *AT91C_PWMC_CH0_CMR &= 0xFFFFFEFF; /* Left alignment on periode */\ - *AT91C_PWMC_CH0_CPRDR = 0x20; /* Set to 39 => 52uSecondes interrupt */\ - *AT91C_PWMC_IDR = AT91C_PWMC_CHID0; /* Disable interrupt for PWM output channel 0 */\ - *AT91C_AIC_IDCR = 0x400; /* Disable AIC intterupt on ID10 PWM */\ - AT91C_AIC_SVR[10] = (unsigned int)LowSpeedPwmIrqHandler;\ - AT91C_AIC_SMR[10] = 0x01; /* Enable trigger on level */\ - *AT91C_AIC_ICCR = 0x400; /* Clear interrupt register PID10*/\ - *AT91C_PWMC_IER = AT91C_PWMC_CHID0; /* Enable interrupt for PWM output channel 0 */\ - *AT91C_AIC_IECR = 0x400; /* Enable interrupt from PWM */\ -} +#define LOWSpeedTxInit {\ + LowSpeedData[LOWSPEED_CHANNEL1].ChannelState = 0;\ + LowSpeedData[LOWSPEED_CHANNEL2].ChannelState = 0;\ + LowSpeedData[LOWSPEED_CHANNEL3].ChannelState = 0;\ + LowSpeedData[LOWSPEED_CHANNEL4].ChannelState = 0;\ + } + +#define LOWSpeedTimerInit {\ + *AT91C_PMC_PCER = 0x400; /* Enable clock for PWM, PID10*/\ + *AT91C_PWMC_MR = 0x01; /* CLKA is output from prescaler */\ + *AT91C_PWMC_MR |= 0x600; /* Prescaler MCK divided with 64 */\ + *AT91C_PWMC_CH0_CMR = 0x06; /* Channel 0 uses MCK divided by 64 */\ + *AT91C_PWMC_CH0_CMR &= 0xFFFFFEFF; /* Left alignment on periode */\ + *AT91C_PWMC_CH0_CPRDR = 0x20; /* Set to 39 => 52uSecondes interrupt */\ + *AT91C_PWMC_IDR = AT91C_PWMC_CHID0; /* Disable interrupt for PWM output channel 0 */\ + *AT91C_AIC_IDCR = 0x400; /* Disable AIC intterupt on ID10 PWM */\ + AT91C_AIC_SVR[10] = (unsigned int)LowSpeedPwmIrqHandler;\ + AT91C_AIC_SMR[10] = 0x01; /* Enable trigger on level */\ + *AT91C_AIC_ICCR = 0x400; /* Clear interrupt register PID10*/\ + *AT91C_PWMC_IER = AT91C_PWMC_CHID0; /* Enable interrupt for PWM output channel 0 */\ + *AT91C_AIC_IECR = 0x400; /* Enable interrupt from PWM */\ + } #define LOWSpeedExit -#define ENABLEDebugOutput {\ - *AT91C_PIOA_PER = AT91C_PIO_PA29; /* Enable PIO on PA029 */\ - *AT91C_PIOA_OER = AT91C_PIO_PA29; /* PA029 set to Output */\ - *AT91C_PIOA_CODR = 0x20000000;\ -} +#define ENABLEDebugOutput {\ + *AT91C_PIOA_PER = AT91C_PIO_PA29; /* Enable PIO on PA029 */\ + *AT91C_PIOA_OER = AT91C_PIO_PA29; /* PA029 set to Output */\ + *AT91C_PIOA_CODR = 0x20000000;\ + } + +#define SETDebugOutputHigh *AT91C_PIOA_SODR = 0x20000000 -#define SETDebugOutputHigh *AT91C_PIOA_SODR = 0x20000000 -#define SETDebugOutputLow *AT91C_PIOA_CODR = 0x20000000 +#define SETDebugOutputLow *AT91C_PIOA_CODR = 0x20000000 #define SETClkComOneHigh *AT91C_PIOA_SODR = CHANNEL_ONE_CLK #define SETClkComOneLow *AT91C_PIOA_CODR = CHANNEL_ONE_CLK @@ -253,13 +254,13 @@ const ULONG CLK_OR_DATA_PINS[4] = {CHANNEL_ONE_CLK | CHANNEL_ONE_DATA, *AT91C_PWMC_DIS = AT91C_PWMC_CHID0; /* Disable PWM output channel 0 */\ } -#define OLD_DISABLEPWMTimerForLowCom {\ - *AT91C_PWMC_DIS = AT91C_PWMC_CHID0; /* Disable PWM output channel 0 */\ - *AT91C_PWMC_IDR = AT91C_PWMC_CHID0; /* Disable interrupt from PWM output channel 0 */\ - *AT91C_AIC_IDCR = 0x400; /* Disable Irq from PID10 */\ - *AT91C_AIC_ICCR = 0x400; /* Clear interrupt register PID10*/\ - *AT91C_PMC_PCDR = 0x400; /* Disable clock for PWM, PID10*/\ -} +#define OLD_DISABLEPWMTimerForLowCom {\ + *AT91C_PWMC_DIS = AT91C_PWMC_CHID0; /* Disable PWM output channel 0 */\ + *AT91C_PWMC_IDR = AT91C_PWMC_CHID0; /* Disable interrupt from PWM output channel 0 */\ + *AT91C_AIC_IDCR = 0x400; /* Disable Irq from PID10 */\ + *AT91C_AIC_ICCR = 0x400; /* Clear interrupt register PID10*/\ + *AT91C_PMC_PCDR = 0x400; /* Disable clock for PWM, PID10*/\ + } __ramfunc void LowSpeedPwmIrqHandler(void) { @@ -452,11 +453,11 @@ __ramfunc void LowSpeedPwmIrqHandler(void) LowSpeedData[ChannelNr].ReStartBit = 0; LowSpeedData[ChannelNr].pComOutBuffer = &LowSpeedData[ChannelNr].ComDeviceAddress; *LowSpeedData[ChannelNr].pComOutBuffer += 0x01; - LowSpeedData[ChannelNr].ChannelState = LOWSPEED_TRANSMITTING; - LowSpeedData[ChannelNr].MaskBit = MASK_BIT_8; - LowSpeedData[ChannelNr].TxByteCnt = 0x01; - LowSpeedData[ChannelNr].TxState = TX_DATA_CLK_HIGH; - LowSpeedData[ChannelNr].AckStatus = 0; + LowSpeedData[ChannelNr].ChannelState = LOWSPEED_TRANSMITTING; + LowSpeedData[ChannelNr].MaskBit = MASK_BIT_8; + LowSpeedData[ChannelNr].TxByteCnt = 0x01; + LowSpeedData[ChannelNr].TxState = TX_DATA_CLK_HIGH; + LowSpeedData[ChannelNr].AckStatus = 0; } break; } @@ -514,9 +515,9 @@ __ramfunc void LowSpeedPwmIrqHandler(void) SETClkLow(ChannelNr); SETDataToInput(ChannelNr); LowSpeedData[ChannelNr].pComInBuffer++; - LowSpeedData[ChannelNr].RxByteCnt--; - LowSpeedData[ChannelNr].RxBitCnt = 0; - LowSpeedData[ChannelNr].RxState = RX_DONE_OR_NOT_CLK_LOW; + LowSpeedData[ChannelNr].RxByteCnt--; + LowSpeedData[ChannelNr].RxBitCnt = 0; + LowSpeedData[ChannelNr].RxState = RX_DONE_OR_NOT_CLK_LOW; } break; @@ -611,69 +612,69 @@ __ramfunc void LowSpeedPwmIrqHandler(void) } -#define STATUSTxCom(ChannelNumber, Status) {\ - if (LowSpeedData[ChannelNumber].ChannelState != 0)\ - {\ - if ((LowSpeedData[ChannelNumber].TxByteCnt == 0) && (LowSpeedData[ChannelNumber].ChannelState != LOWSPEED_RESTART_CONDITION))\ - {\ - if (LowSpeedData[ChannelNumber].MaskBit == 0)\ - {\ - if (LowSpeedData[ChannelNumber].AckStatus == 1)\ - {\ - Status = 0x01; /* TX SUCCESS */\ - }\ - else\ - {\ - Status = 0xFF; /* TX ERROR */\ - }\ - }\ - else\ - {\ - Status = 0;\ - }\ - }\ - else\ - {\ - Status = 0;\ - }\ - }\ - else\ - {\ - if (LowSpeedData[ChannelNumber].RxByteCnt == 0)\ - {\ - if (LowSpeedData[ChannelNumber].AckStatus == 1)\ - {\ - Status = 0x01; /* TX SUCCESS */\ - }\ - else\ - {\ - Status = 0xFF; /* TX ERROR */\ - }\ - }\ - else\ - {\ - Status = 0xFF; /* TX ERROR */\ - }\ - }\ -} +#define STATUSTxCom(ChannelNumber, Status) {\ + if (LowSpeedData[ChannelNumber].ChannelState != 0)\ + {\ + if ((LowSpeedData[ChannelNumber].TxByteCnt == 0) && (LowSpeedData[ChannelNumber].ChannelState != LOWSPEED_RESTART_CONDITION))\ + {\ + if (LowSpeedData[ChannelNumber].MaskBit == 0)\ + {\ + if (LowSpeedData[ChannelNumber].AckStatus == 1)\ + {\ + Status = 0x01; /* TX SUCCESS */\ + }\ + else\ + {\ + Status = 0xFF; /* TX ERROR */\ + }\ + }\ + else\ + {\ + Status = 0;\ + }\ + }\ + else\ + {\ + Status = 0;\ + }\ + }\ + else\ + {\ + if (LowSpeedData[ChannelNumber].RxByteCnt == 0)\ + {\ + if (LowSpeedData[ChannelNumber].AckStatus == 1)\ + {\ + Status = 0x01; /* TX SUCCESS */\ + }\ + else\ + {\ + Status = 0xFF; /* TX ERROR */\ + }\ + }\ + else\ + {\ + Status = 0xFF; /* TX ERROR */\ + }\ + }\ + } -#define STATUSRxCom(ChannelNumber, Status) {\ - if (LowSpeedData[ChannelNumber].ChannelState == LOWSPEED_IDLE)\ - {\ - if (LowSpeedData[ChannelNumber].RxByteCnt == 0)\ - {\ - Status = 0x01; /* RX SUCCESS */\ - }\ - else\ - {\ - Status = 0xFF; /* RX ERROR */\ - }\ - }\ - else\ - {\ - Status = 0;\ - }\ -} +#define STATUSRxCom(ChannelNumber, Status) {\ + if (LowSpeedData[ChannelNumber].ChannelState == LOWSPEED_IDLE)\ + {\ + if (LowSpeedData[ChannelNumber].RxByteCnt == 0)\ + {\ + Status = 0x01; /* RX SUCCESS */\ + }\ + else\ + {\ + Status = 0xFF; /* RX ERROR */\ + }\ + }\ + else\ + {\ + Status = 0;\ + }\ + } #endif diff --git a/AT91SAM7S256/Source/d_output.c b/AT91SAM7S256/Source/d_output.c index 64f5e56..843db57 100644 --- a/AT91SAM7S256/Source/d_output.c +++ b/AT91SAM7S256/Source/d_output.c @@ -1125,13 +1125,12 @@ void dOutputMotorReachedTachoLimit(UBYTE MotorNr) { //Synchronise motor A & B MotorData[MotorOne].MotorSetSpeed = 0; - MotorData[MotorOne].MotorTargetSpeed = 0; + MotorData[MotorOne].MotorTargetSpeed = 0; MotorData[MotorOne].MotorActualSpeed = 0; MotorData[MotorOne].MotorRunState = pOne->RunStateAtLimit; MotorData[MotorOne].RegulationMode = REGSTATE_IDLE; - MotorData[MotorTwo].MotorSetSpeed = 0; - MotorData[MotorTwo].MotorTargetSpeed = 0; + MotorData[MotorTwo].MotorTargetSpeed = 0; MotorData[MotorTwo].MotorActualSpeed = 0; MotorData[MotorTwo].MotorRunState = pTwo->RunStateAtLimit; MotorData[MotorTwo].RegulationMode = REGSTATE_IDLE; @@ -1143,12 +1142,12 @@ void dOutputMotorReachedTachoLimit(UBYTE MotorNr) { //Synchronise motor A & C MotorData[MotorOne].MotorSetSpeed = 0; - MotorData[MotorOne].MotorTargetSpeed = 0; + MotorData[MotorOne].MotorTargetSpeed = 0; MotorData[MotorOne].MotorActualSpeed = 0; MotorData[MotorOne].MotorRunState = pOne->RunStateAtLimit; MotorData[MotorOne].RegulationMode = REGSTATE_IDLE; MotorData[MotorTwo].MotorSetSpeed = 0; - MotorData[MotorTwo].MotorTargetSpeed = 0; + MotorData[MotorTwo].MotorTargetSpeed = 0; MotorData[MotorTwo].MotorActualSpeed = 0; MotorData[MotorTwo].MotorRunState = pTwo->RunStateAtLimit; MotorData[MotorTwo].RegulationMode = REGSTATE_IDLE; @@ -1157,7 +1156,7 @@ void dOutputMotorReachedTachoLimit(UBYTE MotorNr) { //Only Motor A has Sync setting => Stop normal MotorData[MotorNr].MotorSetSpeed = 0; - MotorData[MotorNr].MotorTargetSpeed = 0; + MotorData[MotorNr].MotorTargetSpeed = 0; MotorData[MotorNr].MotorActualSpeed = 0; MotorData[MotorNr].MotorRunState = pOne->RunStateAtLimit; MotorData[MotorNr].RegulationMode = REGSTATE_IDLE; @@ -1244,7 +1243,7 @@ void dOutputMotorReachedTachoLimit(UBYTE MotorNr) { //Only Motor C has Sync settings => Stop normal MotorData[MotorNr].MotorSetSpeed = 0; - MotorData[MotorNr].MotorTargetSpeed = 0; + MotorData[MotorNr].MotorTargetSpeed = 0; MotorData[MotorNr].MotorActualSpeed = 0; MotorData[MotorNr].MotorRunState = pOne->RunStateAtLimit; MotorData[MotorNr].RegulationMode = REGSTATE_IDLE; diff --git a/AT91SAM7S256/Source/d_output.r b/AT91SAM7S256/Source/d_output.r index a856920..1a30c5f 100644 --- a/AT91SAM7S256/Source/d_output.r +++ b/AT91SAM7S256/Source/d_output.r @@ -91,11 +91,11 @@ static TACHOPARAMETERS MotorTachoValue[3]; *AT91C_PIOA_PER = MOTOR_A_DIR; /* Enable PIO on PA1 */\ *AT91C_PIOA_ODR = MOTOR_A_DIR; /* PA1 set to input */\ *AT91C_PIOA_IFER = MOTOR_A_INT | MOTOR_A_DIR; /* Enable filter on PA15 & PA1 */\ - *AT91C_PMC_PCER = TIMER_1_ID13; /* Enable clock for TC1*/\ - *AT91C_TCB_BMR = AT91C_TCB_TC1XC1S_NONE; /* No external clock signal XC2 */\ - *AT91C_TCB_BCR = 0x0; /* Clear SYNC */\ - *AT91C_TC1_CMR = *AT91C_TC1_CMR & 0X00000000; /* Clear all bits in TC1_CMR */\ - *AT91C_TC1_CMR = *AT91C_TC1_CMR & 0xFFFF7FFF; /* Enable capture mode */\ + *AT91C_PMC_PCER = TIMER_1_ID13; /* Enable clock for TC1*/\ + *AT91C_TCB_BMR = AT91C_TCB_TC1XC1S_NONE; /* No external clock signal XC2 */\ + *AT91C_TCB_BCR = 0x0; /* Clear SYNC */\ + *AT91C_TC1_CMR = *AT91C_TC1_CMR & 0X00000000; /* Clear all bits in TC1_CMR */\ + *AT91C_TC1_CMR = *AT91C_TC1_CMR & 0xFFFF7FFF; /* Enable capture mode */\ *AT91C_TC1_CMR = *AT91C_TC1_CMR | AT91C_TC_CLKS_TIMER_DIV5_CLOCK; /* Set clock for timer to Clock5 = div 1024*/\ *AT91C_TC1_CMR = *AT91C_TC1_CMR | AT91C_TC_ABETRG; /* Use external trigger for TIO1*/\ *AT91C_TC1_CMR = *AT91C_TC1_CMR | AT91C_TC_EEVTEDG_BOTH; /* Trigger on both edges */\ @@ -118,14 +118,14 @@ static TACHOPARAMETERS MotorTachoValue[3]; *AT91C_PIOA_PPUDR = MOTOR_B_INT | MOTOR_B_DIR; /* Disable Pull Up resistor on PA26 & PA09 */\ *AT91C_PIOA_ODR = MOTOR_B_DIR; /* PA09 set to input */\ *AT91C_PIOA_IFER = MOTOR_B_INT | MOTOR_B_DIR; /* Enable filter on PA26 & PA09 */\ - *AT91C_PMC_PCER = TIMER_2_ID14; /* Enable clock for TC2*/\ - *AT91C_TCB_BMR = AT91C_TCB_TC2XC2S_NONE; /* No external clock signal */\ - *AT91C_TCB_BCR = 0x0; /* Clear SYNC */\ - *AT91C_TC2_CMR = *AT91C_TC2_CMR & 0X00000000; /* Clear all bits in TC1_CMR */\ - *AT91C_TC2_CMR = *AT91C_TC2_CMR & 0xFFFF7FFF; /* Enable capture mode */\ - *AT91C_TC2_CMR = *AT91C_TC2_CMR | AT91C_TC_CLKS_TIMER_DIV5_CLOCK; /* Set clock for timer to Clock5 = div 1024*/\ + *AT91C_PMC_PCER = TIMER_2_ID14; /* Enable clock for TC2*/\ + *AT91C_TCB_BMR = AT91C_TCB_TC2XC2S_NONE; /* No external clock signal */\ + *AT91C_TCB_BCR = 0x0; /* Clear SYNC */\ + *AT91C_TC2_CMR = *AT91C_TC2_CMR & 0X00000000; /* Clear all bits in TC1_CMR */\ + *AT91C_TC2_CMR = *AT91C_TC2_CMR & 0xFFFF7FFF; /* Enable capture mode */\ + *AT91C_TC2_CMR = *AT91C_TC2_CMR | AT91C_TC_CLKS_TIMER_DIV5_CLOCK; /* Set clock for timer to Clock5 = div 1024*/\ *AT91C_TC2_CMR = *AT91C_TC2_CMR | AT91C_TC_ABETRG; /* Use external trigger for TIO2*/\ - *AT91C_TC2_CMR = *AT91C_TC2_CMR | AT91C_TC_EEVTEDG_BOTH; /* Trigger on both edges */\ + *AT91C_TC2_CMR = *AT91C_TC2_CMR | AT91C_TC_EEVTEDG_BOTH; /* Trigger on both edges */\ *AT91C_TC2_CMR = *AT91C_TC2_CMR | AT91C_TC_LDRA_RISING; /* RA loading register set */\ *AT91C_AIC_IDCR = TIMER_2_ID14; /* Irq controller setup */\ AT91C_AIC_SVR[14] = (unsigned int)CaptureBInt; \ @@ -145,13 +145,13 @@ static TACHOPARAMETERS MotorTachoValue[3]; *AT91C_PIOA_PPUDR = MOTOR_C_INT | MOTOR_C_DIR; /* Disable Pull Up resistor on PA0 & PA08 */\ *AT91C_PIOA_ODR = MOTOR_C_DIR; /* PA08 set to input */\ *AT91C_PIOA_IFER = MOTOR_C_INT | MOTOR_C_DIR; /* Enable filter on PA26 & PA09 */\ - *AT91C_PMC_PCER = TIMER_0_ID12; /* Enable clock for TC0*/\ - *AT91C_TCB_BMR = AT91C_TCB_TC0XC0S_NONE; /* No external clock signal */\ - *AT91C_TC0_CMR = *AT91C_TC0_CMR & 0X00000000; /* Clear all bits in TC0_CMR */\ - *AT91C_TC0_CMR = *AT91C_TC0_CMR & 0xFFFF7FFF; /* Enable capture mode */\ - *AT91C_TC0_CMR = *AT91C_TC0_CMR | AT91C_TC_CLKS_TIMER_DIV5_CLOCK; /* Set clock for timer to Clock5 = div 1024*/\ - *AT91C_TC0_CMR = *AT91C_TC0_CMR | AT91C_TC_ABETRG; /* Use external trigger for TI0*/\ - *AT91C_TC0_CMR = *AT91C_TC0_CMR | AT91C_TC_EEVTEDG_BOTH; /* Trigger on both edges */\ + *AT91C_PMC_PCER = TIMER_0_ID12; /* Enable clock for TC0*/\ + *AT91C_TCB_BMR = AT91C_TCB_TC0XC0S_NONE; /* No external clock signal */\ + *AT91C_TC0_CMR = *AT91C_TC0_CMR & 0X00000000; /* Clear all bits in TC0_CMR */\ + *AT91C_TC0_CMR = *AT91C_TC0_CMR & 0xFFFF7FFF; /* Enable capture mode */\ + *AT91C_TC0_CMR = *AT91C_TC0_CMR | AT91C_TC_CLKS_TIMER_DIV5_CLOCK; /* Set clock for timer to Clock5 = div 1024*/\ + *AT91C_TC0_CMR = *AT91C_TC0_CMR | AT91C_TC_ABETRG; /* Use external trigger for TI0*/\ + *AT91C_TC0_CMR = *AT91C_TC0_CMR | AT91C_TC_EEVTEDG_BOTH; /* Trigger on both edges */\ *AT91C_TC0_CMR = *AT91C_TC0_CMR | AT91C_TC_LDRA_RISING; /* RA loading register set */\ *AT91C_AIC_IDCR = TIMER_0_ID12; /* Disable interrupt */\ AT91C_AIC_SVR[12] = (unsigned int)CaptureCInt; \ @@ -270,29 +270,29 @@ __ramfunc void CaptureCInt(void) } } -#define OUTPUTExit {\ - *AT91C_AIC_IDCR = TIMER_0_ID12 | TIMER_1_ID13 | TIMER_2_ID14; /* Disable interrupts for the timers */\ - *AT91C_AIC_ICCR = TIMER_0_ID12 | TIMER_1_ID13 | TIMER_2_ID14; /* Clear penting interrupt register for timers*/\ - *AT91C_PMC_PCDR = TIMER_0_ID12 | TIMER_1_ID13 | TIMER_2_ID14; /* Disable the clock for each of the timers*/\ - *AT91C_PIOA_PER = MOTOR_A_DIR | MOTOR_A_INT | MOTOR_B_DIR | MOTOR_B_INT | MOTOR_C_DIR | MOTOR_C_INT; /* Enable PIO on PA15, PA11, PA26, PA09, PA27 & PA08 */\ - *AT91C_PIOA_ODR = MOTOR_A_DIR | MOTOR_A_INT | MOTOR_B_DIR | MOTOR_B_INT | MOTOR_C_DIR | MOTOR_C_INT; /* Set to input PA15, PA11, PA26, PA09, PA27 & PA08 */\ - *AT91C_PIOA_PPUDR = MOTOR_A_DIR | MOTOR_A_INT | MOTOR_B_DIR | MOTOR_B_INT | MOTOR_C_DIR | MOTOR_C_INT; /* Enable Pullup on PA15, PA11, PA26, PA09, PA27 & PA08 */\ - } +#define OUTPUTExit {\ + *AT91C_AIC_IDCR = TIMER_0_ID12 | TIMER_1_ID13 | TIMER_2_ID14; /* Disable interrupts for the timers */\ + *AT91C_AIC_ICCR = TIMER_0_ID12 | TIMER_1_ID13 | TIMER_2_ID14; /* Clear penting interrupt register for timers*/\ + *AT91C_PMC_PCDR = TIMER_0_ID12 | TIMER_1_ID13 | TIMER_2_ID14; /* Disable the clock for each of the timers*/\ + *AT91C_PIOA_PER = MOTOR_A_DIR | MOTOR_A_INT | MOTOR_B_DIR | MOTOR_B_INT | MOTOR_C_DIR | MOTOR_C_INT; /* Enable PIO on PA15, PA11, PA26, PA09, PA27 & PA08 */\ + *AT91C_PIOA_ODR = MOTOR_A_DIR | MOTOR_A_INT | MOTOR_B_DIR | MOTOR_B_INT | MOTOR_C_DIR | MOTOR_C_INT; /* Set to input PA15, PA11, PA26, PA09, PA27 & PA08 */\ + *AT91C_PIOA_PPUDR = MOTOR_A_DIR | MOTOR_A_INT | MOTOR_B_DIR | MOTOR_B_INT | MOTOR_C_DIR | MOTOR_C_INT; /* Enable Pullup on PA15, PA11, PA26, PA09, PA27 & PA08 */\ + } -#define TACHOCountReset(MotorNr) {\ - MotorTachoValue[MotorNr].TachoCountTable = 0;\ - MotorTachoValue[MotorNr].TachoCountTableOld = 0;\ - } +#define TACHOCountReset(MotorNr) {\ + MotorTachoValue[MotorNr].TachoCountTable = 0;\ + MotorTachoValue[MotorNr].TachoCountTableOld = 0;\ + } #define TACHOCaptureReadResetAll(MotorDataA,MotorDataB,MotorDataC){\ - MotorDataA = (MotorTachoValue[MOTOR_A].TachoCountTable - MotorTachoValue[MOTOR_A].TachoCountTableOld);\ - MotorTachoValue[MOTOR_A].TachoCountTableOld = MotorTachoValue[MOTOR_A].TachoCountTable;\ - MotorDataB = (MotorTachoValue[MOTOR_B].TachoCountTable - MotorTachoValue[MOTOR_B].TachoCountTableOld);\ - MotorTachoValue[MOTOR_B].TachoCountTableOld = MotorTachoValue[MOTOR_B].TachoCountTable;\ - MotorDataC = (MotorTachoValue[MOTOR_C].TachoCountTable - MotorTachoValue[MOTOR_C].TachoCountTableOld);\ - MotorTachoValue[MOTOR_C].TachoCountTableOld = MotorTachoValue[MOTOR_C].TachoCountTable;\ - } + MotorDataA = (MotorTachoValue[MOTOR_A].TachoCountTable - MotorTachoValue[MOTOR_A].TachoCountTableOld);\ + MotorTachoValue[MOTOR_A].TachoCountTableOld = MotorTachoValue[MOTOR_A].TachoCountTable;\ + MotorDataB = (MotorTachoValue[MOTOR_B].TachoCountTable - MotorTachoValue[MOTOR_B].TachoCountTableOld);\ + MotorTachoValue[MOTOR_B].TachoCountTableOld = MotorTachoValue[MOTOR_B].TachoCountTable;\ + MotorDataC = (MotorTachoValue[MOTOR_C].TachoCountTable - MotorTachoValue[MOTOR_C].TachoCountTableOld);\ + MotorTachoValue[MOTOR_C].TachoCountTableOld = MotorTachoValue[MOTOR_C].TachoCountTable;\ + } -- cgit v1.2.3 From 565424ed7a688f910f63fc1ce82e39ebf0dfb28f Mon Sep 17 00:00:00 2001 From: John Hansen Date: Sat, 16 Oct 2010 18:12:46 +0000 Subject: NBCNXC_131 git-svn-id: https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc_128/trunk@21 c9361245-7fe8-9947-84e8-057757c4e366 --- AT91SAM7S256/SAM7S256/Tools/LMS_ARM.dep | 4142 ++++++++++---------- .../SAM7S256/Tools/settings/LMS_ARM.cspy.bat | 8 +- AT91SAM7S256/SAM7S256/Tools/settings/LMS_ARM.wsdt | 14 +- AT91SAM7S256/Source/BtTest.inc | 1 - AT91SAM7S256/Source/cCmdWriteIOMapOffsetsFile.txt | 125 + AT91SAM7S256/Source/c_cmd.c | 194 +- AT91SAM7S256/Source/c_cmd.h | 13 +- AT91SAM7S256/Source/c_cmd.iom | 12 +- AT91SAM7S256/Source/c_cmd_drawing.inc | 2 +- AT91SAM7S256/Source/c_comm.c | 148 +- AT91SAM7S256/Source/c_comm.iom | 14 +- AT91SAM7S256/Source/c_display.c | 4 +- AT91SAM7S256/Source/c_input.c | 28 +- AT91SAM7S256/Source/c_loader.c | 5 +- AT91SAM7S256/Source/c_loader.iom | 6 +- AT91SAM7S256/Source/c_output.c | 2 +- AT91SAM7S256/Source/d_loader.c | 10 +- AT91SAM7S256/Source/d_loader.h | 6 +- AT91SAM7S256/Source/d_lowspeed.r | 44 +- AT91SAM7S256/Source/d_output.c | 366 +- 20 files changed, 2567 insertions(+), 2577 deletions(-) create mode 100644 AT91SAM7S256/Source/cCmdWriteIOMapOffsetsFile.txt (limited to 'AT91SAM7S256/Source/c_cmd_drawing.inc') diff --git a/AT91SAM7S256/SAM7S256/Tools/LMS_ARM.dep b/AT91SAM7S256/SAM7S256/Tools/LMS_ARM.dep index 1570295..5fb29bc 100644 --- a/AT91SAM7S256/SAM7S256/Tools/LMS_ARM.dep +++ b/AT91SAM7S256/SAM7S256/Tools/LMS_ARM.dep @@ -6,266 +6,303 @@ Benchmark + $PROJ_DIR$\Benchmark\Obj\d_usb.pbi + $PROJ_DIR$\Benchmark\Obj\d_input.r79 + $PROJ_DIR$\Benchmark\Obj\c_loader.r79 + $PROJ_DIR$\..\..\Source\RCXintro_3.txt + $PROJ_DIR$\..\..\Source\d_input.h + $PROJ_DIR$\Benchmark\Exe\LMS_ARM.d79 + $PROJ_DIR$\..\..\Source\Mainmenu.rms + $PROJ_DIR$\Benchmark\Obj\c_lowspeed.r79 + $PROJ_DIR$\Benchmark\Obj\c_comm.pbi + $PROJ_DIR$\..\..\Source\c_button.c $PROJ_DIR$\..\..\Source\c_cmd.c - $PROJ_DIR$\..\..\Source\d_display.h - $TOOLKIT_DIR$\inc\ctype.h - $PROJ_DIR$\..\..\Source\Font.txt - $PROJ_DIR$\Benchmark\Obj\d_lowspeed.r79 $PROJ_DIR$\..\..\Source\c_comm.c - $PROJ_DIR$\Benchmark\Obj\c_display.pbi - $PROJ_DIR$\Benchmark\Obj\Cstartup_SAM7.r79 - $PROJ_DIR$\..\..\Source\c_button.iom - $PROJ_DIR$\Benchmark\Obj\d_display.r79 - $PROJ_DIR$\..\..\Source\d_usb.r - $PROJ_DIR$\..\..\Source\Submenu06.rms - $TOOLKIT_DIR$\inc\xtls.h - $PROJ_DIR$\..\..\Source\Wait.txt - $PROJ_DIR$\..\..\Source\RCXintro_5.txt + $TOOLKIT_DIR$\inc\stdlib.h + $PROJ_DIR$\..\..\Source\c_display.c + $PROJ_DIR$\..\..\Source\c_input.c + $PROJ_DIR$\..\..\Source\c_ioctrl.c + $PROJ_DIR$\..\..\Source\c_loader.c + $PROJ_DIR$\..\..\Source\c_lowspeed.c + $PROJ_DIR$\..\..\Source\c_output.c + $PROJ_DIR$\..\..\Source\c_sound.c + $PROJ_DIR$\..\..\Source\c_ui.c + $PROJ_DIR$\..\Include\Cstartup.s79 + $PROJ_DIR$\..\Include\Cstartup_SAM7.c + $PROJ_DIR$\..\..\Source\d_bt.c + $PROJ_DIR$\..\..\Source\d_button.c + $PROJ_DIR$\..\..\Source\d_display.c + $PROJ_DIR$\..\..\Source\d_hispeed.c + $PROJ_DIR$\..\..\Source\d_input.c + $PROJ_DIR$\..\..\Source\d_ioctrl.c + $PROJ_DIR$\..\..\Source\d_loader.c + $PROJ_DIR$\..\..\Source\d_lowspeed.c + $PROJ_DIR$\..\..\Source\d_output.c + $PROJ_DIR$\..\..\Source\d_sound.c + $PROJ_DIR$\..\..\Source\d_timer.c + $PROJ_DIR$\..\..\Source\d_usb.c + $PROJ_DIR$\..\..\Source\Functions.inl + $PROJ_DIR$\..\..\Source\m_sched.c + $PROJ_DIR$\..\..\Source\d_timer.r + $PROJ_DIR$\..\..\Source\RCXintro_12.txt + $PROJ_DIR$\..\..\Source\c_cmd_bytecodes.h + $PROJ_DIR$\..\..\Source\c_display.h + $PROJ_DIR$\..\..\Source\Submenu04.rms + $TOOLKIT_DIR$\inc\DLib_Defaults.h + $PROJ_DIR$\..\..\Source\c_lowspeed.h + $PROJ_DIR$\..\..\Source\Submenu02.rms + $PROJ_DIR$\Benchmark\Obj\c_cmd.pbi + $PROJ_DIR$\Benchmark\Obj\d_hispeed.r79 + $PROJ_DIR$\..\..\Source\d_ioctrl.h + $PROJ_DIR$\..\..\Source\RCXintro_7.txt + $PROJ_DIR$\..\..\Source\d_button.h + $PROJ_DIR$\..\..\Source\c_output.h + $PROJ_DIR$\Benchmark\Obj\c_sound.pbi + $PROJ_DIR$\Benchmark\Obj\c_loader.pbi + $PROJ_DIR$\Benchmark\Obj\d_hispeed.pbi + $PROJ_DIR$\Benchmark\Obj\m_sched.r79 + $PROJ_DIR$\..\..\Source\d_loader.h + $TOOLKIT_DIR$\inc\xencoding_limits.h + $PROJ_DIR$\..\..\Source\Port.txt + $PROJ_DIR$\..\..\Source\c_lowspeed.iom + $PROJ_DIR$\Benchmark\Obj\d_ioctrl.r79 + $PROJ_DIR$\Benchmark\Obj\c_ui.pbi + $PROJ_DIR$\..\..\Source\Icons.txt + $PROJ_DIR$\..\..\Source\d_bt.r + $TOOLKIT_DIR$\inc\DLib_Product.h + $PROJ_DIR$\Benchmark\Obj\d_loader.pbi $PROJ_DIR$\..\..\Source\modules.h - $PROJ_DIR$\Benchmark\Obj\d_bt.r79 - $PROJ_DIR$\..\..\Source\c_input.iom - $PROJ_DIR$\Benchmark\Obj\c_output.pbi - $TOOLKIT_DIR$\inc\wchar.h - $PROJ_DIR$\..\..\Source\RCXintro_11.txt - $PROJ_DIR$\Benchmark\Obj\c_lowspeed.r79 - $PROJ_DIR$\..\..\Source\RCXintro_8.txt - $PROJ_DIR$\Benchmark\Obj\d_input.r79 $TOOLKIT_DIR$\inc\time.h + $PROJ_DIR$\..\..\Source\LowBattery.txt + $PROJ_DIR$\..\..\Source\d_output.h $PROJ_DIR$\..\..\Source\d_ioctrl.r + $PROJ_DIR$\..\..\Source\RCXintro_8.txt + $PROJ_DIR$\..\..\Source\d_display.r $PROJ_DIR$\..\..\Source\c_cmd.h - $PROJ_DIR$\Benchmark\Exe\LMS_ARM.d79 - $PROJ_DIR$\..\..\Source\d_input.h - $PROJ_DIR$\Benchmark\Obj\c_loader.r79 - $PROJ_DIR$\Benchmark\Obj\d_usb.pbi - $PROJ_DIR$\..\..\Source\m_sched.h - $PROJ_DIR$\..\..\Source\BtTest.inc - $PROJ_DIR$\Benchmark\Obj\d_timer.r79 - $TOOLKIT_DIR$\inc\DLib_Threads.h - $PROJ_DIR$\..\..\Source\Submenu05.rms - $PROJ_DIR$\Benchmark\Obj\c_ui.pbi - $PROJ_DIR$\..\..\Source\LowBattery.txt - $PROJ_DIR$\..\..\Source\Icons.txt - $PROJ_DIR$\..\..\Source\d_button.h + $PROJ_DIR$\..\..\Source\d_usb.r + $PROJ_DIR$\Benchmark\Obj\d_lowspeed.r79 + $PROJ_DIR$\Benchmark\Obj\d_display.r79 + $PROJ_DIR$\..\..\Source\c_button.iom + $PROJ_DIR$\Benchmark\Obj\c_display.pbi $PROJ_DIR$\Benchmark\Obj\d_button.pbi $TOOLKIT_DIR$\inc\xmtx.h - $PROJ_DIR$\..\..\Source\d_display.r + $PROJ_DIR$\..\..\Source\d_display.h $PROJ_DIR$\Benchmark\Obj\Cstartup.r79 - $PROJ_DIR$\..\..\Source\RCXintro_6.txt - $PROJ_DIR$\..\Include\sam7s256.c - $PROJ_DIR$\..\..\Source\RCXintro_1.txt - $TOOLKIT_DIR$\inc\stdbool.h - $PROJ_DIR$\..\Include\AT91SAM7S256.h - $PROJ_DIR$\..\..\Source\c_ioctrl.h - $PROJ_DIR$\..\..\Source\stdconst.h - $PROJ_DIR$\..\Include\sam7s256.h - $TOOLKIT_DIR$\inc\string.h - $PROJ_DIR$\..\..\Source\c_ui.iom - $PROJ_DIR$\..\..\Source\d_lowspeed.h + $TOOLKIT_DIR$\inc\ctype.h + $PROJ_DIR$\Benchmark\Obj\d_timer.r79 + $PROJ_DIR$\..\..\Source\BtTest.inc + $TOOLKIT_DIR$\inc\DLib_Threads.h + $PROJ_DIR$\..\..\Source\Submenu05.rms + $PROJ_DIR$\..\..\Source\Wait.txt + $TOOLKIT_DIR$\inc\xtls.h + $TOOLKIT_DIR$\inc\xlocaleuse.h $PROJ_DIR$\..\..\Source\c_loader.h - $PROJ_DIR$\..\..\Source\d_output.h $PROJ_DIR$\Benchmark\Obj\c_button.pbi $TOOLKIT_DIR$\inc\ysizet.h - $TOOLKIT_DIR$\inc\xlocaleuse.h $PROJ_DIR$\Benchmark\Obj\m_sched.pbi - $PROJ_DIR$\..\..\Source\RCXintro_9.txt $PROJ_DIR$\Benchmark\Obj\d_lowspeed.pbi - $PROJ_DIR$\..\..\Source\RCXintro_4.txt + $PROJ_DIR$\..\..\Source\Fail.txt + $PROJ_DIR$\Benchmark\Obj\d_ioctrl.pbi + $PROJ_DIR$\..\..\Source\RCXintro_9.txt + $PROJ_DIR$\..\Include\AT91SAM7S256.h + $PROJ_DIR$\..\..\Source\d_output.r + $PROJ_DIR$\..\Include\ioat91sam7s256.h + $PROJ_DIR$\..\..\Source\d_lowspeed.h + $TOOLKIT_DIR$\inc\stdbool.h $PROJ_DIR$\Benchmark\Obj\c_ioctrl.r79 + $PROJ_DIR$\..\..\Source\Ui.txt + $PROJ_DIR$\..\..\Source\d_sound.r + $PROJ_DIR$\..\..\Source\d_sound.h + $TOOLKIT_DIR$\inc\yvals.h $TOOLKIT_DIR$\inc\xlocale_c.h + $PROJ_DIR$\..\..\Source\RCXintro_6.txt + $PROJ_DIR$\..\Include\sam7s256.c + $PROJ_DIR$\..\..\Source\RCXintro_1.txt + $PROJ_DIR$\Benchmark\Obj\c_ioctrl.pbi + $PROJ_DIR$\..\..\Source\d_hispeed.h + $PROJ_DIR$\Benchmark\Obj\c_sound.r79 + $TOOLKIT_DIR$\inc\xtinfo.h $PROJ_DIR$\..\..\Source\c_cmd.iom $PROJ_DIR$\..\..\Source\d_hispeed.r + $PROJ_DIR$\..\..\Source\RCXintro_4.txt + $PROJ_DIR$\..\..\Source\stdconst.h $PROJ_DIR$\Benchmark\Obj\c_cmd.r79 + $TOOLKIT_DIR$\inc\string.h + $PROJ_DIR$\..\..\Source\c_ioctrl.h + $PROJ_DIR$\..\..\Source\RCXintro_11.txt $PROJ_DIR$\Benchmark\Obj\c_output.r79 + $TOOLKIT_DIR$\inc\wchar.h + $PROJ_DIR$\..\Include\sam7s256.h $PROJ_DIR$\Benchmark\Obj\d_bt.pbi $PROJ_DIR$\..\..\Source\Test2.txt $PROJ_DIR$\..\Include\AT91SAM7S256_inc.h - $PROJ_DIR$\..\..\Source\Ui.txt - $PROJ_DIR$\..\..\Source\d_sound.r - $PROJ_DIR$\..\..\Source\d_sound.h - $TOOLKIT_DIR$\inc\yvals.h - $PROJ_DIR$\..\..\Source\d_bt.r - $TOOLKIT_DIR$\inc\DLib_Product.h - $PROJ_DIR$\Benchmark\Obj\d_ioctrl.r79 - $PROJ_DIR$\Benchmark\Obj\d_loader.pbi - $PROJ_DIR$\Benchmark\Obj\c_ioctrl.pbi - $PROJ_DIR$\Benchmark\Obj\c_sound.r79 - $TOOLKIT_DIR$\inc\xtinfo.h - $PROJ_DIR$\..\..\Source\d_hispeed.h - $PROJ_DIR$\..\..\Source\Fail.txt - $PROJ_DIR$\Benchmark\Obj\d_ioctrl.pbi - $PROJ_DIR$\..\..\Source\d_output.r - $PROJ_DIR$\..\Include\ioat91sam7s256.h - $PROJ_DIR$\Benchmark\Obj\c_input.r79 - $TOOLKIT_DIR$\inc\stdlib.h - $PROJ_DIR$\..\..\Source\RCXintro_15.txt - $PROJ_DIR$\..\..\Source\c_comm.iom - $PROJ_DIR$\..\..\Source\c_input.h - $PROJ_DIR$\..\..\Source\d_input.r - $PROJ_DIR$\..\..\Source\d_usb.h - $PROJ_DIR$\..\..\Source\Mainmenu.rms - $PROJ_DIR$\..\..\Source\d_bt.h - $PROJ_DIR$\Benchmark\Obj\LMS_ARM.pbd + $PROJ_DIR$\..\..\Source\c_ui.iom $PROJ_DIR$\Benchmark\Obj\d_display.pbi $PROJ_DIR$\..\..\Source\Submenu01.rms + $PROJ_DIR$\..\..\Source\c_ui.h $PROJ_DIR$\..\..\Source\Ok.txt $PROJ_DIR$\Benchmark\Obj\c_display.r79 $PROJ_DIR$\Benchmark\Obj\d_input.pbi - $PROJ_DIR$\..\..\Source\RCXintro_2.txt $TOOLKIT_DIR$\inc\xlocale.h - $PROJ_DIR$\..\..\Source\c_ui.h $PROJ_DIR$\..\..\Source\Devices.txt $PROJ_DIR$\Benchmark\Obj\c_button.r79 - $PROJ_DIR$\..\..\Source\RCXintro_10.txt + $PROJ_DIR$\..\..\Source\RCXintro_2.txt $PROJ_DIR$\..\..\Source\d_loader.r $PROJ_DIR$\Benchmark\Obj\c_comm.r79 $PROJ_DIR$\Benchmark\Obj\c_input.pbi - $PROJ_DIR$\..\..\Source\RCXintro_14.txt + $PROJ_DIR$\..\..\Source\RCXintro_10.txt + $PROJ_DIR$\..\..\Source\Submenu06.rms $PROJ_DIR$\Benchmark\Obj\c_ui.r79 $PROJ_DIR$\Benchmark\Obj\d_button.r79 - $PROJ_DIR$\..\..\Source\c_cmd_drawing.inc - $PROJ_DIR$\..\Lib\dl4tptinl8n.h + $PROJ_DIR$\Benchmark\Obj\d_bt.r79 + $PROJ_DIR$\..\..\Source\c_sound.h + $PROJ_DIR$\Benchmark\Obj\Cstartup_SAM7.r79 + $PROJ_DIR$\..\..\Source\Font.txt + $PROJ_DIR$\..\..\Source\d_usb.h + $PROJ_DIR$\..\..\Source\c_input.h + $PROJ_DIR$\..\..\Source\d_input.r + $PROJ_DIR$\..\..\Source\m_sched.h + $PROJ_DIR$\..\..\Source\RCXintro_15.txt $PROJ_DIR$\Benchmark\Obj\c_lowspeed.pbi $PROJ_DIR$\Benchmark\Obj\d_output.pbi $PROJ_DIR$\..\..\Source\d_lowspeed.r - $PROJ_DIR$\..\..\Source\c_comm.h - $PROJ_DIR$\..\..\Source\Display.txt - $PROJ_DIR$\..\..\Source\c_sound.h + $PROJ_DIR$\Benchmark\Obj\c_input.r79 $PROJ_DIR$\..\..\Source\c_ioctrl.iom $PROJ_DIR$\..\..\Source\Submenu07.rms $PROJ_DIR$\Benchmark\Obj\d_usb.r79 - $PROJ_DIR$\..\..\Source\RCXintro_3.txt $PROJ_DIR$\Benchmark\Obj\Cstartup_SAM7.pbi - $PROJ_DIR$\..\..\Source\Connections.txt - $PROJ_DIR$\Benchmark\Obj\c_comm.pbi - $PROJ_DIR$\..\..\Source\Test1.txt - $PROJ_DIR$\..\..\Source\RCXintro_13.txt - $PROJ_DIR$\..\..\Source\c_loader.iom - $PROJ_DIR$\..\..\Source\RCXintro_16.txt - $PROJ_DIR$\..\..\Source\d_button.r - $PROJ_DIR$\..\..\Source\c_output.iom - $PROJ_DIR$\..\..\Source\Cursor.txt - $PROJ_DIR$\..\..\Source\c_button.h - $TOOLKIT_DIR$\inc\stdio.h - $PROJ_DIR$\..\..\Source\Running.txt - $PROJ_DIR$\..\..\Source\Info.txt - $PROJ_DIR$\Benchmark\Obj\d_loader.r79 - $PROJ_DIR$\..\..\Source\d_timer.h + $PROJ_DIR$\..\..\Source\c_input.iom + $PROJ_DIR$\..\..\Source\RCXintro_14.txt + $PROJ_DIR$\Benchmark\Obj\c_output.pbi + $PROJ_DIR$\..\..\Source\RCXintro_5.txt $PROJ_DIR$\Benchmark\Obj\d_sound.pbi + $PROJ_DIR$\Benchmark\Obj\LMS_ARM.pbd + $PROJ_DIR$\..\..\Source\d_bt.h + $PROJ_DIR$\..\..\Source\d_timer.h $PROJ_DIR$\..\..\Source\Status.txt $PROJ_DIR$\..\..\Source\Step.txt $PROJ_DIR$\..\..\Source\c_sound.iom $PROJ_DIR$\Benchmark\Obj\d_sound.r79 - $PROJ_DIR$\..\..\Source\RCXintro_12.txt - $PROJ_DIR$\..\..\Source\c_cmd_bytecodes.h $PROJ_DIR$\..\..\Source\c_display.iom $PROJ_DIR$\Benchmark\Obj\d_output.r79 + $PROJ_DIR$\..\..\Source\c_comm.iom + $PROJ_DIR$\..\..\Source\c_comm.h + $PROJ_DIR$\..\..\Source\c_cmd_drawing.inc + $PROJ_DIR$\..\Lib\dl4tptinl8n.h + $PROJ_DIR$\..\..\Source\Display.txt + $PROJ_DIR$\..\..\Source\Cursor.txt + $PROJ_DIR$\..\..\Source\RCXintro_13.txt + $PROJ_DIR$\..\..\Source\c_button.h + $PROJ_DIR$\..\..\Source\RCXintro_16.txt + $PROJ_DIR$\..\..\Source\Running.txt + $TOOLKIT_DIR$\inc\stdio.h + $PROJ_DIR$\..\..\Source\Info.txt + $PROJ_DIR$\Benchmark\Obj\d_loader.r79 + $PROJ_DIR$\..\..\Source\Test1.txt + $PROJ_DIR$\..\..\Source\c_loader.iom + $PROJ_DIR$\..\..\Source\d_button.r + $PROJ_DIR$\..\..\Source\Connections.txt $PROJ_DIR$\Benchmark\Obj\d_timer.pbi - $PROJ_DIR$\..\..\Source\d_timer.r - $PROJ_DIR$\..\..\Source\Submenu04.rms - $TOOLKIT_DIR$\inc\DLib_Defaults.h - $PROJ_DIR$\..\..\Source\c_display.h - $PROJ_DIR$\..\..\Source\c_lowspeed.h - $PROJ_DIR$\..\..\Source\RCXintro_7.txt - $PROJ_DIR$\..\..\Source\Submenu02.rms - $PROJ_DIR$\Benchmark\Obj\d_hispeed.r79 - $PROJ_DIR$\..\..\Source\d_ioctrl.h - $PROJ_DIR$\..\..\Source\c_input.c - $PROJ_DIR$\..\..\Source\c_ioctrl.c - $PROJ_DIR$\..\..\Source\c_loader.c - $PROJ_DIR$\..\..\Source\c_lowspeed.c - $PROJ_DIR$\..\..\Source\c_output.c - $PROJ_DIR$\..\..\Source\c_sound.c - $PROJ_DIR$\..\..\Source\c_ui.c - $PROJ_DIR$\..\Include\Cstartup.s79 - $PROJ_DIR$\..\Include\Cstartup_SAM7.c - $PROJ_DIR$\..\..\Source\d_bt.c - $PROJ_DIR$\..\..\Source\d_button.c - $PROJ_DIR$\..\..\Source\c_output.h - $PROJ_DIR$\..\..\Source\c_display.c - $PROJ_DIR$\Benchmark\Obj\c_cmd.pbi - $PROJ_DIR$\Benchmark\Obj\c_sound.pbi - $PROJ_DIR$\Benchmark\Obj\c_loader.pbi - $PROJ_DIR$\Benchmark\Obj\d_hispeed.pbi - $PROJ_DIR$\Benchmark\Obj\m_sched.r79 - $PROJ_DIR$\..\..\Source\c_lowspeed.iom - $PROJ_DIR$\..\..\Source\d_loader.h - $TOOLKIT_DIR$\inc\xencoding_limits.h - $PROJ_DIR$\..\..\Source\c_button.c - $PROJ_DIR$\..\..\Source\d_display.c - $PROJ_DIR$\..\..\Source\d_hispeed.c - $PROJ_DIR$\..\..\Source\d_input.c - $PROJ_DIR$\..\..\Source\d_ioctrl.c - $PROJ_DIR$\..\..\Source\d_loader.c - $PROJ_DIR$\..\..\Source\d_lowspeed.c - $PROJ_DIR$\..\..\Source\d_output.c - $PROJ_DIR$\..\..\Source\d_sound.c - $PROJ_DIR$\..\..\Source\d_timer.c - $PROJ_DIR$\..\..\Source\d_usb.c - $PROJ_DIR$\..\..\Source\Functions.inl - $PROJ_DIR$\..\..\Source\m_sched.c - $PROJ_DIR$\..\..\Source\Port.txt + $PROJ_DIR$\..\..\Source\c_output.iom - [ROOT_NODE] + $PROJ_DIR$\..\..\Source\c_button.c - XLINK - 27 + BICOMP + 91 + + + ICCARM + 139 + + + BICOMP + 119 65 186 76 49 + + + ICCARM + 119 65 186 76 49 + + $PROJ_DIR$\..\..\Source\c_cmd.c - ICCARM - 68 + BICOMP + 45 - BICOMP - 176 + ICCARM + 120 - ICCARM - 50 15 66 136 17 133 53 147 8 151 92 181 26 150 143 139 76 156 117 78 183 34 58 52 90 116 + BICOMP + 119 65 116 197 165 193 130 175 76 177 179 58 72 39 172 189 107 42 63 56 85 92 121 12 181 - BICOMP - 50 15 66 136 17 133 53 147 8 151 92 181 26 150 143 139 76 156 78 183 34 58 52 90 116 + ICCARM + 119 65 116 197 165 193 130 175 76 177 179 58 72 39 172 189 107 42 182 63 56 85 92 121 12 181 - $PROJ_DIR$\..\..\Source\c_comm.c + [ROOT_NODE] - ICCARM - 111 + XLINK + 5 + + + + $PROJ_DIR$\..\..\Source\c_comm.c + BICOMP - 130 + 8 - - ICCARM - 50 15 92 133 124 53 66 151 121 95 84 97 52 76 156 117 78 183 34 58 2 105 12 41 90 59 65 83 24 19 + 142 + + BICOMP - 50 15 92 133 124 53 66 151 121 95 84 97 52 76 156 78 183 34 58 2 105 12 41 90 59 65 83 24 19 + 119 65 179 193 161 130 116 177 180 152 113 171 121 107 42 63 56 85 92 82 137 88 79 12 89 108 115 66 125 + + + ICCARM + 119 65 179 193 161 130 116 177 180 152 113 171 121 107 42 182 63 56 85 92 82 137 88 79 12 89 108 115 66 125 - $PROJ_DIR$\Benchmark\Obj\LMS_ARM.pbd + $PROJ_DIR$\..\..\Source\c_display.c + + + BICOMP + 77 + + + ICCARM + 135 + + - BILINK - 128 57 176 130 6 112 81 178 118 18 177 36 70 40 99 179 103 86 80 62 119 144 153 30 60 + BICOMP + 121 107 42 63 56 85 92 119 65 177 40 80 + + + ICCARM + 121 107 42 182 63 56 85 92 119 65 177 40 80 @@ -273,22 +310,22 @@ $PROJ_DIR$\..\..\Source\c_input.c - ICCARM - 89 + BICOMP + 143 - BICOMP - 112 + ICCARM + 160 - ICCARM - 50 15 93 17 28 136 + BICOMP + 119 65 153 165 4 197 - BICOMP - 50 15 93 17 28 136 + ICCARM + 119 65 153 165 4 197 @@ -296,22 +333,22 @@ $PROJ_DIR$\..\..\Source\c_ioctrl.c - ICCARM - 64 + BICOMP + 112 - BICOMP - 81 + ICCARM + 103 - ICCARM - 50 15 124 49 162 + BICOMP + 119 65 161 122 47 - BICOMP - 50 15 124 49 162 + ICCARM + 119 65 161 122 47 @@ -319,22 +356,22 @@ $PROJ_DIR$\..\..\Source\c_loader.c - ICCARM - 29 + BICOMP + 52 - BICOMP - 178 + ICCARM + 2 - ICCARM - 50 15 133 124 182 55 + BICOMP + 119 65 193 161 55 90 - BICOMP - 50 15 133 124 182 55 + ICCARM + 119 65 193 161 55 90 @@ -342,22 +379,22 @@ $PROJ_DIR$\..\..\Source\c_lowspeed.c - ICCARM - 21 + BICOMP + 157 - BICOMP - 118 + ICCARM + 7 - ICCARM - 50 15 181 17 158 54 + BICOMP + 119 65 58 165 43 101 - BICOMP - 50 15 181 17 158 54 + ICCARM + 119 65 58 165 43 101 @@ -365,22 +402,22 @@ $PROJ_DIR$\..\..\Source\c_output.c - ICCARM - 69 + BICOMP + 167 - BICOMP - 18 + ICCARM + 124 - ICCARM - 139 76 156 117 78 183 34 58 47 50 15 136 174 56 151 + BICOMP + 189 107 42 63 56 85 92 102 119 65 197 50 68 177 - BICOMP - 139 76 156 78 183 34 58 47 50 15 136 174 56 151 + ICCARM + 189 107 42 182 63 56 85 92 102 119 65 197 50 68 177 @@ -388,22 +425,22 @@ $PROJ_DIR$\..\..\Source\c_sound.c - ICCARM - 82 + BICOMP + 51 - BICOMP - 177 + ICCARM + 114 - ICCARM - 90 76 156 117 78 183 34 58 52 50 15 147 133 123 75 + BICOMP + 12 107 42 63 56 85 92 121 119 65 175 193 149 106 - BICOMP - 90 76 156 78 183 34 58 52 50 15 147 133 123 75 + ICCARM + 12 107 42 182 63 56 85 92 121 119 65 175 193 149 106 @@ -411,22 +448,22 @@ $PROJ_DIR$\..\..\Source\c_ui.c - ICCARM - 114 + BICOMP + 60 - BICOMP - 36 + ICCARM + 146 - ICCARM - 139 76 156 117 78 183 34 58 52 2 105 12 41 90 59 65 83 24 19 50 15 53 106 31 51 88 151 133 8 147 17 136 124 66 92 181 122 37 3 146 137 140 197 101 13 85 141 38 46 104 127 63 14 44 159 22 61 109 20 149 132 113 91 134 145 107 129 73 96 100 160 155 35 11 125 195 32 131 71 + BICOMP + 189 107 42 63 56 85 92 121 82 137 88 79 12 89 108 115 66 125 119 65 130 133 155 126 100 177 193 76 175 165 197 161 116 179 58 183 67 151 174 184 188 57 134 87 95 190 61 111 140 3 118 168 109 48 70 97 144 123 38 185 166 156 187 173 138 195 104 6 132 44 41 86 145 162 35 84 192 128 - BICOMP - 139 76 156 78 183 34 58 52 2 105 12 41 90 59 65 83 24 19 50 15 53 106 31 51 88 151 133 8 147 17 136 124 66 92 181 122 37 3 146 137 140 197 101 13 85 141 38 46 104 127 63 14 44 159 22 61 109 20 149 132 113 91 134 145 107 129 73 96 100 160 155 35 11 125 195 32 131 71 + ICCARM + 189 107 42 182 63 56 85 92 121 82 137 88 79 12 89 108 115 66 125 119 65 130 133 155 126 100 177 193 76 175 165 197 161 116 179 58 183 67 151 174 184 188 57 134 87 95 190 61 111 140 3 118 168 109 48 70 97 144 123 38 185 166 156 187 173 138 195 104 6 132 44 41 86 145 162 35 84 192 128 @@ -435,13 +472,13 @@ AARM - 43 + 81 AARM - 72 + 129 @@ -449,22 +486,22 @@ $PROJ_DIR$\..\Include\Cstartup_SAM7.c - ICCARM - 7 + BICOMP + 164 - BICOMP - 128 + ICCARM + 150 - ICCARM - 48 + BICOMP + 98 - BICOMP - 48 + ICCARM + 98 @@ -472,22 +509,22 @@ $PROJ_DIR$\..\..\Source\d_bt.c - ICCARM - 16 + BICOMP + 127 - BICOMP - 70 + ICCARM + 148 - ICCARM - 50 15 31 51 88 97 77 52 76 156 117 78 183 34 58 + BICOMP + 119 65 155 126 100 171 62 121 107 42 63 56 85 92 - BICOMP - 50 15 31 51 88 97 77 52 76 156 78 183 34 58 + ICCARM + 119 65 155 126 100 171 62 121 107 42 182 63 56 85 92 @@ -495,160 +532,114 @@ $PROJ_DIR$\..\..\Source\d_button.c - ICCARM - 115 + BICOMP + 78 - BICOMP - 40 + ICCARM + 147 - ICCARM - 50 31 51 88 39 135 + BICOMP + 119 155 126 100 49 194 - BICOMP - 50 31 51 88 39 135 + ICCARM + 119 155 126 100 49 194 - $PROJ_DIR$\..\..\Source\c_display.c + $PROJ_DIR$\..\..\Source\d_display.c - ICCARM - 102 + BICOMP + 131 - BICOMP - 6 + ICCARM + 75 - ICCARM - 52 76 156 117 78 183 34 58 50 15 151 157 1 + BICOMP + 119 155 126 100 121 107 42 63 56 85 92 80 71 - BICOMP - 52 76 156 78 183 34 58 50 15 151 157 1 + ICCARM + 119 155 126 100 80 71 - $PROJ_DIR$\..\..\Source\c_button.c + $PROJ_DIR$\..\..\Source\d_hispeed.c - ICCARM - 108 + BICOMP + 53 - BICOMP - 57 + ICCARM + 46 - ICCARM - 50 15 138 8 39 + BICOMP + 119 155 126 100 113 117 - BICOMP - 50 15 138 8 39 + ICCARM + 119 155 126 100 113 117 - $PROJ_DIR$\..\..\Source\d_display.c + $PROJ_DIR$\..\..\Source\d_input.c - ICCARM - 9 + BICOMP + 136 - BICOMP - 99 + ICCARM + 1 - ICCARM - 50 31 51 88 1 42 + BICOMP + 119 155 126 100 153 165 4 154 - BICOMP - 50 31 51 88 52 76 156 78 183 34 58 1 42 + ICCARM + 119 155 126 100 153 165 4 154 - $PROJ_DIR$\..\..\Source\d_hispeed.c + $PROJ_DIR$\..\..\Source\d_ioctrl.c - - ICCARM - 161 - - - BICOMP - 179 - - - - - ICCARM - 50 31 51 88 84 67 - BICOMP - 50 31 51 88 84 67 + 96 - - - - $PROJ_DIR$\..\..\Source\d_input.c - ICCARM - 23 - - - BICOMP - 103 + 59 - - ICCARM - 50 31 51 88 93 17 28 94 - - - BICOMP - 50 31 51 88 93 17 28 94 - - - - - $PROJ_DIR$\..\..\Source\d_ioctrl.c - - - ICCARM - 79 - BICOMP - 86 + 121 107 42 63 56 85 92 119 155 126 100 47 69 - - ICCARM - 52 76 156 117 78 183 34 58 50 31 51 88 162 25 - - - BICOMP - 52 76 156 78 183 34 58 50 31 51 88 162 25 + 121 107 42 182 63 56 85 92 119 155 126 100 47 69 @@ -656,22 +647,22 @@ $PROJ_DIR$\..\..\Source\d_loader.c - ICCARM - 142 + BICOMP + 64 - BICOMP - 80 + ICCARM + 191 - ICCARM - 50 15 31 51 88 182 110 52 76 156 117 78 183 34 58 2 105 12 41 90 59 65 83 24 19 + BICOMP + 119 65 155 126 100 55 141 121 107 42 63 56 85 92 82 137 88 79 12 89 108 115 66 125 - BICOMP - 50 15 31 51 88 182 110 52 76 156 78 183 34 58 2 105 12 41 90 59 65 83 24 19 + ICCARM + 119 65 155 126 100 55 141 121 107 42 182 63 56 85 92 82 137 88 79 12 89 108 115 66 125 @@ -679,22 +670,22 @@ $PROJ_DIR$\..\..\Source\d_lowspeed.c - ICCARM - 4 + BICOMP + 94 - BICOMP - 62 + ICCARM + 74 - ICCARM - 50 31 51 88 54 120 + BICOMP + 119 155 126 100 101 159 - BICOMP - 50 31 51 88 54 120 + ICCARM + 119 155 126 100 101 159 @@ -702,22 +693,22 @@ $PROJ_DIR$\..\..\Source\d_output.c - ICCARM - 152 + BICOMP + 158 - BICOMP - 119 + ICCARM + 178 - ICCARM - 50 31 51 88 56 87 + BICOMP + 119 155 126 100 68 99 - BICOMP - 50 31 51 88 56 87 + ICCARM + 119 155 126 100 68 99 @@ -725,22 +716,22 @@ $PROJ_DIR$\..\..\Source\d_sound.c - ICCARM - 148 + BICOMP + 169 - BICOMP - 144 + ICCARM + 176 - ICCARM - 50 31 51 88 75 74 + BICOMP + 119 155 126 100 106 105 - BICOMP - 50 31 51 88 75 74 + ICCARM + 119 155 126 100 106 105 @@ -748,22 +739,22 @@ $PROJ_DIR$\..\..\Source\d_timer.c - ICCARM - 33 + BICOMP + 196 - BICOMP - 153 + ICCARM + 83 - ICCARM - 50 31 51 88 143 154 + BICOMP + 119 155 126 100 172 37 - BICOMP - 50 31 51 88 143 154 + ICCARM + 119 155 126 100 172 37 @@ -771,22 +762,22 @@ $PROJ_DIR$\..\..\Source\d_usb.c - ICCARM - 126 + BICOMP + 0 - BICOMP - 30 + ICCARM + 163 - ICCARM - 50 31 51 88 95 10 + BICOMP + 119 155 126 100 152 73 - BICOMP - 50 31 51 88 95 10 + ICCARM + 119 155 126 100 152 73 @@ -794,22 +785,31 @@ $PROJ_DIR$\..\..\Source\m_sched.c - ICCARM - 180 + BICOMP + 93 - BICOMP - 60 + ICCARM + 54 + + BICOMP + 119 65 155 126 100 110 180 153 165 186 76 90 149 40 43 50 72 39 116 122 133 + ICCARM - 50 15 31 51 88 45 121 93 17 138 8 55 123 157 158 174 26 150 66 49 106 + 119 65 155 126 100 110 180 153 165 186 76 90 149 40 43 50 72 39 116 122 133 + + + + $PROJ_DIR$\Benchmark\Obj\LMS_ARM.pbd + - BICOMP - 50 15 31 51 88 45 121 93 17 138 8 55 123 157 158 174 26 150 66 49 106 + BILINK + 164 91 45 8 77 143 112 52 157 167 51 60 127 78 131 53 136 96 64 94 158 169 196 0 93 @@ -824,126 +824,21 @@ Bin Output - $PROJ_DIR$\..\..\Source\c_cmd.c - $PROJ_DIR$\..\..\Source\d_display.h - $TOOLKIT_DIR$\inc\ctype.h - $PROJ_DIR$\..\..\Source\Font.txt - $PROJ_DIR$\..\..\Source\c_comm.c - $PROJ_DIR$\..\..\Source\c_button.iom - $PROJ_DIR$\..\..\Source\d_usb.r - $PROJ_DIR$\..\..\Source\Submenu06.rms - $TOOLKIT_DIR$\inc\xtls.h - $PROJ_DIR$\..\..\Source\Wait.txt - $PROJ_DIR$\..\..\Source\RCXintro_5.txt - $PROJ_DIR$\..\..\Source\modules.h - $PROJ_DIR$\..\..\Source\c_input.iom - $TOOLKIT_DIR$\inc\wchar.h - $PROJ_DIR$\..\..\Source\RCXintro_11.txt - $PROJ_DIR$\..\..\Source\RCXintro_8.txt - $TOOLKIT_DIR$\inc\time.h - $PROJ_DIR$\..\..\Source\d_ioctrl.r - $PROJ_DIR$\..\..\Source\c_cmd.h + $PROJ_DIR$\..\..\Source\RCXintro_3.txt $PROJ_DIR$\..\..\Source\d_input.h - $PROJ_DIR$\..\..\Source\m_sched.h - $PROJ_DIR$\..\..\Source\BtTest.inc - $TOOLKIT_DIR$\inc\DLib_Threads.h - $PROJ_DIR$\..\..\Source\Submenu05.rms - $PROJ_DIR$\..\..\Source\LowBattery.txt - $PROJ_DIR$\..\..\Source\Icons.txt - $PROJ_DIR$\..\..\Source\d_button.h - $TOOLKIT_DIR$\inc\xmtx.h - $PROJ_DIR$\..\..\Source\d_display.r - $PROJ_DIR$\..\..\Source\RCXintro_6.txt - $PROJ_DIR$\..\Include\sam7s256.c - $PROJ_DIR$\..\..\Source\RCXintro_1.txt - $TOOLKIT_DIR$\inc\stdbool.h - $PROJ_DIR$\..\Include\AT91SAM7S256.h - $PROJ_DIR$\..\..\Source\c_ioctrl.h - $PROJ_DIR$\..\..\Source\stdconst.h - $PROJ_DIR$\..\Include\sam7s256.h - $TOOLKIT_DIR$\inc\string.h - $PROJ_DIR$\..\..\Source\c_ui.iom - $PROJ_DIR$\..\..\Source\d_lowspeed.h - $PROJ_DIR$\..\..\Source\c_loader.h - $PROJ_DIR$\..\..\Source\d_output.h - $TOOLKIT_DIR$\inc\ysizet.h - $TOOLKIT_DIR$\inc\xlocaleuse.h - $PROJ_DIR$\..\..\Source\RCXintro_9.txt - $PROJ_DIR$\..\..\Source\RCXintro_4.txt - $TOOLKIT_DIR$\inc\xlocale_c.h - $PROJ_DIR$\..\..\Source\c_cmd.iom - $PROJ_DIR$\..\..\Source\d_hispeed.r - $PROJ_DIR$\..\..\Source\Test2.txt - $PROJ_DIR$\..\Include\AT91SAM7S256_inc.h - $PROJ_DIR$\..\..\Source\Ui.txt - $PROJ_DIR$\..\..\Source\d_sound.r - $PROJ_DIR$\..\..\Source\d_sound.h - $TOOLKIT_DIR$\inc\yvals.h - $PROJ_DIR$\..\..\Source\d_bt.r - $TOOLKIT_DIR$\inc\DLib_Product.h - $TOOLKIT_DIR$\inc\xtinfo.h - $PROJ_DIR$\..\..\Source\d_hispeed.h - $PROJ_DIR$\..\..\Source\Fail.txt - $PROJ_DIR$\..\..\Source\d_output.r - $PROJ_DIR$\..\Include\ioat91sam7s256.h - $TOOLKIT_DIR$\inc\stdlib.h - $PROJ_DIR$\..\..\Source\RCXintro_15.txt - $PROJ_DIR$\..\..\Source\c_comm.iom - $PROJ_DIR$\..\..\Source\c_input.h - $PROJ_DIR$\..\..\Source\d_input.r - $PROJ_DIR$\..\..\Source\d_usb.h $PROJ_DIR$\..\..\Source\Mainmenu.rms - $PROJ_DIR$\..\..\Source\d_bt.h - $PROJ_DIR$\..\..\Source\Submenu01.rms - $PROJ_DIR$\..\..\Source\Ok.txt - $PROJ_DIR$\..\..\Source\RCXintro_2.txt - $TOOLKIT_DIR$\inc\xlocale.h - $PROJ_DIR$\..\..\Source\c_ui.h - $PROJ_DIR$\..\..\Source\Devices.txt - $PROJ_DIR$\..\..\Source\RCXintro_10.txt - $PROJ_DIR$\..\..\Source\d_loader.r - $PROJ_DIR$\..\..\Source\RCXintro_14.txt - $PROJ_DIR$\..\..\Source\c_cmd_drawing.inc - $PROJ_DIR$\..\Lib\dl4tptinl8n.h - $PROJ_DIR$\..\..\Source\d_lowspeed.r - $PROJ_DIR$\..\..\Source\c_comm.h - $PROJ_DIR$\..\..\Source\Display.txt - $PROJ_DIR$\..\..\Source\c_sound.h - $PROJ_DIR$\..\..\Source\c_ioctrl.iom - $PROJ_DIR$\..\..\Source\Submenu07.rms - $PROJ_DIR$\..\..\Source\RCXintro_3.txt - $PROJ_DIR$\..\..\Source\Connections.txt - $PROJ_DIR$\..\..\Source\Test1.txt - $PROJ_DIR$\..\..\Source\RCXintro_13.txt - $PROJ_DIR$\..\..\Source\c_loader.iom - $PROJ_DIR$\..\Object\c_lowspeed.pbi - $PROJ_DIR$\..\..\Source\RCXintro_16.txt - $PROJ_DIR$\..\Object\d_output.r79 - $PROJ_DIR$\..\Object\d_display.r79 - $PROJ_DIR$\..\Object\d_led.r79 - $PROJ_DIR$\..\Object\d_usb.s - $PROJ_DIR$\..\Object\c_cmd.pbi - $PROJ_DIR$\..\Object\c_lowspeed.r79 - $PROJ_DIR$\..\Object\d_timer.s - $PROJ_DIR$\..\Object\d_ioctrl.s - $PROJ_DIR$\..\Object\m_sched.r79 - $PROJ_DIR$\..\Object\d_loader.s - $PROJ_DIR$\..\Object\d_button.pbi - $PROJ_DIR$\..\Object\c_cmd.s - $PROJ_DIR$\..\Object\c_loader.s - $PROJ_DIR$\..\Object\d_output.s - $PROJ_DIR$\..\Object\d_input.r79 - $PROJ_DIR$\..\Object\d_usb.pbi - $PROJ_DIR$\..\Object\d_hispeed.s - $PROJ_DIR$\..\Object\c_input.s - $PROJ_DIR$\..\Object\Cstartup_SAM7.s - $PROJ_DIR$\..\Object\c_button.r79 - $PROJ_DIR$\..\Object\LMS_ARM.map - $PROJ_DIR$\..\Object\c_comm.s + $PROJ_DIR$\..\..\Source\c_button.c + $PROJ_DIR$\..\..\Source\c_cmd.c + $PROJ_DIR$\..\..\Source\d_led.r + $PROJ_DIR$\..\Object\d_bt.r79 + $PROJ_DIR$\..\Object\d_button.s + $PROJ_DIR$\..\Object\c_led.r79 + $PROJ_DIR$\..\Object\d_input.pbi $PROJ_DIR$\..\Object\d_sound.pbi $PROJ_DIR$\..\Object\d_sound.s $PROJ_DIR$\..\Object\c_input.r79 $PROJ_DIR$\..\Object\d_ioctrl.pbi + $PROJ_DIR$\..\Object\d_display.r79 $PROJ_DIR$\..\Object\LMS_ARM.a79 $PROJ_DIR$\..\Object\c_output.r79 $PROJ_DIR$\..\Object\c_sound.r79 @@ -954,45 +849,55 @@ $PROJ_DIR$\..\Object\d_loader.r79 $PROJ_DIR$\..\Object\c_ui.s $PROJ_DIR$\..\Object\m_sched.s - $TOOLKIT_DIR$\inc\ymath.h $PROJ_DIR$\..\Object\c_button.s - $PROJ_DIR$\..\..\Source\d_led.c - $PROJ_DIR$\..\Object\c_input.pbi - $PROJ_DIR$\..\Object\c_sound.s - $PROJ_DIR$\..\..\Source\d_led.r - $PROJ_DIR$\..\..\Source\c_led.h - $PROJ_DIR$\..\..\Source\Submenu03.rms - $PROJ_DIR$\at91SAM7S256_Remap.xcl - $PROJ_DIR$\..\Object\c_lowspeed.s - $PROJ_DIR$\..\Object\c_display.s - $PROJ_DIR$\..\Object\c_sound.pbi - $PROJ_DIR$\..\Object\d_bt.pbi - $PROJ_DIR$\..\..\Source\d_sound_adpcm.r - $PROJ_DIR$\..\Object\d_lowspeed.s - $PROJ_DIR$\..\Object\c_cmd.r79 - $PROJ_DIR$\..\Object\c_display.pbi + $PROJ_DIR$\..\..\Source\c_comm.c + $TOOLKIT_DIR$\inc\stdlib.h + $PROJ_DIR$\..\..\Source\c_display.c + $PROJ_DIR$\..\..\Source\c_input.c + $PROJ_DIR$\..\..\Source\c_ioctrl.c + $PROJ_DIR$\..\..\Source\c_loader.c + $PROJ_DIR$\..\..\Source\c_lowspeed.c + $PROJ_DIR$\..\..\Source\c_output.c + $PROJ_DIR$\..\..\Source\c_sound.c + $PROJ_DIR$\..\..\Source\c_ui.c + $PROJ_DIR$\..\Include\Cstartup.s79 + $PROJ_DIR$\..\Include\Cstartup_SAM7.c + $PROJ_DIR$\..\..\Source\d_bt.c + $PROJ_DIR$\..\..\Source\d_button.c + $PROJ_DIR$\..\..\Source\d_display.c + $PROJ_DIR$\..\..\Source\d_hispeed.c + $PROJ_DIR$\..\..\Source\d_input.c + $PROJ_DIR$\..\..\Source\d_ioctrl.c + $PROJ_DIR$\..\..\Source\d_loader.c + $PROJ_DIR$\..\..\Source\d_lowspeed.c + $PROJ_DIR$\..\..\Source\d_output.c + $PROJ_DIR$\..\..\Source\d_sound.c + $PROJ_DIR$\..\..\Source\d_timer.c + $PROJ_DIR$\..\..\Source\d_usb.c + $PROJ_DIR$\..\..\Source\Functions.inl + $PROJ_DIR$\..\..\Source\m_sched.c $PROJ_DIR$\..\Object\c_ioctrl.r79 $PROJ_DIR$\..\Object\d_loader.pbi $PROJ_DIR$\..\Object\c_loader.r79 $PROJ_DIR$\..\Object\c_ioctrl.s $PROJ_DIR$\..\Object\LMS_ARM.pbd - $PROJ_DIR$\..\Object\d_display.pbi + $PROJ_DIR$\..\..\Source\c_led.iom $PROJ_DIR$\..\Object\LMS_ARM.d79 - $TOOLKIT_DIR$\inc\limits.h - $PROJ_DIR$\..\Object\d_hispeed.r79 + $PROJ_DIR$\..\Object\d_lowspeed.r79 + $PROJ_DIR$\..\Object\Cstartup_SAM7.pbi $PROJ_DIR$\..\Object\c_button.pbi $PROJ_DIR$\..\Object\d_sound.r79 $PROJ_DIR$\..\Object\c_comm.r79 - $PROJ_DIR$\..\..\Source\c_led.iom - $PROJ_DIR$\..\Object\Cstartup_SAM7.r79 + $PROJ_DIR$\..\Object\d_lowspeed.pbi + $PROJ_DIR$\..\Object\d_hispeed.pbi $PROJ_DIR$\..\Object\c_output.s - $PROJ_DIR$\..\Object\d_lowspeed.r79 $PROJ_DIR$\..\Object\d_timer.r79 + $PROJ_DIR$\..\Object\Cstartup_SAM7.s $PROJ_DIR$\..\Object\c_ioctrl.pbi $PROJ_DIR$\..\Object\d_ioctrl.r79 $PROJ_DIR$\..\Object\m_sched.pbi $PROJ_DIR$\..\Lib\dl4tptinl8n.r79 - $PROJ_DIR$\..\Object\Cstartup_SAM7.pbi + $TOOLKIT_DIR$\inc\math.h $PROJ_DIR$\..\Object\d_timer.pbi $PROJ_DIR$\..\Object\c_output.pbi $PROJ_DIR$\..\Object\d_bt.s @@ -1002,1139 +907,1131 @@ $PROJ_DIR$\..\Object\c_ui.pbi $PROJ_DIR$\..\Object\c_ui.r79 $PROJ_DIR$\..\Object\d_button.r79 - $PROJ_DIR$\..\Object\d_lowspeed.pbi - $PROJ_DIR$\..\Object\d_hispeed.pbi - $TOOLKIT_DIR$\inc\math.h $PROJ_DIR$\..\..\Source\d_led.h - $PROJ_DIR$\..\Object\d_bt.r79 - $PROJ_DIR$\..\Object\d_button.s - $PROJ_DIR$\..\Object\c_led.r79 - $PROJ_DIR$\..\Object\d_input.pbi - $PROJ_DIR$\..\..\Source\d_button.r - $PROJ_DIR$\..\..\Source\c_output.iom - $PROJ_DIR$\..\..\Source\Cursor.txt - $PROJ_DIR$\..\..\Source\c_button.h - $TOOLKIT_DIR$\inc\stdio.h + $PROJ_DIR$\..\Object\d_led.r79 $PROJ_DIR$\..\..\Source\c_led.c - $PROJ_DIR$\..\..\Source\Running.txt - $PROJ_DIR$\..\..\Source\Info.txt - $PROJ_DIR$\..\..\Source\d_timer.h - $PROJ_DIR$\..\..\Source\Status.txt - $PROJ_DIR$\..\..\Source\Step.txt - $PROJ_DIR$\..\..\Source\c_sound.iom + $PROJ_DIR$\..\..\Source\d_led.c + $PROJ_DIR$\..\Object\c_display.r79 + $PROJ_DIR$\..\Object\c_sound.s + $PROJ_DIR$\..\..\Source\c_led.h + $PROJ_DIR$\..\Object\d_hispeed.r79 + $PROJ_DIR$\..\..\Source\Submenu03.rms + $PROJ_DIR$\at91SAM7S256_Remap.xcl + $PROJ_DIR$\..\Object\c_lowspeed.s + $PROJ_DIR$\..\Object\c_display.s + $PROJ_DIR$\..\Object\c_sound.pbi + $PROJ_DIR$\..\Object\d_bt.pbi + $PROJ_DIR$\..\..\Source\d_sound_adpcm.r + $PROJ_DIR$\..\Object\d_lowspeed.s + $PROJ_DIR$\..\Object\c_cmd.r79 + $PROJ_DIR$\..\Object\Cstartup_SAM7.r79 + $PROJ_DIR$\..\Object\c_lowspeed.r79 + $PROJ_DIR$\..\Object\d_ioctrl.s + $PROJ_DIR$\..\Object\d_output.r79 + $PROJ_DIR$\..\Object\d_usb.s + $PROJ_DIR$\..\Object\c_cmd.pbi + $PROJ_DIR$\..\Object\c_display.pbi + $PROJ_DIR$\..\Object\m_sched.r79 + $PROJ_DIR$\..\Object\d_loader.s + $PROJ_DIR$\..\Object\d_button.pbi + $PROJ_DIR$\..\Object\c_cmd.s + $PROJ_DIR$\..\Object\c_loader.s + $PROJ_DIR$\..\Object\d_output.s + $PROJ_DIR$\..\Object\d_input.r79 + $PROJ_DIR$\..\Object\d_usb.pbi + $PROJ_DIR$\..\Object\d_hispeed.s + $PROJ_DIR$\..\Object\c_input.s + $PROJ_DIR$\..\Object\d_display.pbi + $PROJ_DIR$\..\Object\c_button.r79 + $PROJ_DIR$\..\Object\LMS_ARM.map + $PROJ_DIR$\..\Object\c_comm.s + $PROJ_DIR$\..\Object\d_timer.s + $TOOLKIT_DIR$\inc\limits.h + $PROJ_DIR$\..\Object\c_input.pbi + $PROJ_DIR$\..\..\Source\d_timer.r $PROJ_DIR$\..\..\Source\RCXintro_12.txt $PROJ_DIR$\..\..\Source\c_cmd_bytecodes.h - $PROJ_DIR$\..\..\Source\c_display.iom - $PROJ_DIR$\..\..\Source\d_timer.r + $PROJ_DIR$\..\..\Source\c_display.h $PROJ_DIR$\..\..\Source\Submenu04.rms $TOOLKIT_DIR$\inc\DLib_Defaults.h - $PROJ_DIR$\..\..\Source\c_display.h $PROJ_DIR$\..\..\Source\c_lowspeed.h - $PROJ_DIR$\..\..\Source\RCXintro_7.txt $PROJ_DIR$\..\..\Source\Submenu02.rms $PROJ_DIR$\..\..\Source\d_ioctrl.h - $PROJ_DIR$\..\..\Source\c_input.c - $PROJ_DIR$\..\..\Source\c_ioctrl.c - $PROJ_DIR$\..\..\Source\c_loader.c - $PROJ_DIR$\..\..\Source\c_lowspeed.c - $PROJ_DIR$\..\..\Source\c_output.c - $PROJ_DIR$\..\..\Source\c_sound.c - $PROJ_DIR$\..\..\Source\c_ui.c - $PROJ_DIR$\..\Include\Cstartup.s79 - $PROJ_DIR$\..\Include\Cstartup_SAM7.c - $PROJ_DIR$\..\..\Source\d_bt.c - $PROJ_DIR$\..\..\Source\d_button.c + $PROJ_DIR$\..\..\Source\RCXintro_7.txt + $PROJ_DIR$\..\..\Source\d_button.h $PROJ_DIR$\..\..\Source\c_output.h - $PROJ_DIR$\..\..\Source\c_display.c - $PROJ_DIR$\..\..\Source\c_lowspeed.iom $PROJ_DIR$\..\..\Source\d_loader.h $TOOLKIT_DIR$\inc\xencoding_limits.h - $PROJ_DIR$\..\Object\c_display.r79 - $PROJ_DIR$\..\..\Source\c_button.c - $PROJ_DIR$\..\..\Source\d_display.c - $PROJ_DIR$\..\..\Source\d_hispeed.c - $PROJ_DIR$\..\..\Source\d_input.c - $PROJ_DIR$\..\..\Source\d_ioctrl.c - $PROJ_DIR$\..\..\Source\d_loader.c - $PROJ_DIR$\..\..\Source\d_lowspeed.c - $PROJ_DIR$\..\..\Source\d_output.c - $PROJ_DIR$\..\..\Source\d_sound.c - $PROJ_DIR$\..\..\Source\d_timer.c - $PROJ_DIR$\..\..\Source\d_usb.c - $PROJ_DIR$\..\..\Source\Functions.inl - $PROJ_DIR$\..\..\Source\m_sched.c $PROJ_DIR$\..\..\Source\Port.txt + $PROJ_DIR$\..\..\Source\c_lowspeed.iom + $PROJ_DIR$\..\..\Source\Icons.txt + $PROJ_DIR$\..\..\Source\d_bt.r + $TOOLKIT_DIR$\inc\DLib_Product.h + $PROJ_DIR$\..\..\Source\modules.h + $TOOLKIT_DIR$\inc\time.h + $PROJ_DIR$\..\..\Source\LowBattery.txt + $PROJ_DIR$\..\..\Source\d_output.h + $PROJ_DIR$\..\..\Source\d_ioctrl.r + $PROJ_DIR$\..\..\Source\RCXintro_8.txt + $PROJ_DIR$\..\..\Source\d_display.r + $PROJ_DIR$\..\..\Source\c_cmd.h + $PROJ_DIR$\..\..\Source\d_usb.r + $PROJ_DIR$\..\..\Source\c_button.iom + $TOOLKIT_DIR$\inc\xmtx.h + $PROJ_DIR$\..\..\Source\d_display.h + $TOOLKIT_DIR$\inc\ctype.h + $PROJ_DIR$\..\..\Source\BtTest.inc + $TOOLKIT_DIR$\inc\DLib_Threads.h + $PROJ_DIR$\..\..\Source\Submenu05.rms + $PROJ_DIR$\..\..\Source\Wait.txt + $TOOLKIT_DIR$\inc\xtls.h + $TOOLKIT_DIR$\inc\xlocaleuse.h + $PROJ_DIR$\..\..\Source\c_loader.h + $TOOLKIT_DIR$\inc\ysizet.h + $PROJ_DIR$\..\..\Source\Fail.txt + $PROJ_DIR$\..\..\Source\RCXintro_9.txt + $PROJ_DIR$\..\Include\AT91SAM7S256.h + $PROJ_DIR$\..\..\Source\d_output.r + $PROJ_DIR$\..\Include\ioat91sam7s256.h + $PROJ_DIR$\..\..\Source\d_lowspeed.h + $TOOLKIT_DIR$\inc\stdbool.h + $PROJ_DIR$\..\..\Source\Ui.txt + $PROJ_DIR$\..\..\Source\d_sound.r + $PROJ_DIR$\..\..\Source\d_sound.h + $TOOLKIT_DIR$\inc\yvals.h + $TOOLKIT_DIR$\inc\xlocale_c.h + $PROJ_DIR$\..\..\Source\RCXintro_6.txt + $PROJ_DIR$\..\Include\sam7s256.c + $PROJ_DIR$\..\..\Source\RCXintro_1.txt + $PROJ_DIR$\..\..\Source\d_hispeed.h + $TOOLKIT_DIR$\inc\xtinfo.h + $PROJ_DIR$\..\..\Source\c_cmd.iom + $PROJ_DIR$\..\..\Source\d_hispeed.r + $PROJ_DIR$\..\..\Source\RCXintro_4.txt + $PROJ_DIR$\..\..\Source\stdconst.h + $TOOLKIT_DIR$\inc\string.h + $PROJ_DIR$\..\..\Source\c_ioctrl.h + $PROJ_DIR$\..\..\Source\RCXintro_11.txt + $TOOLKIT_DIR$\inc\wchar.h + $PROJ_DIR$\..\Include\sam7s256.h + $PROJ_DIR$\..\..\Source\Test2.txt + $PROJ_DIR$\..\Include\AT91SAM7S256_inc.h + $PROJ_DIR$\..\..\Source\c_ui.iom + $PROJ_DIR$\..\..\Source\Submenu01.rms + $PROJ_DIR$\..\..\Source\c_ui.h + $PROJ_DIR$\..\..\Source\Ok.txt + $TOOLKIT_DIR$\inc\xlocale.h + $PROJ_DIR$\..\..\Source\Devices.txt + $PROJ_DIR$\..\..\Source\RCXintro_2.txt + $PROJ_DIR$\..\..\Source\d_loader.r + $PROJ_DIR$\..\..\Source\RCXintro_10.txt + $PROJ_DIR$\..\..\Source\Submenu06.rms + $PROJ_DIR$\..\..\Source\c_sound.h + $PROJ_DIR$\..\..\Source\Font.txt + $PROJ_DIR$\..\..\Source\d_usb.h + $PROJ_DIR$\..\..\Source\c_input.h + $PROJ_DIR$\..\..\Source\d_input.r + $PROJ_DIR$\..\..\Source\m_sched.h + $PROJ_DIR$\..\..\Source\RCXintro_15.txt + $PROJ_DIR$\..\..\Source\d_lowspeed.r + $PROJ_DIR$\..\..\Source\c_ioctrl.iom + $PROJ_DIR$\..\..\Source\Submenu07.rms + $PROJ_DIR$\..\..\Source\c_input.iom + $PROJ_DIR$\..\..\Source\RCXintro_14.txt + $PROJ_DIR$\..\..\Source\RCXintro_5.txt + $PROJ_DIR$\..\..\Source\d_bt.h + $PROJ_DIR$\..\..\Source\d_timer.h + $TOOLKIT_DIR$\inc\ymath.h + $PROJ_DIR$\..\..\Source\Status.txt + $PROJ_DIR$\..\..\Source\Step.txt + $PROJ_DIR$\..\..\Source\c_sound.iom + $PROJ_DIR$\..\..\Source\c_display.iom + $PROJ_DIR$\..\Object\c_lowspeed.pbi + $PROJ_DIR$\..\..\Source\c_comm.iom + $PROJ_DIR$\..\..\Source\c_comm.h + $PROJ_DIR$\..\..\Source\c_cmd_drawing.inc + $PROJ_DIR$\..\Lib\dl4tptinl8n.h + $PROJ_DIR$\..\..\Source\Display.txt + $PROJ_DIR$\..\..\Source\Cursor.txt + $PROJ_DIR$\..\..\Source\RCXintro_13.txt + $PROJ_DIR$\..\..\Source\c_button.h + $PROJ_DIR$\..\..\Source\RCXintro_16.txt + $PROJ_DIR$\..\..\Source\Running.txt + $TOOLKIT_DIR$\inc\stdio.h + $PROJ_DIR$\..\..\Source\Info.txt + $PROJ_DIR$\..\..\Source\Test1.txt + $PROJ_DIR$\..\..\Source\c_loader.iom + $PROJ_DIR$\..\..\Source\d_button.r + $PROJ_DIR$\..\..\Source\Connections.txt + $PROJ_DIR$\..\..\Source\c_output.iom - [ROOT_NODE] + $PROJ_DIR$\..\..\Source\c_button.c - XLINK - 153 114 120 + BICOMP + 61 - - - - $PROJ_DIR$\..\..\Source\c_cmd.c - ICCARM - 145 - - - BICOMP - 98 + 118 - ICCARM - 35 11 47 187 12 91 38 197 5 200 64 222 20 36 61 18 199 194 190 54 203 80 56 224 22 42 37 62 180 130 154 79 + BICOMP + 184 143 230 152 134 - BICOMP - 35 11 47 187 12 91 38 197 5 200 64 222 20 36 61 18 199 194 190 54 203 56 224 22 42 37 62 180 130 154 79 + ICCARM + 184 143 230 152 134 - $PROJ_DIR$\..\..\Source\c_comm.c + $PROJ_DIR$\..\..\Source\c_cmd.c - ICCARM - 158 + BICOMP + 105 - BICOMP - 126 + ICCARM + 99 - ICCARM - 35 11 64 91 85 38 47 200 82 67 58 69 37 54 203 80 56 224 22 42 2 73 8 27 62 43 46 57 16 13 + BICOMP + 184 143 181 239 212 236 192 220 152 221 223 139 207 189 168 150 126 216 233 174 129 142 137 157 163 185 27 73 217 122 225 - BICOMP - 35 11 64 91 85 38 47 200 82 67 58 69 37 54 203 56 224 22 42 2 73 8 27 62 43 46 57 16 13 + ICCARM + 184 143 181 239 212 236 192 220 152 221 223 139 207 189 168 150 126 216 233 174 129 226 142 137 157 163 185 27 73 217 122 225 - $PROJ_DIR$\..\Object\d_usb.s + [ROOT_NODE] - AARM - 172 + XLINK + 58 119 15 - $PROJ_DIR$\..\Object\d_timer.s + $PROJ_DIR$\..\Object\d_button.s AARM - 163 + 82 - $PROJ_DIR$\..\Object\d_ioctrl.s + $PROJ_DIR$\..\Object\d_sound.s AARM - 165 + 62 - $PROJ_DIR$\..\Object\d_loader.s + $PROJ_DIR$\..\Object\d_display.s AARM - 127 + 14 - $PROJ_DIR$\..\Object\c_cmd.s + $PROJ_DIR$\..\Object\c_ui.s AARM - 145 + 81 - $PROJ_DIR$\..\Object\c_loader.s + $PROJ_DIR$\..\Object\m_sched.s AARM - 149 + 107 - $PROJ_DIR$\..\Object\d_output.s + $PROJ_DIR$\..\Object\c_button.s AARM - 94 + 118 - $PROJ_DIR$\..\Object\d_hispeed.s + $PROJ_DIR$\..\..\Source\c_comm.c - AARM - 155 + BICOMP + 21 - - - - $PROJ_DIR$\..\Object\c_input.s - - AARM - 118 + ICCARM + 63 - - - $PROJ_DIR$\..\Object\Cstartup_SAM7.s - + - AARM - 160 + BICOMP + 184 143 223 236 210 192 181 221 224 204 179 215 185 174 129 142 137 157 163 155 196 160 153 27 161 175 180 144 188 - - - - $PROJ_DIR$\..\Object\c_comm.s - - AARM - 158 + ICCARM + 184 143 223 236 210 192 181 221 224 204 179 215 185 174 129 226 142 137 157 163 155 196 160 153 27 161 175 180 144 188 - + - $PROJ_DIR$\..\Object\d_sound.s + $PROJ_DIR$\..\..\Source\c_display.c - AARM - 157 + BICOMP + 106 - - - - $PROJ_DIR$\..\Object\d_display.s - - AARM - 95 + ICCARM + 87 - - - $PROJ_DIR$\..\Object\c_ui.s - + - AARM - 176 + BICOMP + 185 174 129 142 137 157 163 184 143 221 127 154 - - - - $PROJ_DIR$\..\Object\m_sched.s - - AARM - 102 + ICCARM + 185 174 129 226 142 137 157 163 184 143 221 127 154 - + - $PROJ_DIR$\..\Object\c_button.s + $PROJ_DIR$\..\..\Source\c_input.c - AARM - 113 + BICOMP + 123 - - - - $PROJ_DIR$\..\..\Source\d_led.c - ICCARM - 96 + 12 + + BICOMP + 184 143 205 212 1 239 236 185 174 129 142 137 157 163 + ICCARM - 35 20 36 61 181 135 + 184 143 205 212 1 239 236 185 174 129 226 142 137 157 163 - $PROJ_DIR$\..\Object\c_sound.s + $PROJ_DIR$\..\..\Source\c_ioctrl.c - AARM - 122 + BICOMP + 69 - - - - $PROJ_DIR$\..\Object\c_lowspeed.s - - AARM - 99 + ICCARM + 52 - - - $PROJ_DIR$\..\Object\c_display.s - + - AARM - 225 + BICOMP + 184 143 210 186 132 - - - - $PROJ_DIR$\..\Object\d_lowspeed.s - - AARM - 162 + ICCARM + 184 143 210 186 132 - + - $PROJ_DIR$\..\Object\c_ioctrl.s + $PROJ_DIR$\..\..\Source\c_loader.c - AARM - 147 + BICOMP + 20 + + + ICCARM + 54 - - - $PROJ_DIR$\..\Object\LMS_ARM.pbd - BILINK - 168 156 98 126 146 133 164 125 92 170 141 175 142 104 152 179 185 119 148 178 124 116 169 109 166 + BICOMP + 184 143 236 210 136 162 185 174 129 142 137 157 163 + + + ICCARM + 184 143 236 210 136 162 185 174 129 226 142 137 157 163 - $PROJ_DIR$\..\Object\LMS_ARM.d79 + $PROJ_DIR$\..\..\Source\c_lowspeed.c - XLINK - 114 120 + BICOMP + 222 + + + ICCARM + 101 - XLINK - 138 173 160 113 145 158 225 118 147 149 99 121 122 176 182 177 95 155 108 165 127 162 94 157 163 172 102 167 + BICOMP + 184 143 139 212 130 169 + + + ICCARM + 184 143 139 212 130 169 - $PROJ_DIR$\..\Object\c_output.s + $PROJ_DIR$\..\..\Source\c_output.c - AARM - 121 + BICOMP + 75 - - - - $PROJ_DIR$\..\Object\d_bt.s - - AARM - 182 + ICCARM + 16 - - - $PROJ_DIR$\..\Object\d_input.s - + - AARM - 108 + BICOMP + 233 174 129 142 137 157 163 170 184 143 239 135 146 221 - - - - $PROJ_DIR$\..\Object\d_button.s - - AARM - 177 + ICCARM + 233 174 129 226 142 137 157 163 170 184 143 239 135 146 221 - + - $PROJ_DIR$\..\..\Source\c_led.c + $PROJ_DIR$\..\..\Source\c_sound.c + + BICOMP + 95 + ICCARM - 184 + 17 + + BICOMP + 27 174 129 142 137 157 163 185 184 143 220 236 202 173 + ICCARM - 35 11 159 136 181 + 27 174 129 226 142 137 157 163 185 184 143 220 236 202 173 - $PROJ_DIR$\..\..\Source\c_input.c + $PROJ_DIR$\..\..\Source\c_ui.c - ICCARM - 118 + BICOMP + 80 - BICOMP - 133 + ICCARM + 81 - ICCARM - 35 11 65 12 19 187 91 37 54 203 80 56 224 22 42 + BICOMP + 233 174 129 142 137 157 163 185 155 196 160 153 27 161 175 180 144 188 184 143 192 194 207 189 168 221 236 152 220 212 239 210 181 223 139 227 145 203 219 228 232 138 195 159 164 234 140 178 198 0 183 214 176 133 148 165 200 187 125 229 213 208 231 218 197 238 171 2 193 131 91 128 158 201 211 50 156 235 190 - BICOMP - 35 11 65 12 19 187 91 37 54 203 56 224 22 42 + ICCARM + 233 174 129 226 142 137 157 163 185 155 196 160 153 27 161 175 180 144 188 184 143 192 194 207 189 168 221 236 152 220 212 239 210 181 223 139 227 145 203 219 228 232 138 195 159 164 234 140 178 198 0 183 214 176 133 148 165 200 187 125 229 213 208 231 218 197 238 171 2 193 131 91 128 158 201 211 50 156 235 190 - $PROJ_DIR$\..\..\Source\c_ioctrl.c + $PROJ_DIR$\..\Include\Cstartup.s79 - ICCARM - 147 - - - BICOMP - 164 + AARM + 78 - ICCARM - 35 11 85 34 208 - - - BICOMP - 35 11 85 34 208 + AARM + 191 - $PROJ_DIR$\..\..\Source\c_loader.c + $PROJ_DIR$\..\Include\Cstartup_SAM7.c - ICCARM - 149 + BICOMP + 60 - BICOMP - 125 + ICCARM + 100 - ICCARM - 35 11 91 85 223 40 37 54 203 80 56 224 22 42 + BICOMP + 166 - BICOMP - 35 11 91 85 223 40 37 54 203 56 224 22 42 + ICCARM + 166 - $PROJ_DIR$\..\..\Source\c_lowspeed.c + $PROJ_DIR$\..\..\Source\d_bt.c - ICCARM - 99 + BICOMP + 96 - BICOMP - 92 + ICCARM + 6 - ICCARM - 35 11 222 12 205 39 + BICOMP + 184 143 207 189 168 215 141 185 174 129 142 137 157 163 - BICOMP - 35 11 222 12 205 39 + ICCARM + 184 143 207 189 168 215 141 185 174 129 226 142 137 157 163 - $PROJ_DIR$\..\..\Source\c_output.c + $PROJ_DIR$\..\..\Source\d_button.c - ICCARM - 121 + BICOMP + 109 - BICOMP - 170 + ICCARM + 82 - ICCARM - 190 54 203 80 56 224 22 42 32 35 11 187 220 41 200 + BICOMP + 184 207 189 168 134 237 - BICOMP - 190 54 203 56 224 22 42 32 35 11 187 220 41 200 + ICCARM + 184 207 189 168 134 237 - $PROJ_DIR$\..\..\Source\c_sound.c + $PROJ_DIR$\..\..\Source\d_display.c - ICCARM - 122 + BICOMP + 117 - BICOMP - 141 + ICCARM + 14 - ICCARM - 62 54 203 80 56 224 22 42 37 35 11 197 91 84 53 + BICOMP + 184 207 189 168 154 149 - BICOMP - 62 54 203 56 224 22 42 37 35 11 197 91 84 53 + ICCARM + 184 207 189 168 154 149 - $PROJ_DIR$\..\..\Source\c_ui.c + $PROJ_DIR$\..\..\Source\d_hispeed.c - - ICCARM - 176 - BICOMP - 175 + 65 - - ICCARM - 190 54 203 80 56 224 22 42 37 2 73 8 27 62 43 46 57 16 13 35 11 38 74 20 36 61 200 91 5 197 12 187 85 47 64 222 83 24 3 196 188 192 239 71 9 59 193 25 31 72 87 45 10 29 206 15 44 76 14 198 90 78 63 93 195 75 88 51 68 70 207 137 202 23 7 86 237 21 89 49 + 90 + + BICOMP - 190 54 203 56 224 22 42 37 2 73 8 27 62 43 46 57 16 13 35 11 38 74 20 36 61 200 91 5 197 12 187 85 47 64 222 83 24 3 196 188 192 239 71 9 59 193 25 31 72 87 45 10 29 206 15 44 76 14 198 90 78 63 93 195 75 88 51 68 70 207 137 202 23 7 86 237 21 89 49 - - - - - $PROJ_DIR$\..\Include\Cstartup.s79 - - - AARM - 173 + 184 207 189 168 179 182 - - - AARM - 50 + ICCARM + 184 207 189 168 179 182 - $PROJ_DIR$\..\Include\Cstartup_SAM7.c + $PROJ_DIR$\..\..\Source\d_input.c - ICCARM - 160 + BICOMP + 9 - BICOMP - 168 + ICCARM + 113 - ICCARM - 33 + BICOMP + 184 207 189 168 205 212 1 206 - BICOMP - 33 + ICCARM + 184 207 189 168 205 212 1 206 - $PROJ_DIR$\..\..\Source\d_bt.c + $PROJ_DIR$\..\..\Source\d_ioctrl.c - ICCARM - 182 + BICOMP + 13 - BICOMP - 142 + ICCARM + 70 - ICCARM - 35 11 20 36 61 69 55 37 54 203 80 56 224 22 42 + BICOMP + 185 174 129 142 137 157 163 184 207 189 168 132 147 - BICOMP - 35 11 20 36 61 69 55 37 54 203 56 224 22 42 + ICCARM + 185 174 129 226 142 137 157 163 184 207 189 168 132 147 - $PROJ_DIR$\..\..\Source\d_button.c + $PROJ_DIR$\..\..\Source\d_loader.c - ICCARM - 177 + BICOMP + 53 - BICOMP - 104 + ICCARM + 22 - ICCARM - 35 20 36 61 26 186 + BICOMP + 184 143 207 189 168 136 199 185 174 129 142 137 157 163 155 196 160 153 27 161 175 180 144 188 - BICOMP - 35 20 36 61 26 186 + ICCARM + 184 143 207 189 168 136 199 185 174 129 226 142 137 157 163 155 196 160 153 27 161 175 180 144 188 - $PROJ_DIR$\..\..\Source\c_display.c + $PROJ_DIR$\..\..\Source\d_lowspeed.c - ICCARM - 225 + BICOMP + 64 - BICOMP - 146 + ICCARM + 59 - ICCARM - 37 54 203 80 56 224 22 42 35 11 200 204 1 + BICOMP + 184 207 189 168 169 209 - BICOMP - 37 54 203 56 224 22 42 35 11 200 204 1 + ICCARM + 184 207 189 168 169 209 - $PROJ_DIR$\..\..\Source\c_button.c + $PROJ_DIR$\..\..\Source\d_output.c - ICCARM - 113 + BICOMP + 19 - BICOMP - 156 + ICCARM + 103 - ICCARM - 35 11 189 5 26 + BICOMP + 184 207 189 168 146 167 - BICOMP - 35 11 189 5 26 + ICCARM + 184 207 189 168 146 167 - $PROJ_DIR$\..\..\Source\d_display.c + $PROJ_DIR$\..\..\Source\d_sound.c - ICCARM - 95 + BICOMP + 10 - BICOMP - 152 + ICCARM + 62 - ICCARM - 35 20 36 61 1 28 + BICOMP + 184 207 189 168 173 172 97 - BICOMP - 35 20 36 61 1 28 + ICCARM + 184 207 189 168 173 172 97 - $PROJ_DIR$\..\..\Source\d_hispeed.c + $PROJ_DIR$\..\..\Source\d_timer.c - ICCARM - 155 + BICOMP + 74 - BICOMP - 179 + ICCARM + 67 - ICCARM - 35 20 36 61 58 48 + BICOMP + 184 207 189 168 216 124 - BICOMP - 35 20 36 61 58 48 + ICCARM + 184 207 189 168 216 124 - $PROJ_DIR$\..\..\Source\d_input.c + $PROJ_DIR$\..\..\Source\d_usb.c - ICCARM - 108 + BICOMP + 114 - BICOMP - 185 + ICCARM + 77 - ICCARM - 35 20 36 61 65 12 19 66 + BICOMP + 184 207 189 168 204 151 - BICOMP - 35 20 36 61 65 12 19 66 + ICCARM + 184 207 189 168 204 151 - $PROJ_DIR$\..\..\Source\d_ioctrl.c + $PROJ_DIR$\..\..\Source\m_sched.c - ICCARM - 165 + BICOMP + 71 - BICOMP - 119 + ICCARM + 107 - ICCARM - 37 54 203 80 56 224 22 42 35 20 36 61 208 17 + BICOMP + 184 143 207 189 168 177 224 205 212 230 152 162 202 127 130 135 150 126 181 186 194 - BICOMP - 37 54 203 56 224 22 42 35 20 36 61 208 17 + ICCARM + 184 143 207 189 168 177 224 205 212 230 152 162 202 127 130 135 150 126 181 186 194 - $PROJ_DIR$\..\..\Source\d_loader.c + $PROJ_DIR$\..\Object\c_ioctrl.s - ICCARM - 127 - - - BICOMP - 148 + AARM + 52 + + + $PROJ_DIR$\..\Object\LMS_ARM.pbd - ICCARM - 35 11 20 36 61 223 77 37 54 203 80 56 224 22 42 2 73 8 27 62 43 46 57 16 13 - - - BICOMP - 35 11 20 36 61 223 77 37 54 203 56 224 22 42 2 73 8 27 62 43 46 57 16 13 + BILINK + 60 61 105 21 106 123 69 20 222 75 95 80 96 109 117 65 9 13 53 64 19 10 74 114 71 - $PROJ_DIR$\..\..\Source\d_lowspeed.c + $PROJ_DIR$\..\Object\LMS_ARM.d79 - ICCARM - 162 - - - BICOMP - 178 + XLINK + 119 15 - ICCARM - 35 20 36 61 39 81 - - - BICOMP - 35 20 36 61 39 81 + XLINK + 92 78 100 118 99 63 87 12 52 54 101 16 17 81 6 82 14 90 113 70 22 59 103 62 67 77 107 72 - $PROJ_DIR$\..\..\Source\d_output.c + $PROJ_DIR$\..\Object\c_output.s - ICCARM - 94 + AARM + 16 + + + + $PROJ_DIR$\..\Object\Cstartup_SAM7.s + - BICOMP - 124 + AARM + 100 - + + + $PROJ_DIR$\..\Object\d_bt.s + - ICCARM - 35 20 36 61 41 60 + AARM + 6 + + + + $PROJ_DIR$\..\Object\d_input.s + - BICOMP - 35 20 36 61 41 60 + AARM + 113 - + - $PROJ_DIR$\..\..\Source\d_sound.c + $PROJ_DIR$\..\..\Source\c_led.c ICCARM - 157 - - - BICOMP - 116 + 8 ICCARM - 35 20 36 61 53 52 143 - - - BICOMP - 35 20 36 61 53 52 143 + 184 143 57 89 83 - $PROJ_DIR$\..\..\Source\d_timer.c + $PROJ_DIR$\..\..\Source\d_led.c ICCARM - 163 - - - BICOMP - 169 + 84 ICCARM - 35 20 36 61 194 201 - - - BICOMP - 35 20 36 61 194 201 + 184 207 189 168 83 5 - $PROJ_DIR$\..\..\Source\d_usb.c + $PROJ_DIR$\..\Object\c_sound.s - ICCARM - 172 + AARM + 17 - - BICOMP - 109 + + + + $PROJ_DIR$\..\Object\c_lowspeed.s + + + AARM + 101 - + + + $PROJ_DIR$\..\Object\c_display.s + - ICCARM - 35 20 36 61 67 6 + AARM + 87 + + + + $PROJ_DIR$\..\Object\d_lowspeed.s + - BICOMP - 35 20 36 61 67 6 + AARM + 59 - + - $PROJ_DIR$\..\..\Source\m_sched.c + $PROJ_DIR$\..\Object\d_ioctrl.s - ICCARM - 102 + AARM + 70 + + + + + $PROJ_DIR$\..\Object\d_usb.s + + + AARM + 77 + + + + $PROJ_DIR$\..\Object\d_loader.s + - BICOMP - 166 + AARM + 22 - + + + $PROJ_DIR$\..\Object\c_cmd.s + - ICCARM - 35 11 20 36 61 30 82 65 12 189 5 40 84 204 205 220 18 199 47 34 74 + AARM + 99 + + + + $PROJ_DIR$\..\Object\c_loader.s + - BICOMP - 35 11 20 36 61 30 82 65 12 189 5 40 84 204 205 220 18 199 47 34 74 + AARM + 54 - + + + + $PROJ_DIR$\..\Object\d_output.s + + + AARM + 103 + + + + + $PROJ_DIR$\..\Object\d_hispeed.s + + + AARM + 90 + + + + + $PROJ_DIR$\..\Object\c_input.s + + + AARM + 12 + + + + + $PROJ_DIR$\..\Object\c_comm.s + + + AARM + 63 + + + + + $PROJ_DIR$\..\Object\d_timer.s + + + AARM + 67 + + Flash Debug - $PROJ_DIR$\..\..\Source\c_cmd.c - $PROJ_DIR$\..\..\Source\d_display.h - $TOOLKIT_DIR$\inc\ctype.h - $PROJ_DIR$\..\..\Source\Font.txt - $PROJ_DIR$\..\..\Source\c_comm.c - $PROJ_DIR$\..\..\Source\c_button.iom - $PROJ_DIR$\..\..\Source\d_usb.r - $PROJ_DIR$\..\..\Source\Submenu06.rms - $TOOLKIT_DIR$\inc\xtls.h - $PROJ_DIR$\..\..\Source\Wait.txt - $PROJ_DIR$\..\..\Source\RCXintro_5.txt - $PROJ_DIR$\..\..\Source\modules.h - $PROJ_DIR$\..\..\Source\c_input.iom - $TOOLKIT_DIR$\inc\wchar.h - $PROJ_DIR$\..\..\Source\RCXintro_11.txt - $PROJ_DIR$\..\..\Source\RCXintro_8.txt - $TOOLKIT_DIR$\inc\time.h - $PROJ_DIR$\..\..\Source\d_ioctrl.r - $PROJ_DIR$\..\..\Source\c_cmd.h + $PROJ_DIR$\..\..\Source\RCXintro_3.txt $PROJ_DIR$\..\..\Source\d_input.h - $PROJ_DIR$\..\..\Source\m_sched.h - $PROJ_DIR$\..\..\Source\BtTest.inc - $TOOLKIT_DIR$\inc\DLib_Threads.h - $PROJ_DIR$\..\..\Source\Submenu05.rms - $PROJ_DIR$\..\..\Source\LowBattery.txt - $PROJ_DIR$\..\..\Source\Icons.txt - $PROJ_DIR$\..\..\Source\d_button.h - $TOOLKIT_DIR$\inc\xmtx.h - $PROJ_DIR$\..\..\Source\d_display.r - $PROJ_DIR$\..\..\Source\RCXintro_6.txt - $PROJ_DIR$\..\Include\sam7s256.c - $PROJ_DIR$\..\..\Source\RCXintro_1.txt - $TOOLKIT_DIR$\inc\stdbool.h - $PROJ_DIR$\..\Include\AT91SAM7S256.h - $PROJ_DIR$\..\..\Source\c_ioctrl.h - $PROJ_DIR$\..\..\Source\stdconst.h - $PROJ_DIR$\..\Include\sam7s256.h - $TOOLKIT_DIR$\inc\string.h - $PROJ_DIR$\..\..\Source\c_ui.iom - $PROJ_DIR$\..\..\Source\d_lowspeed.h - $PROJ_DIR$\..\..\Source\c_loader.h - $PROJ_DIR$\..\..\Source\d_output.h - $TOOLKIT_DIR$\inc\ysizet.h - $TOOLKIT_DIR$\inc\xlocaleuse.h - $PROJ_DIR$\..\..\Source\RCXintro_9.txt - $PROJ_DIR$\..\..\Source\RCXintro_4.txt - $TOOLKIT_DIR$\inc\xlocale_c.h - $PROJ_DIR$\..\..\Source\c_cmd.iom - $PROJ_DIR$\..\..\Source\d_hispeed.r - $PROJ_DIR$\..\..\Source\Test2.txt - $PROJ_DIR$\..\Include\AT91SAM7S256_inc.h - $PROJ_DIR$\..\..\Source\Ui.txt - $PROJ_DIR$\..\..\Source\d_sound.r - $PROJ_DIR$\..\..\Source\d_sound.h - $TOOLKIT_DIR$\inc\yvals.h - $PROJ_DIR$\..\..\Source\d_bt.r - $TOOLKIT_DIR$\inc\DLib_Product.h - $TOOLKIT_DIR$\inc\xtinfo.h - $PROJ_DIR$\..\..\Source\d_hispeed.h - $PROJ_DIR$\..\..\Source\Fail.txt - $PROJ_DIR$\..\..\Source\d_output.r - $PROJ_DIR$\..\Include\ioat91sam7s256.h - $TOOLKIT_DIR$\inc\stdlib.h - $PROJ_DIR$\..\..\Source\RCXintro_15.txt - $PROJ_DIR$\..\..\Source\c_comm.iom - $PROJ_DIR$\..\..\Source\c_input.h - $PROJ_DIR$\..\..\Source\d_input.r - $PROJ_DIR$\..\..\Source\d_usb.h $PROJ_DIR$\..\..\Source\Mainmenu.rms - $PROJ_DIR$\..\..\Source\d_bt.h - $PROJ_DIR$\..\..\Source\Submenu01.rms - $PROJ_DIR$\..\..\Source\Ok.txt - $PROJ_DIR$\..\..\Source\RCXintro_2.txt - $TOOLKIT_DIR$\inc\xlocale.h - $PROJ_DIR$\..\..\Source\c_ui.h - $PROJ_DIR$\..\..\Source\Devices.txt - $PROJ_DIR$\..\..\Source\RCXintro_10.txt - $PROJ_DIR$\..\..\Source\d_loader.r - $PROJ_DIR$\..\..\Source\RCXintro_14.txt - $PROJ_DIR$\..\..\Source\c_cmd_drawing.inc - $PROJ_DIR$\..\Lib\dl4tptinl8n.h - $PROJ_DIR$\..\..\Source\d_lowspeed.r - $PROJ_DIR$\..\..\Source\c_comm.h - $PROJ_DIR$\..\..\Source\Display.txt - $PROJ_DIR$\..\..\Source\c_sound.h - $PROJ_DIR$\..\..\Source\c_ioctrl.iom - $PROJ_DIR$\..\..\Source\Submenu07.rms - $PROJ_DIR$\..\..\Source\RCXintro_3.txt - $PROJ_DIR$\..\..\Source\Connections.txt - $PROJ_DIR$\..\..\Source\Test1.txt - $PROJ_DIR$\..\..\Source\RCXintro_13.txt - $PROJ_DIR$\..\..\Source\c_loader.iom - $PROJ_DIR$\..\Object\c_lowspeed.pbi - $PROJ_DIR$\..\..\Source\RCXintro_16.txt - $PROJ_DIR$\..\Object\d_output.r79 - $PROJ_DIR$\..\Object\d_display.r79 - $PROJ_DIR$\..\Object\d_led.r79 - $PROJ_DIR$\..\Object\c_cmd.pbi - $PROJ_DIR$\..\Object\c_lowspeed.r79 - $PROJ_DIR$\..\Object\m_sched.r79 - $PROJ_DIR$\..\Object\d_button.pbi - $PROJ_DIR$\..\Object\d_input.r79 - $PROJ_DIR$\..\Object\d_usb.pbi - $PROJ_DIR$\..\..\Source\d_avrcomm.h - $PROJ_DIR$\..\..\Source\c_bt.c - $PROJ_DIR$\..\Object\c_button.r79 - $PROJ_DIR$\..\Object\LMS_ARM.map + $PROJ_DIR$\..\..\Source\c_button.c + $PROJ_DIR$\..\..\Source\c_cmd.c + $PROJ_DIR$\..\..\Source\d_led.r + $PROJ_DIR$\..\Object\d_bt.r79 + $PROJ_DIR$\..\Object\c_led.r79 + $PROJ_DIR$\..\Object\d_input.pbi $PROJ_DIR$\..\Object\d_sound.pbi $PROJ_DIR$\..\Object\c_input.r79 $PROJ_DIR$\..\Object\d_ioctrl.pbi + $PROJ_DIR$\..\Object\d_display.r79 $PROJ_DIR$\..\Object\c_output.r79 $PROJ_DIR$\..\Object\c_sound.r79 $PROJ_DIR$\..\Object\d_output.pbi $PROJ_DIR$\..\Object\c_loader.pbi $PROJ_DIR$\..\Object\c_comm.pbi $PROJ_DIR$\..\Object\d_loader.r79 - $TOOLKIT_DIR$\inc\ymath.h - $PROJ_DIR$\..\..\Source\d_led.c - $PROJ_DIR$\..\Object\c_input.pbi - $PROJ_DIR$\..\..\Source\d_led.r - $PROJ_DIR$\..\..\Source\c_led.h - $PROJ_DIR$\..\..\Source\Submenu03.rms - $PROJ_DIR$\at91SAM7S256_Remap.xcl - $PROJ_DIR$\..\Object\c_sound.pbi - $PROJ_DIR$\..\Object\d_bt.pbi - $PROJ_DIR$\..\..\Source\d_sound_adpcm.r - $PROJ_DIR$\..\Object\c_cmd.r79 - $PROJ_DIR$\..\Object\c_display.pbi - $PROJ_DIR$\..\Object\c_ioctrl.r79 - $PROJ_DIR$\..\Object\d_loader.pbi - $PROJ_DIR$\..\Object\c_loader.r79 - $PROJ_DIR$\..\Object\LMS_ARM.pbd - $PROJ_DIR$\..\Object\d_display.pbi - $PROJ_DIR$\..\Object\LMS_ARM.d79 - $TOOLKIT_DIR$\inc\limits.h - $PROJ_DIR$\..\Object\d_hispeed.r79 - $PROJ_DIR$\..\Object\c_button.pbi - $PROJ_DIR$\..\Object\d_sound.r79 - $PROJ_DIR$\..\Object\c_comm.r79 - $PROJ_DIR$\..\..\Source\c_led.iom - $PROJ_DIR$\..\Object\Cstartup_SAM7.r79 - $PROJ_DIR$\..\Object\d_lowspeed.r79 - $PROJ_DIR$\..\Object\d_timer.r79 - $PROJ_DIR$\..\Object\c_ioctrl.pbi - $PROJ_DIR$\..\Object\d_ioctrl.r79 - $PROJ_DIR$\..\Object\m_sched.pbi - $PROJ_DIR$\..\Lib\dl4tptinl8n.r79 - $PROJ_DIR$\..\Object\Cstartup_SAM7.pbi - $PROJ_DIR$\..\Object\d_timer.pbi - $PROJ_DIR$\..\Object\c_output.pbi - $PROJ_DIR$\..\Object\d_usb.r79 - $PROJ_DIR$\..\Object\Cstartup.r79 - $PROJ_DIR$\..\Object\c_ui.pbi - $PROJ_DIR$\..\Object\c_ui.r79 - $PROJ_DIR$\..\Object\d_button.r79 + $PROJ_DIR$\..\..\Source\c_bt.c + $PROJ_DIR$\..\..\Source\c_net.c + $PROJ_DIR$\..\..\Source\c_comm.c + $TOOLKIT_DIR$\inc\stdlib.h + $PROJ_DIR$\..\..\Source\c_display.c + $PROJ_DIR$\..\..\Source\c_input.c + $PROJ_DIR$\..\..\Source\c_ioctrl.c + $PROJ_DIR$\..\..\Source\c_loader.c + $PROJ_DIR$\..\..\Source\c_lowspeed.c + $PROJ_DIR$\..\..\Source\c_output.c + $PROJ_DIR$\..\..\Source\c_sound.c + $PROJ_DIR$\..\..\Source\c_ui.c + $PROJ_DIR$\..\Include\Cstartup.s79 + $PROJ_DIR$\..\Include\Cstartup_SAM7.c + $PROJ_DIR$\..\..\Source\d_bt.c + $PROJ_DIR$\..\..\Source\d_button.c + $PROJ_DIR$\..\..\Source\d_display.c + $PROJ_DIR$\..\..\Source\d_hispeed.c + $PROJ_DIR$\..\..\Source\d_input.c + $PROJ_DIR$\..\..\Source\d_ioctrl.c + $PROJ_DIR$\..\..\Source\d_loader.c + $PROJ_DIR$\..\..\Source\d_lowspeed.c + $PROJ_DIR$\..\..\Source\d_output.c + $PROJ_DIR$\..\..\Source\d_sound.c + $PROJ_DIR$\..\..\Source\d_timer.c + $PROJ_DIR$\..\..\Source\d_usb.c + $PROJ_DIR$\..\..\Source\Functions.inl + $PROJ_DIR$\..\..\Source\m_sched.c + $PROJ_DIR$\..\Object\c_ioctrl.r79 + $PROJ_DIR$\..\Object\d_loader.pbi + $PROJ_DIR$\..\Object\c_loader.r79 + $PROJ_DIR$\..\Object\LMS_ARM.pbd + $PROJ_DIR$\..\..\Source\c_led.iom + $PROJ_DIR$\..\Object\LMS_ARM.d79 + $PROJ_DIR$\..\Object\d_lowspeed.r79 + $PROJ_DIR$\..\Object\Cstartup_SAM7.pbi + $PROJ_DIR$\..\Object\c_button.pbi + $PROJ_DIR$\..\Object\d_sound.r79 + $PROJ_DIR$\..\Object\c_comm.r79 $PROJ_DIR$\..\Object\d_lowspeed.pbi $PROJ_DIR$\..\Object\d_hispeed.pbi + $PROJ_DIR$\..\Object\d_timer.r79 + $PROJ_DIR$\..\Object\c_ioctrl.pbi + $PROJ_DIR$\..\Object\d_ioctrl.r79 + $PROJ_DIR$\..\Object\m_sched.pbi + $PROJ_DIR$\..\Lib\dl4tptinl8n.r79 $TOOLKIT_DIR$\inc\math.h + $PROJ_DIR$\..\Object\d_timer.pbi + $PROJ_DIR$\..\Object\c_output.pbi + $PROJ_DIR$\..\Object\d_usb.r79 + $PROJ_DIR$\..\Object\Cstartup.r79 + $PROJ_DIR$\..\Object\c_ui.pbi + $PROJ_DIR$\..\Object\c_ui.r79 + $PROJ_DIR$\..\Object\d_button.r79 $PROJ_DIR$\..\..\Source\d_led.h - $PROJ_DIR$\..\Object\d_bt.r79 - $PROJ_DIR$\..\Object\c_led.r79 - $PROJ_DIR$\..\Object\d_input.pbi - $PROJ_DIR$\..\..\Source\d_sensor.c - $PROJ_DIR$\..\..\Source\d_button.r - $PROJ_DIR$\..\..\Source\c_output.iom - $PROJ_DIR$\..\..\Source\Cursor.txt - $PROJ_DIR$\..\..\Source\c_button.h - $TOOLKIT_DIR$\inc\stdio.h - $PROJ_DIR$\..\..\Source\c_usb.iom + $PROJ_DIR$\..\Object\d_led.r79 + $PROJ_DIR$\..\..\Source\c_led.c + $PROJ_DIR$\..\..\Source\d_led.c + $PROJ_DIR$\..\Object\c_display.r79 + $PROJ_DIR$\..\..\Source\d_avrcomm.h $PROJ_DIR$\..\..\Source\c_net.h $PROJ_DIR$\..\Object\c_hispeed.r79 - $PROJ_DIR$\..\..\Source\c_net.c - $PROJ_DIR$\..\..\Source\d_net.c - $PROJ_DIR$\..\..\Source\d_motor.c - $PROJ_DIR$\..\..\Source\c_usb.h - $PROJ_DIR$\..\..\include\lib_AT91SAM7S64.h - $PROJ_DIR$\..\..\Source\c_avrcomm.h - $PROJ_DIR$\..\..\Source\c_hispeed.iom - $PROJ_DIR$\..\..\Source\c_hispeed.c - $PROJ_DIR$\..\..\Source\d_motor.h - $PROJ_DIR$\..\..\Source\d_motor.r - $PROJ_DIR$\..\..\Source\d_sensor.h - $PROJ_DIR$\..\..\Source\c_sensor.iom - $PROJ_DIR$\..\src\main.c + $PROJ_DIR$\..\..\Source\d_sensor.c + $PROJ_DIR$\..\..\Source\c_usb.c $PROJ_DIR$\..\Object\c_net.r79 - $PROJ_DIR$\..\..\Source\c_avrcomm.c - $PROJ_DIR$\..\..\Source\c_hispeed.h - $PROJ_DIR$\..\Object\c_avrcomm.r79 + $PROJ_DIR$\..\..\Source\c_bt.iom $PROJ_DIR$\..\..\Source\c_motor.c $PROJ_DIR$\..\..\Source\d_sensor.r $PROJ_DIR$\..\Object\d_avrcomm.r79 @@ -2143,959 +2040,1062 @@ $PROJ_DIR$\..\..\Source\c_sensor.c $PROJ_DIR$\..\..\Source\c_motor.iom $PROJ_DIR$\..\..\Source\d_net.h + $PROJ_DIR$\..\..\Source\c_bt.h + $PROJ_DIR$\..\..\Source\c_usb.iom + $PROJ_DIR$\SrcIAR\Cstartup_SAM7.c $PROJ_DIR$\..\Object\d_motor.r79 $PROJ_DIR$\..\Object\LMS_ARM.sim - $PROJ_DIR$\..\..\Source\c_bt.h - $PROJ_DIR$\..\..\Source\c_usb.c - $PROJ_DIR$\..\..\Source\c_bt.iom + $PROJ_DIR$\..\..\Source\d_net.c + $PROJ_DIR$\Flash_Debug\Obj\Cstartup_SAM7.r79 + $PROJ_DIR$\..\..\Source\c_led.h + $PROJ_DIR$\..\Object\d_hispeed.r79 + $PROJ_DIR$\..\..\Source\Submenu03.rms + $PROJ_DIR$\at91SAM7S256_Remap.xcl + $PROJ_DIR$\..\Object\c_sound.pbi + $PROJ_DIR$\..\Object\d_bt.pbi + $PROJ_DIR$\..\..\Source\d_sound_adpcm.r + $PROJ_DIR$\..\Object\c_cmd.r79 + $PROJ_DIR$\..\Object\Cstartup_SAM7.r79 + $PROJ_DIR$\..\Object\c_lowspeed.r79 + $PROJ_DIR$\..\Object\d_output.r79 + $PROJ_DIR$\..\Object\c_cmd.pbi + $PROJ_DIR$\..\Object\c_display.pbi + $PROJ_DIR$\..\Object\m_sched.r79 + $PROJ_DIR$\..\Object\d_button.pbi + $PROJ_DIR$\..\Object\d_input.r79 + $PROJ_DIR$\..\Object\d_usb.pbi + $PROJ_DIR$\..\Object\d_display.pbi + $PROJ_DIR$\..\Object\c_button.r79 + $PROJ_DIR$\..\Object\LMS_ARM.map + $TOOLKIT_DIR$\inc\limits.h + $PROJ_DIR$\..\Object\c_input.pbi + $PROJ_DIR$\..\..\Source\d_motor.c + $PROJ_DIR$\..\..\Source\c_usb.h + $PROJ_DIR$\..\..\Source\c_avrcomm.h + $PROJ_DIR$\..\..\Source\c_avrcomm.c + $PROJ_DIR$\..\..\Source\c_hispeed.h + $PROJ_DIR$\..\Object\c_avrcomm.r79 + $PROJ_DIR$\..\..\include\lib_AT91SAM7S64.h + $PROJ_DIR$\..\..\Source\c_sensor.h + $PROJ_DIR$\..\..\Source\c_hispeed.iom + $PROJ_DIR$\..\..\Source\c_hispeed.c + $PROJ_DIR$\..\..\Source\d_motor.h + $PROJ_DIR$\..\..\Source\d_motor.r + $PROJ_DIR$\..\..\Source\d_sensor.h + $PROJ_DIR$\..\..\Source\c_sensor.iom + $PROJ_DIR$\..\src\main.c + $PROJ_DIR$\..\..\Source\d_avrcomm.c $PROJ_DIR$\..\Include\lib_AT91SAM7S64.h $PROJ_DIR$\..\..\Source\c_motor.h $PROJ_DIR$\..\Include\AT91SAM7S64.h $PROJ_DIR$\..\Include\ioat91sam7s64.h $PROJ_DIR$\SrcIAR\Board.h $PROJ_DIR$\..\Object\main.r79 - $PROJ_DIR$\SrcIAR\Cstartup_SAM7.c - $PROJ_DIR$\Flash_Debug\Obj\Cstartup_SAM7.r79 + $PROJ_DIR$\..\..\Source\main.c + $PROJ_DIR$\Flash_Debug\Obj\Cstartup.r79 $PROJ_DIR$\..\Object\c_sensor.r79 - $PROJ_DIR$\..\..\Source\c_sensor.h - $PROJ_DIR$\..\Object\d_sensor.r79 - $PROJ_DIR$\..\..\Source\d_avrcomm.c $PROJ_DIR$\Flash_Debug\Obj\main.r79 - $PROJ_DIR$\..\..\Source\main.c + $PROJ_DIR$\..\Object\d_sensor.r79 $PROJ_DIR$\SrcIAR\Cstartup.s79 $PROJ_DIR$\..\Object\d_net.r79 - $PROJ_DIR$\Flash_Debug\Obj\Cstartup.r79 $PROJ_DIR$\..\Include\Board.h $PROJ_DIR$\..\Object\c_motor.r79 - $PROJ_DIR$\..\..\Source\c_led.c $PROJ_DIR$\..\..\include\AT91SAM7S64_inc.h $PROJ_DIR$\..\Object\c_bt.r79 $PROJ_DIR$\..\Object\c_usb.r79 $PROJ_DIR$\..\..\include\AT91SAM7S64.h - $PROJ_DIR$\..\..\Source\Running.txt - $PROJ_DIR$\..\..\Source\Info.txt - $PROJ_DIR$\..\..\Source\d_timer.h - $PROJ_DIR$\..\..\Source\Status.txt - $PROJ_DIR$\..\..\Source\Step.txt - $PROJ_DIR$\..\..\Source\c_sound.iom + $PROJ_DIR$\..\..\Source\d_timer.r $PROJ_DIR$\..\..\Source\RCXintro_12.txt $PROJ_DIR$\..\..\Source\c_cmd_bytecodes.h - $PROJ_DIR$\..\..\Source\c_display.iom - $PROJ_DIR$\..\..\Source\d_timer.r + $PROJ_DIR$\..\..\Source\c_display.h $PROJ_DIR$\..\..\Source\Submenu04.rms $TOOLKIT_DIR$\inc\DLib_Defaults.h - $PROJ_DIR$\..\..\Source\c_display.h $PROJ_DIR$\..\..\Source\c_lowspeed.h - $PROJ_DIR$\..\..\Source\RCXintro_7.txt $PROJ_DIR$\..\..\Source\Submenu02.rms $PROJ_DIR$\..\..\Source\d_ioctrl.h - $PROJ_DIR$\..\..\Source\c_input.c - $PROJ_DIR$\..\..\Source\c_ioctrl.c - $PROJ_DIR$\..\..\Source\c_loader.c - $PROJ_DIR$\..\..\Source\c_lowspeed.c - $PROJ_DIR$\..\..\Source\c_output.c - $PROJ_DIR$\..\..\Source\c_sound.c - $PROJ_DIR$\..\..\Source\c_ui.c - $PROJ_DIR$\..\Include\Cstartup.s79 - $PROJ_DIR$\..\Include\Cstartup_SAM7.c - $PROJ_DIR$\..\..\Source\d_bt.c - $PROJ_DIR$\..\..\Source\d_button.c + $PROJ_DIR$\..\..\Source\RCXintro_7.txt + $PROJ_DIR$\..\..\Source\d_button.h $PROJ_DIR$\..\..\Source\c_output.h - $PROJ_DIR$\..\..\Source\c_display.c - $PROJ_DIR$\..\..\Source\c_lowspeed.iom $PROJ_DIR$\..\..\Source\d_loader.h $TOOLKIT_DIR$\inc\xencoding_limits.h - $PROJ_DIR$\..\Object\c_display.r79 - $PROJ_DIR$\..\..\Source\c_button.c - $PROJ_DIR$\..\..\Source\d_display.c - $PROJ_DIR$\..\..\Source\d_hispeed.c - $PROJ_DIR$\..\..\Source\d_input.c - $PROJ_DIR$\..\..\Source\d_ioctrl.c - $PROJ_DIR$\..\..\Source\d_loader.c - $PROJ_DIR$\..\..\Source\d_lowspeed.c - $PROJ_DIR$\..\..\Source\d_output.c - $PROJ_DIR$\..\..\Source\d_sound.c - $PROJ_DIR$\..\..\Source\d_timer.c - $PROJ_DIR$\..\..\Source\d_usb.c - $PROJ_DIR$\..\..\Source\Functions.inl - $PROJ_DIR$\..\..\Source\m_sched.c $PROJ_DIR$\..\..\Source\Port.txt - - - [ROOT_NODE] - - - XLINK - 106 197 133 - - - - - $PROJ_DIR$\..\..\Source\c_cmd.c - - - ICCARM - 126 - - - BICOMP - 97 - - - - - ICCARM - 35 11 47 164 12 91 38 230 5 233 64 255 20 36 61 18 232 227 167 54 236 80 56 257 22 42 37 62 157 116 134 79 - - - BICOMP - 35 11 47 164 12 91 38 230 5 233 64 255 20 36 61 18 232 227 167 54 236 56 257 22 42 37 62 157 116 134 79 - - - - - $PROJ_DIR$\..\..\Source\c_comm.c - - - ICCARM - 138 - - - BICOMP - 114 - - - - - ICCARM - 35 11 64 91 85 38 47 233 82 67 58 69 37 54 236 80 56 257 22 42 2 73 8 27 62 43 46 57 16 13 - - - BICOMP - 35 11 64 91 85 38 47 233 82 67 58 69 37 54 236 56 257 22 42 2 73 8 27 62 43 46 57 16 13 - - - - - $PROJ_DIR$\..\..\Source\c_bt.c - - - ICCARM - 222 - - - - - ICCARM - 35 11 200 198 69 47 - - - - - $PROJ_DIR$\..\..\Source\d_led.c - - - ICCARM - 96 - - - - - ICCARM - 35 20 36 61 158 119 - - - + $PROJ_DIR$\..\..\Source\c_lowspeed.iom + $PROJ_DIR$\..\..\Source\Icons.txt + $PROJ_DIR$\..\..\Source\d_bt.r + $TOOLKIT_DIR$\inc\DLib_Product.h + $PROJ_DIR$\..\..\Source\modules.h + $TOOLKIT_DIR$\inc\time.h + $PROJ_DIR$\..\..\Source\LowBattery.txt + $PROJ_DIR$\..\..\Source\d_output.h + $PROJ_DIR$\..\..\Source\d_ioctrl.r + $PROJ_DIR$\..\..\Source\RCXintro_8.txt + $PROJ_DIR$\..\..\Source\d_display.r + $PROJ_DIR$\..\..\Source\c_cmd.h + $PROJ_DIR$\..\..\Source\d_usb.r + $PROJ_DIR$\..\..\Source\c_button.iom + $TOOLKIT_DIR$\inc\xmtx.h + $PROJ_DIR$\..\..\Source\d_display.h + $TOOLKIT_DIR$\inc\ctype.h + $PROJ_DIR$\..\..\Source\BtTest.inc + $TOOLKIT_DIR$\inc\DLib_Threads.h + $PROJ_DIR$\..\..\Source\Submenu05.rms + $PROJ_DIR$\..\..\Source\Wait.txt + $TOOLKIT_DIR$\inc\xtls.h + $TOOLKIT_DIR$\inc\xlocaleuse.h + $PROJ_DIR$\..\..\Source\c_loader.h + $TOOLKIT_DIR$\inc\ysizet.h + $PROJ_DIR$\..\..\Source\Fail.txt + $PROJ_DIR$\..\..\Source\RCXintro_9.txt + $PROJ_DIR$\..\Include\AT91SAM7S256.h + $PROJ_DIR$\..\..\Source\d_output.r + $PROJ_DIR$\..\Include\ioat91sam7s256.h + $PROJ_DIR$\..\..\Source\d_lowspeed.h + $TOOLKIT_DIR$\inc\stdbool.h + $PROJ_DIR$\..\..\Source\Ui.txt + $PROJ_DIR$\..\..\Source\d_sound.r + $PROJ_DIR$\..\..\Source\d_sound.h + $TOOLKIT_DIR$\inc\yvals.h + $TOOLKIT_DIR$\inc\xlocale_c.h + $PROJ_DIR$\..\..\Source\RCXintro_6.txt + $PROJ_DIR$\..\Include\sam7s256.c + $PROJ_DIR$\..\..\Source\RCXintro_1.txt + $PROJ_DIR$\..\..\Source\d_hispeed.h + $TOOLKIT_DIR$\inc\xtinfo.h + $PROJ_DIR$\..\..\Source\c_cmd.iom + $PROJ_DIR$\..\..\Source\d_hispeed.r + $PROJ_DIR$\..\..\Source\RCXintro_4.txt + $PROJ_DIR$\..\..\Source\stdconst.h + $TOOLKIT_DIR$\inc\string.h + $PROJ_DIR$\..\..\Source\c_ioctrl.h + $PROJ_DIR$\..\..\Source\RCXintro_11.txt + $TOOLKIT_DIR$\inc\wchar.h + $PROJ_DIR$\..\Include\sam7s256.h + $PROJ_DIR$\..\..\Source\Test2.txt + $PROJ_DIR$\..\Include\AT91SAM7S256_inc.h + $PROJ_DIR$\..\..\Source\c_ui.iom + $PROJ_DIR$\..\..\Source\Submenu01.rms + $PROJ_DIR$\..\..\Source\c_ui.h + $PROJ_DIR$\..\..\Source\Ok.txt + $TOOLKIT_DIR$\inc\xlocale.h + $PROJ_DIR$\..\..\Source\Devices.txt + $PROJ_DIR$\..\..\Source\RCXintro_2.txt + $PROJ_DIR$\..\..\Source\d_loader.r + $PROJ_DIR$\..\..\Source\RCXintro_10.txt + $PROJ_DIR$\..\..\Source\Submenu06.rms + $PROJ_DIR$\..\..\Source\c_sound.h + $PROJ_DIR$\..\..\Source\Font.txt + $PROJ_DIR$\..\..\Source\d_usb.h + $PROJ_DIR$\..\..\Source\c_input.h + $PROJ_DIR$\..\..\Source\d_input.r + $PROJ_DIR$\..\..\Source\m_sched.h + $PROJ_DIR$\..\..\Source\RCXintro_15.txt + $PROJ_DIR$\..\..\Source\d_lowspeed.r + $PROJ_DIR$\..\..\Source\c_ioctrl.iom + $PROJ_DIR$\..\..\Source\Submenu07.rms + $PROJ_DIR$\..\..\Source\c_input.iom + $PROJ_DIR$\..\..\Source\RCXintro_14.txt + $PROJ_DIR$\..\..\Source\RCXintro_5.txt + $PROJ_DIR$\..\..\Source\d_bt.h + $PROJ_DIR$\..\..\Source\d_timer.h + $TOOLKIT_DIR$\inc\ymath.h + $PROJ_DIR$\..\..\Source\Status.txt + $PROJ_DIR$\..\..\Source\Step.txt + $PROJ_DIR$\..\..\Source\c_sound.iom + $PROJ_DIR$\..\..\Source\c_display.iom + $PROJ_DIR$\..\Object\c_lowspeed.pbi + $PROJ_DIR$\..\..\Source\c_comm.iom + $PROJ_DIR$\..\..\Source\c_comm.h + $PROJ_DIR$\..\..\Source\c_cmd_drawing.inc + $PROJ_DIR$\..\Lib\dl4tptinl8n.h + $PROJ_DIR$\..\..\Source\Display.txt + $PROJ_DIR$\..\..\Source\Cursor.txt + $PROJ_DIR$\..\..\Source\RCXintro_13.txt + $PROJ_DIR$\..\..\Source\c_button.h + $PROJ_DIR$\..\..\Source\RCXintro_16.txt + $PROJ_DIR$\..\..\Source\Running.txt + $TOOLKIT_DIR$\inc\stdio.h + $PROJ_DIR$\..\..\Source\Info.txt + $PROJ_DIR$\..\..\Source\Test1.txt + $PROJ_DIR$\..\..\Source\c_loader.iom + $PROJ_DIR$\..\..\Source\d_button.r + $PROJ_DIR$\..\..\Source\Connections.txt + $PROJ_DIR$\..\..\Source\c_output.iom + - $PROJ_DIR$\..\Object\LMS_ARM.pbd - + $PROJ_DIR$\..\..\Source\c_button.c + - BILINK - 147 136 97 114 127 118 143 113 92 149 123 152 124 100 132 156 161 109 129 155 112 107 148 102 145 + BICOMP + 55 - - - - $PROJ_DIR$\..\Object\LMS_ARM.d79 - - XLINK - 106 197 + ICCARM + 118 - XLINK - 122 151 140 105 126 138 258 108 128 130 98 110 111 153 159 154 95 135 101 144 115 141 94 137 142 150 99 146 + BICOMP + 217 176 263 185 167 + + + ICCARM + 217 176 263 185 167 - $PROJ_DIR$\..\..\Source\d_sensor.c + $PROJ_DIR$\..\..\Source\c_cmd.c + + BICOMP + 111 + ICCARM - 211 + 107 + + BICOMP + 217 176 214 272 245 269 225 253 185 254 256 172 240 222 201 183 159 249 266 207 162 175 170 190 196 218 22 65 250 120 258 + ICCARM - 35 20 36 204 181 189 + 217 176 214 272 245 269 225 253 185 254 256 172 240 222 201 183 159 249 266 207 162 259 175 170 190 196 218 22 65 250 120 258 - $PROJ_DIR$\..\..\Source\c_net.c + [ROOT_NODE] - ICCARM - 184 + XLINK + 119 97 52 - - - ICCARM - 35 169 195 - - - $PROJ_DIR$\..\..\Source\d_net.c + $PROJ_DIR$\..\..\Source\c_bt.c ICCARM - 216 + 154 ICCARM - 35 20 36 204 195 191 + 217 176 84 93 248 214 - $PROJ_DIR$\..\..\Source\d_motor.c + $PROJ_DIR$\..\..\Source\c_net.c ICCARM - 196 + 83 ICCARM - 35 20 36 204 179 180 + 217 79 92 - $PROJ_DIR$\..\..\Source\c_hispeed.c + $PROJ_DIR$\..\..\Source\c_comm.c + + BICOMP + 17 + ICCARM - 170 + 57 + + BICOMP + 217 176 256 269 243 225 214 254 257 237 212 248 218 207 162 175 170 190 196 188 229 193 186 22 194 208 213 177 221 + ICCARM - 35 11 177 186 58 + 217 176 256 269 243 225 214 254 257 237 212 248 218 207 162 259 175 170 190 196 188 229 193 186 22 194 208 213 177 221 - $PROJ_DIR$\..\src\main.c + $PROJ_DIR$\..\..\Source\c_display.c + + BICOMP + 112 + ICCARM - 213 + 77 + + BICOMP + 218 207 162 175 170 190 196 217 176 254 160 187 + ICCARM - 205 224 175 + 218 207 162 259 175 170 190 196 217 176 254 160 187 - $PROJ_DIR$\..\..\Source\c_avrcomm.c + $PROJ_DIR$\..\..\Source\c_input.c + + BICOMP + 121 + ICCARM - 187 + 10 + + BICOMP + 217 176 238 245 1 272 269 218 207 162 175 170 190 196 + ICCARM - 35 176 103 + 217 176 238 245 1 272 269 218 207 162 259 175 170 190 196 - $PROJ_DIR$\..\..\Source\c_motor.c + $PROJ_DIR$\..\..\Source\c_ioctrl.c + + BICOMP + 61 + ICCARM - 219 + 47 + + BICOMP + 217 176 243 219 165 + ICCARM - 35 11 194 202 179 + 217 176 243 219 165 - $PROJ_DIR$\..\..\Source\c_sensor.c + $PROJ_DIR$\..\..\Source\c_loader.c + + BICOMP + 16 + ICCARM - 209 + 49 + + BICOMP + 217 176 269 243 169 195 218 207 162 175 170 190 196 + ICCARM - 35 11 182 210 181 + 217 176 269 243 169 195 218 207 162 259 175 170 190 196 - $PROJ_DIR$\..\..\Source\c_usb.c + $PROJ_DIR$\..\..\Source\c_lowspeed.c + + BICOMP + 255 + ICCARM - 223 + 109 + + BICOMP + 217 176 172 245 163 202 + ICCARM - 35 11 168 174 67 + 217 176 172 245 163 202 - $PROJ_DIR$\SrcIAR\Cstartup_SAM7.c + $PROJ_DIR$\..\..\Source\c_output.c + + BICOMP + 67 + ICCARM - 208 + 13 + + BICOMP + 266 207 162 175 170 190 196 203 217 176 272 168 179 254 + ICCARM - 205 224 175 + 266 207 162 259 175 170 190 196 203 217 176 272 168 179 254 - $PROJ_DIR$\..\..\Source\d_avrcomm.c + $PROJ_DIR$\..\..\Source\c_sound.c + + BICOMP + 104 + ICCARM - 190 + 14 + + BICOMP + 22 207 162 175 170 190 196 218 217 176 253 269 235 206 + ICCARM - 35 20 36 204 103 192 + 22 207 162 259 175 170 190 196 218 217 176 253 269 235 206 - $PROJ_DIR$\..\..\Source\main.c + $PROJ_DIR$\..\..\Source\c_ui.c + + BICOMP + 70 + ICCARM - 206 + 71 + + BICOMP + 266 207 162 175 170 190 196 218 188 229 193 186 22 194 208 213 177 221 217 176 225 227 240 222 201 254 269 185 253 245 272 243 214 256 172 260 178 236 252 261 265 171 228 192 197 267 173 211 231 0 216 247 209 166 181 198 233 220 158 262 246 241 264 251 230 271 204 2 226 164 102 161 191 234 244 45 189 268 223 + ICCARM - 218 203 201 + 266 207 162 259 175 170 190 196 218 188 229 193 186 22 194 208 213 177 221 217 176 225 227 240 222 201 254 269 185 253 245 272 243 214 256 172 260 178 236 252 261 265 171 228 192 197 267 173 211 231 0 216 247 209 166 181 198 233 220 158 262 246 241 264 251 230 271 204 2 226 164 102 161 191 234 244 45 189 268 223 - $PROJ_DIR$\SrcIAR\Cstartup.s79 + $PROJ_DIR$\..\Include\Cstartup.s79 AARM - 217 + 69 AARM - 221 + 224 - $PROJ_DIR$\..\..\Source\c_led.c + $PROJ_DIR$\..\Include\Cstartup_SAM7.c + + BICOMP + 54 + ICCARM - 160 + 108 + + BICOMP + 199 + ICCARM - 35 11 139 120 158 + 199 - $PROJ_DIR$\..\..\Source\c_input.c + $PROJ_DIR$\..\..\Source\d_bt.c - ICCARM - 108 + BICOMP + 105 - BICOMP - 118 + ICCARM + 6 - ICCARM - 35 11 65 12 19 164 91 37 54 236 80 56 257 22 42 + BICOMP + 217 176 240 222 201 248 174 218 207 162 175 170 190 196 - BICOMP - 35 11 65 12 19 164 91 37 54 236 56 257 22 42 + ICCARM + 217 176 240 222 201 248 174 218 207 162 259 175 170 190 196 - $PROJ_DIR$\..\..\Source\c_ioctrl.c + $PROJ_DIR$\..\..\Source\d_button.c - ICCARM - 128 + BICOMP + 114 - BICOMP - 143 + ICCARM + 72 - ICCARM - 35 11 85 34 241 + BICOMP + 217 240 222 201 167 270 - BICOMP - 35 11 85 34 241 + ICCARM + 217 240 222 201 167 270 - $PROJ_DIR$\..\..\Source\c_loader.c + $PROJ_DIR$\..\..\Source\d_display.c - ICCARM - 130 + BICOMP + 117 - BICOMP - 113 + ICCARM + 12 - ICCARM - 35 11 91 85 256 40 37 54 236 80 56 257 22 42 + BICOMP + 217 240 222 201 187 182 - BICOMP - 35 11 91 85 256 40 37 54 236 56 257 22 42 + ICCARM + 217 240 222 201 187 182 - $PROJ_DIR$\..\..\Source\c_lowspeed.c + $PROJ_DIR$\..\..\Source\d_hispeed.c - ICCARM - 98 + BICOMP + 59 - BICOMP - 92 + ICCARM + 101 - ICCARM - 35 11 255 12 238 39 + BICOMP + 217 240 222 201 212 215 - BICOMP - 35 11 255 12 238 39 + ICCARM + 217 240 222 201 212 215 - $PROJ_DIR$\..\..\Source\c_output.c + $PROJ_DIR$\..\..\Source\d_input.c - ICCARM - 110 + BICOMP + 8 - BICOMP - 149 + ICCARM + 115 - ICCARM - 167 54 236 80 56 257 22 42 32 35 11 164 253 41 233 + BICOMP + 217 240 222 201 238 245 1 239 - BICOMP - 167 54 236 56 257 22 42 32 35 11 164 253 41 233 + ICCARM + 217 240 222 201 238 245 1 239 - $PROJ_DIR$\..\..\Source\c_sound.c + $PROJ_DIR$\..\..\Source\d_ioctrl.c - ICCARM - 111 + BICOMP + 11 - BICOMP - 123 + ICCARM + 62 - ICCARM - 62 54 236 80 56 257 22 42 37 35 11 230 91 84 53 + BICOMP + 218 207 162 175 170 190 196 217 240 222 201 165 180 - BICOMP - 62 54 236 56 257 22 42 37 35 11 230 91 84 53 + ICCARM + 218 207 162 259 175 170 190 196 217 240 222 201 165 180 - $PROJ_DIR$\..\..\Source\c_ui.c + $PROJ_DIR$\..\..\Source\d_loader.c - ICCARM - 153 + BICOMP + 48 - BICOMP - 152 + ICCARM + 18 - ICCARM - 167 54 236 80 56 257 22 42 37 2 73 8 27 62 43 46 57 16 13 35 11 38 74 20 36 61 233 91 5 230 12 164 85 47 64 255 83 24 3 229 165 225 272 71 9 59 226 25 31 72 87 45 10 29 239 15 44 76 14 231 90 78 63 93 228 75 88 51 68 70 240 121 235 23 7 86 270 21 89 49 + BICOMP + 217 176 240 222 201 169 232 218 207 162 175 170 190 196 188 229 193 186 22 194 208 213 177 221 - BICOMP - 167 54 236 56 257 22 42 37 2 73 8 27 62 43 46 57 16 13 35 11 38 74 20 36 61 233 91 5 230 12 164 85 47 64 255 83 24 3 229 165 225 272 71 9 59 226 25 31 72 87 45 10 29 239 15 44 76 14 231 90 78 63 93 228 75 88 51 68 70 240 121 235 23 7 86 270 21 89 49 + ICCARM + 217 176 240 222 201 169 232 218 207 162 259 175 170 190 196 188 229 193 186 22 194 208 213 177 221 - $PROJ_DIR$\..\Include\Cstartup.s79 + $PROJ_DIR$\..\..\Source\d_lowspeed.c - AARM - 151 + BICOMP + 58 + + + ICCARM + 53 - AARM - 50 + BICOMP + 217 240 222 201 202 242 + + + ICCARM + 217 240 222 201 202 242 - $PROJ_DIR$\..\Include\Cstartup_SAM7.c + $PROJ_DIR$\..\..\Source\d_output.c - ICCARM - 140 + BICOMP + 15 - BICOMP - 147 + ICCARM + 110 - ICCARM - 33 + BICOMP + 217 240 222 201 179 200 - BICOMP - 33 + ICCARM + 217 240 222 201 179 200 - $PROJ_DIR$\..\..\Source\d_bt.c + $PROJ_DIR$\..\..\Source\d_sound.c - ICCARM - 159 + BICOMP + 9 - BICOMP - 124 + ICCARM + 56 - ICCARM - 35 11 20 36 61 69 55 37 54 236 80 56 257 22 42 + BICOMP + 217 240 222 201 206 205 106 - BICOMP - 35 11 20 36 61 69 55 37 54 236 56 257 22 42 + ICCARM + 217 240 222 201 206 205 106 - $PROJ_DIR$\..\..\Source\d_button.c + $PROJ_DIR$\..\..\Source\d_timer.c - ICCARM - 154 + BICOMP + 66 - BICOMP - 100 + ICCARM + 60 - ICCARM - 35 20 36 61 26 163 + BICOMP + 217 240 222 201 249 157 - BICOMP - 35 20 36 61 26 163 + ICCARM + 217 240 222 201 249 157 - $PROJ_DIR$\..\..\Source\c_display.c + $PROJ_DIR$\..\..\Source\d_usb.c - ICCARM - 258 + BICOMP + 116 - BICOMP - 127 + ICCARM + 68 - ICCARM - 37 54 236 80 56 257 22 42 35 11 233 237 1 + BICOMP + 217 240 222 201 237 184 - BICOMP - 37 54 236 56 257 22 42 35 11 233 237 1 + ICCARM + 217 240 222 201 237 184 - $PROJ_DIR$\..\..\Source\c_button.c + $PROJ_DIR$\..\..\Source\m_sched.c - ICCARM - 105 + BICOMP + 63 - BICOMP - 136 + ICCARM + 113 - ICCARM - 35 11 166 5 26 + BICOMP + 217 176 240 222 201 210 257 238 245 263 185 195 235 160 163 168 183 159 214 219 227 - BICOMP - 35 11 166 5 26 + ICCARM + 217 176 240 222 201 210 257 238 245 263 185 195 235 160 163 168 183 159 214 219 227 - $PROJ_DIR$\..\..\Source\d_display.c - + $PROJ_DIR$\..\Object\LMS_ARM.pbd + - ICCARM - 95 + BILINK + 54 55 111 17 112 121 61 16 255 67 104 70 105 114 117 59 8 11 48 58 15 9 66 116 63 + + + + $PROJ_DIR$\..\Object\LMS_ARM.d79 + - BICOMP - 132 + XLINK + 119 97 - ICCARM - 35 20 36 61 1 28 - - - BICOMP - 35 20 36 61 1 28 + XLINK + 103 69 108 118 107 57 77 10 47 49 109 13 14 71 6 72 12 101 115 62 18 53 110 56 60 68 113 64 - $PROJ_DIR$\..\..\Source\d_hispeed.c + $PROJ_DIR$\..\..\Source\c_led.c ICCARM - 135 - - - BICOMP - 156 + 7 ICCARM - 35 20 36 61 58 48 - - - BICOMP - 35 20 36 61 58 48 + 217 176 51 100 73 - $PROJ_DIR$\..\..\Source\d_input.c + $PROJ_DIR$\..\..\Source\d_led.c ICCARM - 101 - - - BICOMP - 161 + 74 ICCARM - 35 20 36 61 65 12 19 66 - - - BICOMP - 35 20 36 61 65 12 19 66 + 217 240 222 201 73 5 - $PROJ_DIR$\..\..\Source\d_ioctrl.c + $PROJ_DIR$\..\..\Source\d_sensor.c ICCARM - 144 - - - BICOMP - 109 + 148 ICCARM - 37 54 236 80 56 257 22 42 35 20 36 61 241 17 - - - BICOMP - 37 54 236 56 257 22 42 35 20 36 61 241 17 + 217 240 222 141 134 86 - $PROJ_DIR$\..\..\Source\d_loader.c + $PROJ_DIR$\..\..\Source\c_usb.c ICCARM - 115 - - - BICOMP - 129 + 155 ICCARM - 35 11 20 36 61 256 77 37 54 236 80 56 257 22 42 2 73 8 27 62 43 46 57 16 13 - - - BICOMP - 35 11 20 36 61 256 77 37 54 236 56 257 22 42 2 73 8 27 62 43 46 57 16 13 + 217 176 94 123 237 - $PROJ_DIR$\..\..\Source\d_lowspeed.c + $PROJ_DIR$\..\..\Source\c_motor.c ICCARM - 141 - - - BICOMP - 155 + 152 ICCARM - 35 20 36 61 39 81 - - - BICOMP - 35 20 36 61 39 81 + 217 176 91 139 132 - $PROJ_DIR$\..\..\Source\d_output.c + $PROJ_DIR$\..\..\Source\c_sensor.c ICCARM - 94 - - - BICOMP - 112 + 146 ICCARM - 35 20 36 61 41 60 - - - BICOMP - 35 20 36 61 41 60 + 217 176 135 129 134 - $PROJ_DIR$\..\..\Source\d_sound.c + $PROJ_DIR$\SrcIAR\Cstartup_SAM7.c ICCARM - 137 - - - BICOMP - 107 + 99 ICCARM - 35 20 36 61 53 52 125 - - - BICOMP - 35 20 36 61 53 52 125 + 142 156 128 - $PROJ_DIR$\..\..\Source\d_timer.c + $PROJ_DIR$\..\..\Source\d_net.c ICCARM - 142 - - - BICOMP - 148 + 150 ICCARM - 35 20 36 61 227 234 - - - BICOMP - 35 20 36 61 227 234 + 217 240 222 141 92 88 - $PROJ_DIR$\..\..\Source\d_usb.c + $PROJ_DIR$\..\..\Source\d_motor.c ICCARM - 150 + 96 + + - BICOMP - 102 + ICCARM + 217 240 222 141 132 133 + + + + + $PROJ_DIR$\..\..\Source\c_avrcomm.c + + + ICCARM + 127 ICCARM - 35 20 36 61 67 6 + 217 124 78 + + + + $PROJ_DIR$\..\..\Source\c_hispeed.c + - BICOMP - 35 20 36 61 67 6 + ICCARM + 80 + + + + + ICCARM + 217 176 130 126 212 - $PROJ_DIR$\..\..\Source\m_sched.c + $PROJ_DIR$\..\src\main.c ICCARM - 99 + 147 + + - BICOMP - 145 + ICCARM + 142 156 128 + + + + + $PROJ_DIR$\..\..\Source\d_avrcomm.c + + + ICCARM + 87 + + + + + ICCARM + 217 240 222 141 78 89 + + + + + $PROJ_DIR$\..\..\Source\main.c + + + ICCARM + 143 ICCARM - 35 11 20 36 61 30 82 65 12 166 5 40 84 237 238 253 18 232 47 34 74 + 151 140 138 + + + + $PROJ_DIR$\SrcIAR\Cstartup.s79 + - BICOMP - 35 11 20 36 61 30 82 65 12 166 5 40 84 237 238 253 18 232 47 34 74 + AARM + 145 + + + + + AARM + 153 @@ -3103,151 +3103,118 @@ RAM_Debug + $PROJ_DIR$\..\..\Source\RCXintro_3.txt + $PROJ_DIR$\..\..\Source\d_input.h + $PROJ_DIR$\..\..\Source\Mainmenu.rms + $PROJ_DIR$\..\..\Source\c_button.c $PROJ_DIR$\..\..\Source\c_cmd.c - $PROJ_DIR$\..\..\Source\d_display.h - $TOOLKIT_DIR$\inc\ctype.h - $PROJ_DIR$\..\..\Source\Font.txt + $PROJ_DIR$\..\..\Source\d_led.r $PROJ_DIR$\..\..\Source\c_comm.c - $PROJ_DIR$\..\..\Source\c_button.iom - $PROJ_DIR$\..\..\Source\d_usb.r - $PROJ_DIR$\..\..\Source\Submenu06.rms - $TOOLKIT_DIR$\inc\xtls.h - $PROJ_DIR$\..\..\Source\Wait.txt - $PROJ_DIR$\..\..\Source\RCXintro_5.txt - $PROJ_DIR$\..\..\Source\modules.h - $PROJ_DIR$\..\..\Source\c_input.iom - $TOOLKIT_DIR$\inc\wchar.h - $PROJ_DIR$\..\..\Source\RCXintro_11.txt - $PROJ_DIR$\..\..\Source\RCXintro_8.txt - $TOOLKIT_DIR$\inc\time.h - $PROJ_DIR$\..\..\Source\d_ioctrl.r - $PROJ_DIR$\..\..\Source\c_cmd.h - $PROJ_DIR$\..\..\Source\d_input.h - $PROJ_DIR$\..\..\Source\m_sched.h - $PROJ_DIR$\..\..\Source\BtTest.inc - $TOOLKIT_DIR$\inc\DLib_Threads.h - $PROJ_DIR$\..\..\Source\Submenu05.rms - $PROJ_DIR$\..\..\Source\LowBattery.txt - $PROJ_DIR$\..\..\Source\Icons.txt - $PROJ_DIR$\..\..\Source\d_button.h - $TOOLKIT_DIR$\inc\xmtx.h - $PROJ_DIR$\..\..\Source\d_display.r - $PROJ_DIR$\..\..\Source\RCXintro_6.txt - $PROJ_DIR$\..\Include\sam7s256.c - $PROJ_DIR$\..\..\Source\RCXintro_1.txt - $TOOLKIT_DIR$\inc\stdbool.h - $PROJ_DIR$\..\Include\AT91SAM7S256.h - $PROJ_DIR$\..\..\Source\c_ioctrl.h - $PROJ_DIR$\..\..\Source\stdconst.h - $PROJ_DIR$\..\Include\sam7s256.h - $TOOLKIT_DIR$\inc\string.h - $PROJ_DIR$\..\..\Source\c_ui.iom - $PROJ_DIR$\..\..\Source\d_lowspeed.h - $PROJ_DIR$\..\..\Source\c_loader.h - $PROJ_DIR$\..\..\Source\d_output.h - $TOOLKIT_DIR$\inc\ysizet.h - $TOOLKIT_DIR$\inc\xlocaleuse.h - $PROJ_DIR$\..\..\Source\RCXintro_9.txt - $PROJ_DIR$\..\..\Source\RCXintro_4.txt - $TOOLKIT_DIR$\inc\xlocale_c.h - $PROJ_DIR$\..\..\Source\c_cmd.iom - $PROJ_DIR$\..\..\Source\d_hispeed.r - $PROJ_DIR$\..\..\Source\Test2.txt - $PROJ_DIR$\..\Include\AT91SAM7S256_inc.h - $PROJ_DIR$\..\..\Source\Ui.txt - $PROJ_DIR$\..\..\Source\d_sound.r - $PROJ_DIR$\..\..\Source\d_sound.h - $TOOLKIT_DIR$\inc\yvals.h - $PROJ_DIR$\..\..\Source\d_bt.r - $TOOLKIT_DIR$\inc\DLib_Product.h - $TOOLKIT_DIR$\inc\xtinfo.h - $PROJ_DIR$\..\..\Source\d_hispeed.h - $PROJ_DIR$\..\..\Source\Fail.txt - $PROJ_DIR$\..\..\Source\d_output.r - $PROJ_DIR$\..\Include\ioat91sam7s256.h $TOOLKIT_DIR$\inc\stdlib.h - $PROJ_DIR$\..\..\Source\RCXintro_15.txt - $PROJ_DIR$\..\..\Source\c_comm.iom - $PROJ_DIR$\..\..\Source\c_input.h - $PROJ_DIR$\..\..\Source\d_input.r - $PROJ_DIR$\..\..\Source\d_usb.h - $PROJ_DIR$\..\..\Source\Mainmenu.rms - $PROJ_DIR$\..\..\Source\d_bt.h - $PROJ_DIR$\..\..\Source\Submenu01.rms - $PROJ_DIR$\..\..\Source\Ok.txt - $PROJ_DIR$\..\..\Source\RCXintro_2.txt - $TOOLKIT_DIR$\inc\xlocale.h - $PROJ_DIR$\..\..\Source\c_ui.h - $PROJ_DIR$\..\..\Source\Devices.txt - $PROJ_DIR$\..\..\Source\RCXintro_10.txt - $PROJ_DIR$\..\..\Source\d_loader.r - $PROJ_DIR$\..\..\Source\RCXintro_14.txt - $PROJ_DIR$\..\..\Source\c_cmd_drawing.inc - $PROJ_DIR$\..\..\Source\d_lowspeed.r - $PROJ_DIR$\..\..\Source\c_comm.h - $PROJ_DIR$\..\..\Source\Display.txt - $PROJ_DIR$\..\..\Source\c_sound.h - $PROJ_DIR$\..\..\Source\c_ioctrl.iom - $PROJ_DIR$\..\..\Source\Submenu07.rms - $PROJ_DIR$\..\..\Source\RCXintro_3.txt - $PROJ_DIR$\..\..\Source\Connections.txt - $PROJ_DIR$\..\..\Source\Test1.txt - $PROJ_DIR$\..\..\Source\RCXintro_13.txt - $PROJ_DIR$\..\..\Source\c_loader.iom - $PROJ_DIR$\..\..\Source\RCXintro_16.txt - $PROJ_DIR$\RAM_Debug\Obj\c_button.r79 - $TOOLKIT_DIR$\inc\ymath.h + $PROJ_DIR$\..\..\Source\c_display.c + $PROJ_DIR$\..\..\Source\c_input.c + $PROJ_DIR$\..\..\Source\c_ioctrl.c + $PROJ_DIR$\..\..\Source\c_loader.c + $PROJ_DIR$\..\..\Source\c_lowspeed.c + $PROJ_DIR$\..\..\Source\c_output.c + $PROJ_DIR$\..\..\Source\c_sound.c + $PROJ_DIR$\..\..\Source\c_ui.c + $PROJ_DIR$\..\Include\Cstartup.s79 + $PROJ_DIR$\..\Include\Cstartup_SAM7.c + $PROJ_DIR$\..\..\Source\d_bt.c + $PROJ_DIR$\..\..\Source\d_button.c + $PROJ_DIR$\..\..\Source\d_display.c + $PROJ_DIR$\..\..\Source\d_hispeed.c + $PROJ_DIR$\..\..\Source\d_input.c + $PROJ_DIR$\..\..\Source\d_ioctrl.c + $PROJ_DIR$\..\..\Source\d_loader.c + $PROJ_DIR$\..\..\Source\d_lowspeed.c + $PROJ_DIR$\..\..\Source\d_output.c + $PROJ_DIR$\..\..\Source\d_sound.c + $PROJ_DIR$\..\..\Source\d_timer.c + $PROJ_DIR$\..\..\Source\d_usb.c + $PROJ_DIR$\..\..\Source\Functions.inl + $PROJ_DIR$\..\..\Source\m_sched.c + $PROJ_DIR$\..\..\Source\c_led.iom + $TOOLKIT_DIR$\inc\math.h + $PROJ_DIR$\..\..\Source\d_led.h + $PROJ_DIR$\..\..\Source\c_led.c $PROJ_DIR$\..\..\Source\d_led.c - $PROJ_DIR$\..\..\Source\d_led.r + $PROJ_DIR$\..\..\Source\d_sensor.c + $PROJ_DIR$\..\..\Source\c_motor.c + $PROJ_DIR$\..\..\Source\d_sensor.r + $PROJ_DIR$\..\..\Source\c_sensor.c + $PROJ_DIR$\..\..\Source\c_motor.iom + $PROJ_DIR$\SrcIAR\Cstartup_SAM7.c $PROJ_DIR$\..\..\Source\c_led.h $PROJ_DIR$\..\..\Source\Submenu03.rms $PROJ_DIR$\..\..\Source\d_sound_adpcm.r $TOOLKIT_DIR$\inc\limits.h - $PROJ_DIR$\..\..\Source\c_led.iom - $TOOLKIT_DIR$\inc\math.h - $PROJ_DIR$\..\..\Source\d_led.h - $PROJ_DIR$\..\..\Source\d_sensor.c - $PROJ_DIR$\..\..\Source\d_button.r - $PROJ_DIR$\..\..\Source\c_output.iom - $PROJ_DIR$\..\..\Source\Cursor.txt - $PROJ_DIR$\..\..\Source\c_button.h - $TOOLKIT_DIR$\inc\stdio.h $PROJ_DIR$\..\..\Source\d_motor.c + $PROJ_DIR$\..\..\Source\c_sensor.h $PROJ_DIR$\..\..\Source\d_motor.h $PROJ_DIR$\..\..\Source\d_motor.r $PROJ_DIR$\..\..\Source\d_sensor.h $PROJ_DIR$\..\..\Source\c_sensor.iom $PROJ_DIR$\..\src\main.c - $PROJ_DIR$\..\..\Source\c_motor.c - $PROJ_DIR$\..\..\Source\d_sensor.r - $PROJ_DIR$\..\..\Source\c_sensor.c - $PROJ_DIR$\..\..\Source\c_motor.iom $PROJ_DIR$\..\..\Source\c_motor.h $PROJ_DIR$\..\Include\ioat91sam7s64.h - $PROJ_DIR$\SrcIAR\Cstartup_SAM7.c - $PROJ_DIR$\..\..\Source\c_sensor.h $PROJ_DIR$\..\..\Source\main.c $PROJ_DIR$\SrcIAR\Cstartup.s79 - $PROJ_DIR$\RAM_Debug\Obj\d_hispeed.r79 - $PROJ_DIR$\..\..\Source\c_led.c - $PROJ_DIR$\RAM_Debug\Obj\m_sched.r79 $PROJ_DIR$\RAM_Debug\Obj\c_output.r79 - $PROJ_DIR$\..\..\Source\Running.txt - $PROJ_DIR$\..\..\Source\Info.txt - $PROJ_DIR$\..\..\Source\d_timer.h - $PROJ_DIR$\..\..\Source\Status.txt - $PROJ_DIR$\..\..\Source\Step.txt - $PROJ_DIR$\RAM_Debug\Obj\c_ui.pbi - $PROJ_DIR$\RAM_Debug\Obj\d_ioctrl.r79 + $PROJ_DIR$\RAM_Debug\Obj\d_timer.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_ioctrl.pbi + $PROJ_DIR$\RAM_Debug\Obj\m_sched.r79 + $PROJ_DIR$\RAM_Debug\Obj\d_led.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_ui.r79 + $PROJ_DIR$\RAM_Debug\Obj\Cstartup_SAM7.r79 + $PROJ_DIR$\RAM_Debug\Obj\d_usb.pbi + $PROJ_DIR$\RAM_Debug\Obj\c_button.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_loader.pbi + $PROJ_DIR$\RAM_Debug\Obj\c_comm.r79 + $PROJ_DIR$\RAM_Debug\Obj\d_display.pbi + $PROJ_DIR$\RAM_Debug\Obj\c_output.pbi + $PROJ_DIR$\RAM_Debug\Obj\d_output.pbi + $PROJ_DIR$\RAM_Debug\Obj\d_sound.r79 + $PROJ_DIR$\RAM_Debug\Obj\d_button.pbi + $PROJ_DIR$\RAM_Debug\Obj\c_comm.pbi + $PROJ_DIR$\RAM_Debug\Exe\LMS_ARM.d79 + $PROJ_DIR$\RAM_Debug\Obj\c_led.r79 + $PROJ_DIR$\RAM_Debug\Obj\d_ioctrl.pbi + $PROJ_DIR$\RAM_Debug\Obj\d_sound.pbi + $PROJ_DIR$\RAM_Debug\Obj\d_loader.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_loader.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_button.pbi + $PROJ_DIR$\RAM_Debug\Obj\c_input.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_display.pbi + $PROJ_DIR$\RAM_Debug\Obj\m_sched.pbi + $PROJ_DIR$\RAM_Debug\Obj\Cstartup_SAM7.pbi + $PROJ_DIR$\RAM_Debug\Obj\LMS_ARM.pbd + $PROJ_DIR$\RAM_Debug\Obj\d_button.r79 + $PROJ_DIR$\RAM_Debug\Obj\d_sensor.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_cmd.pbi + $PROJ_DIR$\RAM_Debug\Obj\d_lowspeed.pbi + $PROJ_DIR$\RAM_Debug\Obj\c_display.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_lowspeed.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_lowspeed.pbi + $PROJ_DIR$\RAM_Debug\Obj\c_input.pbi + $TOOLKIT_DIR$\lib\dl4tptinl8n.h $PROJ_DIR$\RAM_Debug\Obj\sam7s256.r79 + $PROJ_DIR$\RAM_Debug\Obj\d_input.r79 $PROJ_DIR$\RAM_Debug\Obj\d_lowspeed.r79 + $PROJ_DIR$\RAM_Debug\Obj\d_ioctrl.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_ui.pbi + $PROJ_DIR$\RAM_Debug\Obj\d_hispeed.r79 + $PROJ_DIR$\RAM_Debug\Obj\d_hispeed.pbi + $PROJ_DIR$\RAM_Debug\Obj\c_motor.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_sensor.r79 + $PROJ_DIR$\RAM_Debug\Obj\c_ioctrl.r79 $PROJ_DIR$\RAM_Debug\Obj\Cstartup.r79 $PROJ_DIR$\RAM_Debug\Obj\d_input.pbi $PROJ_DIR$\RAM_Debug\Obj\d_motor.r79 $PROJ_DIR$\RAM_Debug\Obj\d_timer.pbi $PROJ_DIR$\RAM_Debug\Obj\d_loader.pbi $PROJ_DIR$\RAM_Debug\Obj\d_output.r79 - $PROJ_DIR$\RAM_Debug\Obj\Cstartup_SAM7.pbi $PROJ_DIR$\RAM_Debug\Obj\main.r79 $PROJ_DIR$\RAM_Debug\Obj\d_usb.r79 $PROJ_DIR$\RAM_Debug\Obj\d_bt.pbi @@ -3256,830 +3223,863 @@ $PROJ_DIR$\RAM_Debug\Obj\d_display.r79 $PROJ_DIR$\RAM_Debug\Obj\d_bt.r79 $PROJ_DIR$\RAM_Debug\Obj\c_sound.pbi - $PROJ_DIR$\RAM_Debug\Obj\d_timer.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_loader.pbi - $PROJ_DIR$\RAM_Debug\Obj\c_comm.r79 - $PROJ_DIR$\RAM_Debug\Obj\d_button.r79 - $PROJ_DIR$\RAM_Debug\Obj\d_sensor.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_cmd.pbi - $PROJ_DIR$\RAM_Debug\Obj\d_led.r79 - $PROJ_DIR$\RAM_Debug\Obj\Cstartup_SAM7.r79 - $PROJ_DIR$\RAM_Debug\Obj\d_usb.pbi - $PROJ_DIR$\RAM_Debug\Obj\m_sched.pbi - $PROJ_DIR$\RAM_Debug\Obj\c_output.pbi - $PROJ_DIR$\RAM_Debug\Obj\LMS_ARM.pbd - $PROJ_DIR$\RAM_Debug\Obj\d_lowspeed.pbi - $PROJ_DIR$\RAM_Debug\Obj\c_display.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_lowspeed.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_lowspeed.pbi - $PROJ_DIR$\RAM_Debug\Obj\c_input.pbi - $TOOLKIT_DIR$\lib\dl4tptinl8n.h - $PROJ_DIR$\RAM_Debug\Obj\d_display.pbi - $PROJ_DIR$\RAM_Debug\Obj\c_ioctrl.pbi - $PROJ_DIR$\RAM_Debug\Obj\d_output.pbi - $PROJ_DIR$\RAM_Debug\Obj\d_sound.r79 - $PROJ_DIR$\RAM_Debug\Obj\d_button.pbi - $PROJ_DIR$\RAM_Debug\Obj\c_comm.pbi - $PROJ_DIR$\RAM_Debug\Exe\LMS_ARM.d79 - $PROJ_DIR$\RAM_Debug\Obj\d_input.r79 - $PROJ_DIR$\RAM_Debug\Obj\d_ioctrl.pbi + $PROJ_DIR$\..\..\Source\d_timer.r + $PROJ_DIR$\..\..\Source\RCXintro_12.txt + $PROJ_DIR$\..\..\Source\c_cmd_bytecodes.h + $PROJ_DIR$\..\..\Source\c_display.h + $PROJ_DIR$\..\..\Source\Submenu04.rms + $TOOLKIT_DIR$\inc\DLib_Defaults.h + $PROJ_DIR$\..\..\Source\c_lowspeed.h + $PROJ_DIR$\..\..\Source\Submenu02.rms + $PROJ_DIR$\..\..\Source\d_ioctrl.h + $PROJ_DIR$\..\..\Source\RCXintro_7.txt + $PROJ_DIR$\..\..\Source\d_button.h + $PROJ_DIR$\..\..\Source\c_output.h + $PROJ_DIR$\..\..\Source\d_loader.h + $TOOLKIT_DIR$\inc\xencoding_limits.h + $PROJ_DIR$\..\..\Source\Port.txt + $PROJ_DIR$\..\..\Source\c_lowspeed.iom + $PROJ_DIR$\..\..\Source\Icons.txt + $PROJ_DIR$\..\..\Source\d_bt.r + $TOOLKIT_DIR$\inc\DLib_Product.h + $PROJ_DIR$\..\..\Source\modules.h + $TOOLKIT_DIR$\inc\time.h + $PROJ_DIR$\..\..\Source\LowBattery.txt + $PROJ_DIR$\..\..\Source\d_output.h + $PROJ_DIR$\..\..\Source\d_ioctrl.r + $PROJ_DIR$\..\..\Source\RCXintro_8.txt + $PROJ_DIR$\..\..\Source\d_display.r + $PROJ_DIR$\..\..\Source\c_cmd.h + $PROJ_DIR$\..\..\Source\d_usb.r + $PROJ_DIR$\..\..\Source\c_button.iom + $TOOLKIT_DIR$\inc\xmtx.h + $PROJ_DIR$\..\..\Source\d_display.h + $TOOLKIT_DIR$\inc\ctype.h + $PROJ_DIR$\..\..\Source\BtTest.inc + $TOOLKIT_DIR$\inc\DLib_Threads.h + $PROJ_DIR$\..\..\Source\Submenu05.rms + $PROJ_DIR$\..\..\Source\Wait.txt + $TOOLKIT_DIR$\inc\xtls.h + $TOOLKIT_DIR$\inc\xlocaleuse.h + $PROJ_DIR$\..\..\Source\c_loader.h + $TOOLKIT_DIR$\inc\ysizet.h + $PROJ_DIR$\..\..\Source\Fail.txt + $PROJ_DIR$\..\..\Source\RCXintro_9.txt + $PROJ_DIR$\..\Include\AT91SAM7S256.h + $PROJ_DIR$\..\..\Source\d_output.r + $PROJ_DIR$\..\Include\ioat91sam7s256.h + $PROJ_DIR$\..\..\Source\d_lowspeed.h + $TOOLKIT_DIR$\inc\stdbool.h + $PROJ_DIR$\..\..\Source\Ui.txt + $PROJ_DIR$\..\..\Source\d_sound.r + $PROJ_DIR$\..\..\Source\d_sound.h + $TOOLKIT_DIR$\inc\yvals.h + $TOOLKIT_DIR$\inc\xlocale_c.h + $PROJ_DIR$\..\..\Source\RCXintro_6.txt + $PROJ_DIR$\..\Include\sam7s256.c + $PROJ_DIR$\..\..\Source\RCXintro_1.txt + $PROJ_DIR$\..\..\Source\d_hispeed.h + $TOOLKIT_DIR$\inc\xtinfo.h + $PROJ_DIR$\..\..\Source\c_cmd.iom + $PROJ_DIR$\..\..\Source\d_hispeed.r + $PROJ_DIR$\..\..\Source\RCXintro_4.txt + $PROJ_DIR$\..\..\Source\stdconst.h + $TOOLKIT_DIR$\inc\string.h + $PROJ_DIR$\..\..\Source\c_ioctrl.h + $PROJ_DIR$\..\..\Source\RCXintro_11.txt + $TOOLKIT_DIR$\inc\wchar.h + $PROJ_DIR$\..\Include\sam7s256.h + $PROJ_DIR$\..\..\Source\Test2.txt + $PROJ_DIR$\..\Include\AT91SAM7S256_inc.h + $PROJ_DIR$\..\..\Source\c_ui.iom + $PROJ_DIR$\..\..\Source\Submenu01.rms + $PROJ_DIR$\..\..\Source\c_ui.h + $PROJ_DIR$\..\..\Source\Ok.txt + $TOOLKIT_DIR$\inc\xlocale.h + $PROJ_DIR$\..\..\Source\Devices.txt + $PROJ_DIR$\..\..\Source\RCXintro_2.txt + $PROJ_DIR$\..\..\Source\d_loader.r + $PROJ_DIR$\..\..\Source\RCXintro_10.txt + $PROJ_DIR$\..\..\Source\Submenu06.rms + $PROJ_DIR$\..\..\Source\c_sound.h + $PROJ_DIR$\..\..\Source\Font.txt + $PROJ_DIR$\..\..\Source\d_usb.h + $PROJ_DIR$\..\..\Source\c_input.h + $PROJ_DIR$\..\..\Source\d_input.r + $PROJ_DIR$\..\..\Source\m_sched.h + $PROJ_DIR$\..\..\Source\RCXintro_15.txt + $PROJ_DIR$\..\..\Source\d_lowspeed.r + $PROJ_DIR$\..\..\Source\c_ioctrl.iom + $PROJ_DIR$\..\..\Source\Submenu07.rms + $PROJ_DIR$\..\..\Source\c_input.iom + $PROJ_DIR$\..\..\Source\RCXintro_14.txt + $PROJ_DIR$\..\..\Source\RCXintro_5.txt + $PROJ_DIR$\..\..\Source\d_bt.h + $PROJ_DIR$\..\..\Source\d_timer.h + $TOOLKIT_DIR$\inc\ymath.h + $PROJ_DIR$\..\..\Source\Status.txt + $PROJ_DIR$\..\..\Source\Step.txt $PROJ_DIR$\..\..\Source\c_sound.iom - $PROJ_DIR$\..\..\Source\RCXintro_12.txt - $PROJ_DIR$\..\..\Source\c_cmd_bytecodes.h - $PROJ_DIR$\RAM_Debug\Obj\d_sound.pbi - $PROJ_DIR$\RAM_Debug\Obj\c_ui.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_loader.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_button.pbi - $PROJ_DIR$\RAM_Debug\Obj\c_input.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_display.pbi - $PROJ_DIR$\RAM_Debug\Obj\d_hispeed.pbi $PROJ_DIR$\..\..\Source\c_display.iom - $PROJ_DIR$\RAM_Debug\Obj\c_led.r79 - $PROJ_DIR$\RAM_Debug\Obj\d_loader.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_motor.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_sensor.r79 - $PROJ_DIR$\RAM_Debug\Obj\c_ioctrl.r79 - $PROJ_DIR$\..\..\Source\d_timer.r - $PROJ_DIR$\..\..\Source\Submenu04.rms - $TOOLKIT_DIR$\inc\DLib_Defaults.h - $PROJ_DIR$\..\..\Source\c_display.h - $PROJ_DIR$\..\..\Source\c_lowspeed.h - $PROJ_DIR$\..\..\Source\RCXintro_7.txt - $PROJ_DIR$\..\..\Source\Submenu02.rms - $PROJ_DIR$\..\..\Source\d_ioctrl.h - $PROJ_DIR$\..\..\Source\c_input.c - $PROJ_DIR$\..\..\Source\c_ioctrl.c - $PROJ_DIR$\..\..\Source\c_loader.c - $PROJ_DIR$\..\..\Source\c_lowspeed.c - $PROJ_DIR$\..\..\Source\c_output.c - $PROJ_DIR$\..\..\Source\c_sound.c - $PROJ_DIR$\..\..\Source\c_ui.c - $PROJ_DIR$\..\Include\Cstartup.s79 - $PROJ_DIR$\..\Include\Cstartup_SAM7.c - $PROJ_DIR$\..\..\Source\d_bt.c - $PROJ_DIR$\..\..\Source\d_button.c - $PROJ_DIR$\..\..\Source\c_output.h - $PROJ_DIR$\..\..\Source\c_display.c - $PROJ_DIR$\..\..\Source\c_lowspeed.iom - $PROJ_DIR$\..\..\Source\d_loader.h - $TOOLKIT_DIR$\inc\xencoding_limits.h - $PROJ_DIR$\..\..\Source\c_button.c - $PROJ_DIR$\..\..\Source\d_display.c - $PROJ_DIR$\..\..\Source\d_hispeed.c - $PROJ_DIR$\..\..\Source\d_input.c - $PROJ_DIR$\..\..\Source\d_ioctrl.c - $PROJ_DIR$\..\..\Source\d_loader.c - $PROJ_DIR$\..\..\Source\d_lowspeed.c - $PROJ_DIR$\..\..\Source\d_output.c - $PROJ_DIR$\..\..\Source\d_sound.c - $PROJ_DIR$\..\..\Source\d_timer.c - $PROJ_DIR$\..\..\Source\d_usb.c - $PROJ_DIR$\..\..\Source\Functions.inl - $PROJ_DIR$\..\..\Source\m_sched.c - $PROJ_DIR$\..\..\Source\Port.txt + $PROJ_DIR$\..\..\Source\c_comm.iom + $PROJ_DIR$\..\..\Source\c_comm.h + $PROJ_DIR$\..\..\Source\c_cmd_drawing.inc + $PROJ_DIR$\..\..\Source\Display.txt + $PROJ_DIR$\..\..\Source\Cursor.txt + $PROJ_DIR$\..\..\Source\RCXintro_13.txt + $PROJ_DIR$\..\..\Source\c_button.h + $PROJ_DIR$\..\..\Source\RCXintro_16.txt + $PROJ_DIR$\..\..\Source\Running.txt + $TOOLKIT_DIR$\inc\stdio.h + $PROJ_DIR$\..\..\Source\Info.txt + $PROJ_DIR$\..\..\Source\Test1.txt + $PROJ_DIR$\..\..\Source\c_loader.iom + $PROJ_DIR$\..\..\Source\d_button.r + $PROJ_DIR$\..\..\Source\Connections.txt + $PROJ_DIR$\..\..\Source\c_output.iom - [ROOT_NODE] + $PROJ_DIR$\..\..\Source\c_button.c - XLINK - 177 + BICOMP + 81 - - - - $PROJ_DIR$\..\..\Source\c_cmd.c - ICCARM - 149 - - - BICOMP - 158 + 66 - ICCARM - 35 11 47 105 12 90 38 180 5 190 64 217 20 36 61 18 182 131 108 54 198 170 56 219 22 42 37 62 101 93 99 79 + BICOMP + 180 139 224 148 130 - BICOMP - 35 11 47 105 12 90 38 180 5 190 64 217 20 36 61 18 182 131 108 54 198 56 219 22 42 37 62 101 93 99 79 + ICCARM + 180 139 224 148 130 - $PROJ_DIR$\..\..\Source\c_comm.c + $PROJ_DIR$\..\..\Source\c_cmd.c - ICCARM - 155 + BICOMP + 89 - BICOMP - 176 + ICCARM + 116 - ICCARM - 35 11 64 90 84 38 47 190 81 67 58 69 37 54 198 170 56 219 22 42 2 73 8 27 62 43 46 57 16 13 + BICOMP + 180 139 177 233 208 230 188 216 148 217 218 135 203 185 164 146 122 212 227 170 125 138 133 153 159 181 7 33 213 46 220 - BICOMP - 35 11 64 90 84 38 47 190 81 67 58 69 37 54 198 56 219 22 42 2 73 8 27 62 43 46 57 16 13 + ICCARM + 180 139 177 233 208 230 188 216 148 217 218 135 203 185 164 146 122 212 227 170 125 95 138 133 153 159 181 7 33 213 46 220 - $PROJ_DIR$\..\Include\sam7s256.c + [ROOT_NODE] - ICCARM - 136 + XLINK + 75 - $PROJ_DIR$\..\..\Source\d_led.c + $PROJ_DIR$\..\..\Source\c_comm.c + + BICOMP + 74 + ICCARM - 159 + 68 + + BICOMP + 180 139 218 230 206 188 177 217 219 200 175 211 181 170 125 138 133 153 159 151 192 156 149 7 157 171 176 140 184 + ICCARM - 35 20 36 120 102 95 + 180 139 218 230 206 188 177 217 219 200 175 211 181 170 125 95 138 133 153 159 151 192 156 149 7 157 171 176 140 184 - $PROJ_DIR$\..\..\Source\d_sensor.c + $PROJ_DIR$\..\..\Source\c_display.c + + BICOMP + 83 + ICCARM - 157 + 91 + + BICOMP + 181 170 125 138 133 153 159 180 139 217 123 150 + ICCARM - 35 20 36 120 112 116 + 181 170 125 95 138 133 153 159 180 139 217 123 150 - $PROJ_DIR$\..\..\Source\d_motor.c + $PROJ_DIR$\..\..\Source\c_input.c + + BICOMP + 94 + ICCARM - 140 + 82 + + BICOMP + 180 139 201 208 1 233 230 181 170 125 138 133 153 159 + ICCARM - 35 20 36 120 110 111 + 180 139 201 208 1 233 230 181 170 125 95 138 133 153 159 - $PROJ_DIR$\..\src\main.c + $PROJ_DIR$\..\..\Source\c_ioctrl.c - ICCARM - 145 + BICOMP + 60 - - - - $PROJ_DIR$\..\..\Source\c_motor.c - ICCARM - 193 + 105 + + BICOMP + 180 139 206 182 128 + ICCARM - 35 11 118 119 110 + 180 139 206 182 128 - $PROJ_DIR$\..\..\Source\c_sensor.c + $PROJ_DIR$\..\..\Source\c_loader.c + + BICOMP + 67 + ICCARM - 194 + 80 + + BICOMP + 180 139 230 206 132 158 181 170 125 138 133 153 159 + ICCARM - 35 11 113 122 112 + 180 139 230 206 132 158 181 170 125 95 138 133 153 159 - $PROJ_DIR$\SrcIAR\Cstartup_SAM7.c + $PROJ_DIR$\..\..\Source\c_lowspeed.c + + BICOMP + 93 + ICCARM - 160 + 92 - - - $PROJ_DIR$\..\..\Source\main.c - + + + BICOMP + 180 139 135 208 126 165 + ICCARM - 145 + 180 139 135 208 126 165 - + - $PROJ_DIR$\SrcIAR\Cstartup.s79 + $PROJ_DIR$\..\..\Source\c_output.c - AARM - 138 + BICOMP + 70 - - - - $PROJ_DIR$\..\..\Source\c_led.c - ICCARM - 191 + 58 - ICCARM - 35 11 100 96 102 + BICOMP + 227 170 125 138 133 153 159 166 180 139 233 131 142 217 - - - - $PROJ_DIR$\RAM_Debug\Obj\LMS_ARM.pbd - - BILINK - 144 186 158 176 188 169 172 154 168 163 152 134 147 175 171 189 139 179 142 165 173 183 141 161 162 + ICCARM + 227 170 125 95 138 133 153 159 166 180 139 233 131 142 217 - $PROJ_DIR$\..\..\Source\c_input.c + $PROJ_DIR$\..\..\Source\c_sound.c - ICCARM - 187 + BICOMP + 119 - BICOMP - 169 + ICCARM + 115 - ICCARM - 35 11 65 12 19 105 90 37 54 198 170 56 219 22 42 + BICOMP + 7 170 125 138 133 153 159 181 180 139 216 230 198 169 - BICOMP - 35 11 65 12 19 105 90 37 54 198 56 219 22 42 + ICCARM + 7 170 125 95 138 133 153 159 181 180 139 216 230 198 169 - $PROJ_DIR$\..\..\Source\c_ioctrl.c + $PROJ_DIR$\..\..\Source\c_ui.c - ICCARM - 195 + BICOMP + 100 - BICOMP - 172 + ICCARM + 63 - ICCARM - 35 11 84 34 203 + BICOMP + 227 170 125 138 133 153 159 181 151 192 156 149 7 157 171 176 140 184 180 139 188 190 203 185 164 217 230 148 216 208 233 206 177 218 135 221 141 199 215 222 226 134 191 155 160 228 136 174 194 0 179 210 172 129 144 161 196 183 121 223 209 204 225 214 193 232 167 2 189 127 44 124 154 197 207 30 152 229 186 - BICOMP - 35 11 84 34 203 + ICCARM + 227 170 125 95 138 133 153 159 181 151 192 156 149 7 157 171 176 140 184 180 139 188 190 203 185 164 217 230 148 216 208 233 206 177 218 135 221 141 199 215 222 226 134 191 155 160 228 136 174 194 0 179 210 172 129 144 161 196 183 121 223 209 204 225 214 193 232 167 2 189 127 44 124 154 197 207 30 152 229 186 - $PROJ_DIR$\..\..\Source\c_loader.c + $PROJ_DIR$\..\Include\Cstartup.s79 - ICCARM - 185 - - - BICOMP - 154 + AARM + 106 - ICCARM - 35 11 90 84 218 40 37 54 198 170 56 219 22 42 - - - BICOMP - 35 11 90 84 218 40 37 54 198 56 219 22 42 + AARM + 187 - $PROJ_DIR$\..\..\Source\c_lowspeed.c + $PROJ_DIR$\..\Include\Cstartup_SAM7.c - ICCARM - 167 + BICOMP + 85 - BICOMP - 168 + ICCARM + 64 - ICCARM - 35 11 217 12 200 39 + BICOMP + 162 - BICOMP - 35 11 217 12 200 39 + ICCARM + 162 - $PROJ_DIR$\..\..\Source\c_output.c + $PROJ_DIR$\..\..\Source\d_bt.c - ICCARM - 128 + BICOMP + 114 - BICOMP - 163 + ICCARM + 118 - ICCARM - 108 54 198 170 56 219 22 42 32 35 11 105 215 41 190 + BICOMP + 180 139 203 185 164 211 137 181 170 125 138 133 153 159 - BICOMP - 108 54 198 56 219 22 42 32 35 11 105 215 41 190 + ICCARM + 180 139 203 185 164 211 137 181 170 125 95 138 133 153 159 - $PROJ_DIR$\..\..\Source\c_sound.c + $PROJ_DIR$\..\..\Source\d_button.c - ICCARM - 148 + BICOMP + 73 - BICOMP - 152 + ICCARM + 87 - ICCARM - 62 54 198 170 56 219 22 42 37 35 11 180 90 83 53 + BICOMP + 180 203 185 164 130 231 - BICOMP - 62 54 198 56 219 22 42 37 35 11 180 90 83 53 + ICCARM + 180 203 185 164 130 231 - $PROJ_DIR$\..\..\Source\c_ui.c + $PROJ_DIR$\..\..\Source\d_display.c - ICCARM - 184 + BICOMP + 69 - BICOMP - 134 + ICCARM + 117 - ICCARM - 108 54 198 170 56 219 22 42 37 2 73 8 27 62 43 46 57 16 13 35 11 38 74 20 36 61 190 90 5 180 12 105 84 47 64 217 82 24 3 133 106 129 233 71 9 59 130 25 31 72 86 45 10 29 201 15 44 76 14 181 89 78 63 91 132 75 87 51 68 70 202 97 197 23 7 85 231 21 88 49 + BICOMP + 180 203 185 164 150 145 - BICOMP - 108 54 198 56 219 22 42 37 2 73 8 27 62 43 46 57 16 13 35 11 38 74 20 36 61 190 90 5 180 12 105 84 47 64 217 82 24 3 133 106 129 233 71 9 59 130 25 31 72 86 45 10 29 201 15 44 76 14 181 89 78 63 91 132 75 87 51 68 70 202 97 197 23 7 85 231 21 88 49 + ICCARM + 180 203 185 164 150 145 - $PROJ_DIR$\..\Include\Cstartup.s79 + $PROJ_DIR$\..\..\Source\d_hispeed.c - AARM - 138 + BICOMP + 102 + + + ICCARM + 101 - AARM - 50 + BICOMP + 180 203 185 164 175 178 + + + ICCARM + 180 203 185 164 175 178 - $PROJ_DIR$\..\Include\Cstartup_SAM7.c + $PROJ_DIR$\..\..\Source\d_input.c - ICCARM - 160 + BICOMP + 107 - BICOMP - 144 + ICCARM + 97 - ICCARM - 33 + BICOMP + 180 203 185 164 201 208 1 202 - BICOMP - 33 + ICCARM + 180 203 185 164 201 208 1 202 - $PROJ_DIR$\..\..\Source\d_bt.c + $PROJ_DIR$\..\..\Source\d_ioctrl.c - ICCARM - 151 + BICOMP + 77 - BICOMP - 147 + ICCARM + 99 - ICCARM - 35 11 20 36 61 69 55 37 54 198 170 56 219 22 42 + BICOMP + 181 170 125 138 133 153 159 180 203 185 164 128 143 - BICOMP - 35 11 20 36 61 69 55 37 54 198 56 219 22 42 + ICCARM + 181 170 125 95 138 133 153 159 180 203 185 164 128 143 - $PROJ_DIR$\..\..\Source\d_button.c + $PROJ_DIR$\..\..\Source\d_loader.c - ICCARM - 156 + BICOMP + 110 - BICOMP - 175 + ICCARM + 79 - ICCARM - 35 20 36 61 26 104 + BICOMP + 180 139 203 185 164 132 195 181 170 125 138 133 153 159 151 192 156 149 7 157 171 176 140 184 - BICOMP - 35 20 36 61 26 104 + ICCARM + 180 139 203 185 164 132 195 181 170 125 95 138 133 153 159 151 192 156 149 7 157 171 176 140 184 - $PROJ_DIR$\..\..\Source\c_display.c + $PROJ_DIR$\..\..\Source\d_lowspeed.c - ICCARM - 166 + BICOMP + 90 - BICOMP - 188 + ICCARM + 98 - ICCARM - 37 54 198 170 56 219 22 42 35 11 190 199 1 + BICOMP + 180 203 185 164 165 205 - BICOMP - 37 54 198 56 219 22 42 35 11 190 199 1 + ICCARM + 180 203 185 164 165 205 - $PROJ_DIR$\..\..\Source\c_button.c + $PROJ_DIR$\..\..\Source\d_output.c - ICCARM - 92 + BICOMP + 71 - BICOMP - 186 + ICCARM + 111 - ICCARM - 35 11 107 5 26 + BICOMP + 180 203 185 164 142 163 - BICOMP - 35 11 107 5 26 + ICCARM + 180 203 185 164 142 163 - $PROJ_DIR$\..\..\Source\d_display.c + $PROJ_DIR$\..\..\Source\d_sound.c - ICCARM - 150 + BICOMP + 78 - BICOMP - 171 + ICCARM + 72 - ICCARM - 35 20 36 61 1 28 + BICOMP + 180 203 185 164 169 168 45 - BICOMP - 35 20 36 61 1 28 + ICCARM + 180 203 185 164 169 168 45 - $PROJ_DIR$\..\..\Source\d_hispeed.c + $PROJ_DIR$\..\..\Source\d_timer.c - ICCARM - 125 + BICOMP + 109 - BICOMP - 189 + ICCARM + 59 - ICCARM - 35 20 36 61 58 48 + BICOMP + 180 203 185 164 212 120 - BICOMP - 35 20 36 61 58 48 + ICCARM + 180 203 185 164 212 120 - $PROJ_DIR$\..\..\Source\d_input.c + $PROJ_DIR$\..\..\Source\d_usb.c - ICCARM - 178 + BICOMP + 65 - BICOMP - 139 + ICCARM + 113 - ICCARM - 35 20 36 61 65 12 19 66 + BICOMP + 180 203 185 164 200 147 - BICOMP - 35 20 36 61 65 12 19 66 + ICCARM + 180 203 185 164 200 147 - $PROJ_DIR$\..\..\Source\d_ioctrl.c + $PROJ_DIR$\..\..\Source\m_sched.c - ICCARM - 135 + BICOMP + 84 - BICOMP - 179 + ICCARM + 61 - ICCARM - 37 54 198 170 56 219 22 42 35 20 36 61 203 17 + BICOMP + 180 139 203 185 164 173 219 201 208 224 148 158 198 123 126 131 146 122 177 182 190 - BICOMP - 37 54 198 56 219 22 42 35 20 36 61 203 17 + ICCARM + 180 139 203 185 164 173 219 201 208 224 148 158 198 123 126 131 146 122 177 182 190 - $PROJ_DIR$\..\..\Source\d_loader.c + $PROJ_DIR$\..\..\Source\c_led.c ICCARM - 192 - - - BICOMP - 142 + 76 ICCARM - 35 11 20 36 61 218 77 37 54 198 170 56 219 22 42 2 73 8 27 62 43 46 57 16 13 - - - BICOMP - 35 11 20 36 61 218 77 37 54 198 56 219 22 42 2 73 8 27 62 43 46 57 16 13 + 180 139 32 43 34 - $PROJ_DIR$\..\..\Source\d_lowspeed.c + $PROJ_DIR$\..\..\Source\d_led.c ICCARM - 137 - - - BICOMP - 165 + 62 ICCARM - 35 20 36 61 39 80 - - - BICOMP - 35 20 36 61 39 80 + 180 203 185 55 34 5 - $PROJ_DIR$\..\..\Source\d_output.c + $PROJ_DIR$\..\..\Source\d_sensor.c ICCARM - 143 - - - BICOMP - 173 + 88 ICCARM - 35 20 36 61 41 60 - - - BICOMP - 35 20 36 61 41 60 + 180 203 185 55 51 39 - $PROJ_DIR$\..\..\Source\d_sound.c + $PROJ_DIR$\..\..\Source\c_motor.c ICCARM - 174 - - - BICOMP - 183 + 103 ICCARM - 35 20 36 61 53 52 98 - - - BICOMP - 35 20 36 61 53 52 98 + 180 139 41 54 49 - $PROJ_DIR$\..\..\Source\d_timer.c + $PROJ_DIR$\..\..\Source\c_sensor.c ICCARM - 153 - - - BICOMP - 141 + 104 ICCARM - 35 20 36 61 131 196 - - - BICOMP - 35 20 36 61 131 196 + 180 139 52 48 51 - $PROJ_DIR$\..\..\Source\d_usb.c + $PROJ_DIR$\SrcIAR\Cstartup_SAM7.c ICCARM - 146 + 64 + + + + $PROJ_DIR$\..\..\Source\d_motor.c + - BICOMP - 161 + ICCARM + 108 ICCARM - 35 20 36 61 67 6 + 180 203 185 55 49 50 + + + + $PROJ_DIR$\..\src\main.c + - BICOMP - 35 20 36 61 67 6 + ICCARM + 112 - + - $PROJ_DIR$\..\..\Source\m_sched.c + $PROJ_DIR$\..\..\Source\main.c ICCARM - 127 + 112 + + + + $PROJ_DIR$\SrcIAR\Cstartup.s79 + - BICOMP - 162 + AARM + 106 + + + $PROJ_DIR$\RAM_Debug\Obj\LMS_ARM.pbd - ICCARM - 35 11 20 36 61 30 81 65 12 107 5 40 83 199 200 215 18 182 47 34 74 + BILINK + 85 81 89 74 83 94 60 67 93 70 119 100 114 73 69 102 107 77 110 90 71 78 109 65 84 + + + + $PROJ_DIR$\..\Include\sam7s256.c + - BICOMP - 35 11 20 36 61 30 81 65 12 107 5 40 83 199 200 215 18 182 47 34 74 + ICCARM + 96 - + [MULTI_TOOL] diff --git a/AT91SAM7S256/SAM7S256/Tools/settings/LMS_ARM.cspy.bat b/AT91SAM7S256/SAM7S256/Tools/settings/LMS_ARM.cspy.bat index 74f8699..43f6a2d 100644 --- a/AT91SAM7S256/SAM7S256/Tools/settings/LMS_ARM.cspy.bat +++ b/AT91SAM7S256/SAM7S256/Tools/settings/LMS_ARM.cspy.bat @@ -22,11 +22,11 @@ @REM but they are listed at the end of this file for reference. -"C:\Program Files\IAR Systems\Embedded Workbench 4.0 LEGO\common\bin\cspybat" "C:\Program Files\IAR Systems\Embedded Workbench 4.0 LEGO\arm\bin\armproc.dll" "C:\Program Files\IAR Systems\Embedded Workbench 4.0 LEGO\arm\bin\armjlink.dll" %1 --plugin "C:\Program Files\IAR Systems\Embedded Workbench 4.0 LEGO\arm\bin\" --macro "D:\NXT\lms_nbcnxc_128\AT91SAM7S256\SAM7S256\Tools\SAM7.mac" --backend -B "--endian" "little" "--cpu" "ARM7TDMI" "--fpu" "None" "--proc_device_desc_file" "D:\NXT\lms_nbcnxc_128\AT91SAM7S256\SAM7S256\Tools\ioat91sam7s256.ddf" "--proc_driver" "jlink" "--jlink_connection" "USB:0" "--jlink_initial_speed" "32" +"C:\Program Files (x86)\IAR Systems\Embedded Workbench 4.0 LEGO\common\bin\cspybat" "C:\Program Files (x86)\IAR Systems\Embedded Workbench 4.0 LEGO\arm\bin\armproc.dll" "C:\Program Files (x86)\IAR Systems\Embedded Workbench 4.0 LEGO\arm\bin\armjlink.dll" %1 --plugin "C:\Program Files (x86)\IAR Systems\Embedded Workbench 4.0 LEGO\arm\bin\" --macro "D:\NXT\lms_nbcnxc_128\AT91SAM7S256\SAM7S256\Tools\SAM7.mac" --backend -B "--endian" "little" "--cpu" "ARM7TDMI" "--fpu" "None" "--proc_device_desc_file" "D:\NXT\lms_nbcnxc_128\AT91SAM7S256\SAM7S256\Tools\ioat91sam7s256.ddf" "--proc_driver" "jlink" "--jlink_connection" "USB:0" "--jlink_initial_speed" "32" @REM Loaded plugins: @REM armlibsupport.dll -@REM C:\Program Files\IAR Systems\Embedded Workbench 4.0 LEGO\common\plugins\CodeCoverage\CodeCoverage.dll -@REM C:\Program Files\IAR Systems\Embedded Workbench 4.0 LEGO\common\plugins\Profiling\Profiling.dll -@REM C:\Program Files\IAR Systems\Embedded Workbench 4.0 LEGO\common\plugins\stack\stack.dll +@REM C:\Program Files (x86)\IAR Systems\Embedded Workbench 4.0 LEGO\common\plugins\CodeCoverage\CodeCoverage.dll +@REM C:\Program Files (x86)\IAR Systems\Embedded Workbench 4.0 LEGO\common\plugins\Profiling\Profiling.dll +@REM C:\Program Files (x86)\IAR Systems\Embedded Workbench 4.0 LEGO\common\plugins\stack\stack.dll diff --git a/AT91SAM7S256/SAM7S256/Tools/settings/LMS_ARM.wsdt b/AT91SAM7S256/SAM7S256/Tools/settings/LMS_ARM.wsdt index cdf06a1..1ebaf1e 100644 --- a/AT91SAM7S256/SAM7S256/Tools/settings/LMS_ARM.wsdt +++ b/AT91SAM7S256/SAM7S256/Tools/settings/LMS_ARM.wsdt @@ -11,7 +11,7 @@ - 1563271307876 + 1233271307876 300Find-in-FilesDebug-Log1862724461 @@ -22,7 +22,7 @@ 45527 - 300Find-in-FilesBuild + 300BuildFind-in-Files @@ -32,7 +32,7 @@ - + TabID-32446-5425 @@ -40,24 +40,24 @@ Workspace - LMS_ARMLMS_ARM/c_cmd.cLMS_ARM/c_led.cLMS_ARM/d_bt.c + LMS_ARMLMS_ARM/c_led.c - 0TabID-25637-22042BuildBuildTabID-24384-30343Find in FilesFind-in-FilesTabID-7323-21632Debug LogDebug-Log0 + 0TabID-27191-10055BuildBuildTabID-29560-16542Find in FilesFind-in-Files1 - TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_cmd.c040061136031136030TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_comm.c033229270992725TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_cmd.iom03812834TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\d_loader.h00694700TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_ui.c08162117221172TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_cmd.h04461282912829TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\d_bt.c011124882488TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\d_bt.r02131623016230TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\d_hispeed.r00765765TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\d_bt.h0612611261TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_comm.h042107210800100000010000001 + TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_cmd.c096112721022721020TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\d_output.c0000TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\d_loader.c05597597TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_input.c02261189111904TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_comm.c0000TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\c_cmd.iom014761416145TextEditorD:\NXT\lms_nbcnxc_128\AT91SAM7S256\Source\d_bt.c0394834283460100000010000001 - iaridepm.enu1-2-2630223-2-20000142857750594-2-21681577-2-21579170100254020190000 + iaridepm.enu1-2-2463190-2-20000157119701357-2-21551224-2-212261571003273236802139935236802 diff --git a/AT91SAM7S256/Source/BtTest.inc b/AT91SAM7S256/Source/BtTest.inc index ff0de90..d2ab31d 100644 --- a/AT91SAM7S256/Source/BtTest.inc +++ b/AT91SAM7S256/Source/BtTest.inc @@ -4,7 +4,6 @@ #include "Test2.txt" //#define TESTPRG // If defined the test program will be included - extern void BtIo(void); const char BUILD_DATE[] = __DATE__; diff --git a/AT91SAM7S256/Source/cCmdWriteIOMapOffsetsFile.txt b/AT91SAM7S256/Source/cCmdWriteIOMapOffsetsFile.txt new file mode 100644 index 0000000..a317c79 --- /dev/null +++ b/AT91SAM7S256/Source/cCmdWriteIOMapOffsetsFile.txt @@ -0,0 +1,125 @@ +#if WRITE_IOMAP_OFFSETS +void cCmdWriteIOMapOffsetsFile() +{ + LOADER_STATUS LStatus; + UBYTE Handle; + ULONG BenchFileSize; + ULONG Length; + UBYTE Buffer[256]; + + //Remove old benchmark file, create a new one + strcpy((char *)Buffer, "offsets.txt"); + pMapLoader->pFunc(DELETE, Buffer, NULL, NULL); + BenchFileSize = 2048; + LStatus = pMapLoader->pFunc(OPENWRITEDATA, Buffer, NULL, &BenchFileSize); + + if (!LOADER_ERR(LStatus)) + { + //Write Benchmark file + Handle = LOADER_HANDLE(LStatus); + + //Header + sprintf((char *)Buffer, "%s Offsets\r\n", "Comm Module"); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "pFunc: %d\r\n", (ULONG)pMapComm->pFunc - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "pFunc2: %d\r\n", (ULONG)pMapComm->pFunc2 - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "BtDeviceTable: %d\r\n", (ULONG)pMapComm->BtDeviceTable - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "BtConnectTable: %d\r\n", (ULONG)pMapComm->BtConnectTable - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "BrickData: %d\r\n", (ULONG)pMapComm->BrickData.Name - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "BtInBuf: %d\r\n", (ULONG)pMapComm->BtInBuf.Buf - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "BtOutBuf: %d\r\n", (ULONG)pMapComm->BtOutBuf.Buf - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "HsInBuf: %d\r\n", (ULONG)pMapComm->HsInBuf.Buf - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "HsOutBuf: %d\r\n", (ULONG)pMapComm->HsOutBuf.Buf - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "UsbInBuf: %d\r\n", (ULONG)pMapComm->UsbInBuf.Buf - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "UsbOutBuf: %d\r\n", (ULONG)pMapComm->UsbOutBuf.Buf - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "UsbPollBuf: %d\r\n", (ULONG)pMapComm->UsbPollBuf.Buf - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "BtDeviceCnt: %d\r\n", (ULONG)&(pMapComm->BtDeviceCnt) - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "BtDeviceNameCnt: %d\r\n", (ULONG)&(pMapComm->BtDeviceNameCnt) - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "HsFlags: %d\r\n", (ULONG)&(pMapComm->HsFlags) - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "HsSpeed: %d\r\n", (ULONG)&(pMapComm->HsSpeed) - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "HsState: %d\r\n", (ULONG)&(pMapComm->HsState) - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "UsbState: %d\r\n", (ULONG)&(pMapComm->UsbState) - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "HsMode: %d\r\n", (ULONG)&(pMapComm->HsMode) - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "BtDataMode: %d\r\n", (ULONG)&(pMapComm->BtDataMode) - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "HsDataMode: %d\r\n", (ULONG)&(pMapComm->HsDataMode) - (ULONG)pMapComm); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "HsDataMode = %d\r\n", pMapComm->HsDataMode); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); + + sprintf((char *)Buffer, "BtDataMode = %d\r\n", pMapComm->BtDataMode); + Length = strlen((char *)Buffer); + LStatus = pMapLoader->pFunc(WRITE, &Handle, Buffer, &Length); +/* + + UBYTE Spare1; +*/ + //close file + LStatus = pMapLoader->pFunc(CLOSE, &Handle, NULL, NULL); + } +} +#endif diff --git a/AT91SAM7S256/Source/c_cmd.c b/AT91SAM7S256/Source/c_cmd.c index 4b25362..3fc28e4 100644 --- a/AT91SAM7S256/Source/c_cmd.c +++ b/AT91SAM7S256/Source/c_cmd.c @@ -1,11 +1,11 @@ // // Date init 14.12.2004 // -// Revision date $Date: 17-02-09 7:30 $ +// Revision date $Date: 26-02-10 11:38 $ // // Filename $Workfile:: c_cmd.c $ // -// Version $Revision: 13 $ +// Version $Revision: 15 $ // // Archive $Archive:: /LMS2006/Sys01/Main_V02/Firmware/Source/c_cmd. $ // @@ -256,7 +256,7 @@ static pSysCall SysCallFuncs[SYSCALL_COUNT] = cCmdWrapDrawEllipse, cCmdWrapDrawFont, // 95 cCmdWrapMemoryManager, - cCmdWrapUndefinedSysCall, + cCmdWrapReadLastResponse, cCmdWrapUndefinedSysCall, cCmdWrapUndefinedSysCall // 99 --> 100 system call slots @@ -409,6 +409,100 @@ UBYTE cCmdBTGetDeviceType(UBYTE *pCOD) return (Result); } +UBYTE CMD_RESPONSE_LENGTH[255] = +{ + 3, // DCStartProgram (x00) + 3, // DCStopProgram (x01) + 3, // DCPlaySoundFile (x02) + 3, // DCPlayTone (x03) + 3, // DCSetOutputState (x04) + 3, // DCSetInputMode (x05) + 25, // DCGetOutputState (x06) + 16, // DCGetInputValues (x07) + 3, // DCResetInputScaledValue (x08) + 3, // DCMessageWrite (x09) + 3, // DCResetMotorPosition (x0a) + 5, // DCGetBatteryLevel (x0b) + 3, // DCStopSoundPlayback (x0c) + 7, // DCKeepAlive (x0d) + 4, // DCLSGetStatus (x0e) + 3, // DCLSWrite (x0f) + 20, // DCLSRead (x10) + 23, // DCGetCurrentProgramName (x11) + 0, // DCGetButtonState (not implemented) (x12) + 64, // DCMessageRead (x13) + 0, // DCRESERVED1 (x14) + 0, // DCRESERVED2 (x15) + 0, // DCRESERVED3 (x16) + 0, // DCRESERVED4 (x17) + 0, // DCRESERVED5 (x18) + 64, // DCDatalogRead (1.28+) (x19) + 3, // DCDatalogSetTimes (1.28+) (x1a) + 4, // DCBTGetContactCount (1.28+) (x1b) + 21, // DCBTGetContactName (1.28+) (x1c) + 4, // DCBTGetConnCount (1.28+) (x1d) + 21, // DCBTGetConnName (1.28+) (x1e) + 3, // DCSetProperty(1.28+) (x1f) + 7, // DCGetProperty (1.28+) (x20) + 3, // DCUpdateResetCount (1.28+) (x21) + 7, // RC_SET_VM_STATE (enhanced only) (x22) + 7, // RC_GET_VM_STATE (enhanced only) (x23) + 15, // RC_SET_BREAKPOINTS (enhanced only) (x24) + 15, // RC_GET_BREAKPOINTS (enhanced only) (x25) + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // (x26-x2f) + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // (x30-x3f) + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // (x40-x4f) + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // (x50-x5f) + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // (x60-x6f) + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // (x70-x7f) + 8, // OPENREAD = 0x80, + 4, // OPENWRITE = 0x81, + 64, // READ = 0x82, (actually is a variable length response) + 6, // WRITE = 0x83, + 4, // CLOSE = 0x84, + 23, // DELETE = 0x85, + 28, // FINDFIRST = 0x86, + 28, // FINDNEXT = 0x87, + 7, // VERSIONS = 0x88, + 4, // OPENWRITELINEAR = 0x89, + 7, // OPENREADLINEAR = 0x8A, (not actually implemented) + 4, // OPENWRITEDATA = 0x8B, + 8, // OPENAPPENDDATA = 0x8C, + 4, // CROPDATAFILE = 0x8D, /* New cmd for datalogging */ + 0, // XXXXXXXXXXXXXX = 0x8E, + 0, // XXXXXXXXXXXXXX = 0x8F, + 34, // FINDFIRSTMODULE = 0x90, + 34, // FINDNEXTMODULE = 0x91, + 4, // CLOSEMODHANDLE = 0x92, + 0, // XXXXXXXXXXXXXX = 0x93, + 64, // IOMAPREAD = 0x94, (actually is a variable length response) + 9, // IOMAPWRITE = 0x95, + 0, // XXXXXXXXXXXXXX = 0x96, + 7, // BOOTCMD = 0x97, (can only be executed via USB) + 3, // SETBRICKNAME = 0x98, + 0, // XXXXXXXXXXXXXX = 0x99, + 10, // BTGETADR = 0x9A, + 33, // DEVICEINFO = 0x9B, + 0, // XXXXXXXXXXXXXX = 0x9C, + 0, // XXXXXXXXXXXXXX = 0x9D, + 0, // XXXXXXXXXXXXXX = 0x9E, + 0, // XXXXXXXXXXXXXX = 0x9F, + 3, // DELETEUSERFLASH = 0xA0, + 5, // POLLCMDLEN = 0xA1, + 64, // POLLCMD = 0xA2, + 44, // RENAMEFILE = 0xA3, + 3, // BTFACTORYRESET = 0xA4, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // (xA5-xAF) + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // (xB0-xBf) + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // (xC0-xCf) + 0, // RESIZEDATAFILE = 0xD0, + 0, // SEEKFROMSTART = 0xD1, + 0, // SEEKFROMCURRENT = 0xD2, + 0, // SEEKFROMEND = 0xD3 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // (xD4-xDF) + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 // (xF0-xFF) +}; + //cCmdHandleRemoteCommands is the registered handler for "direct" command protocol packets //It is only intended to be called via c_comm's main protocol handler UWORD cCmdHandleRemoteCommands(UBYTE * pInBuf, UBYTE * pOutBuf, UBYTE * pLen) @@ -1226,12 +1320,15 @@ UWORD cCmdHandleRemoteCommands(UBYTE * pInBuf, UBYTE * pOutBuf, UBYTE * pLen) //If telegram doesn't check out, do nothing. No errors are ever returned for reply telegrams. } - break; + // fall through to the default case +// break; default: { //Unhandled reply telegram. Do nothing. //!!! Could/should stash unhandled/all replies somewhere so a syscall could read them + VarsCmd.LastResponseLength = CMD_RESPONSE_LENGTH[pInBuf[0]]; + memcpy((PSZ)VarsCmd.LastResponseBuffer, (PSZ)(&pInBuf[0]), VarsCmd.LastResponseLength-1); } break; }; @@ -1418,10 +1515,9 @@ void cCmdCtrl(void) IOMapCmd.ProgStatus = PROG_OK; } } - else if (Status == CLUMP_SUSPEND || Status == CLUMP_DONE) { + else if (Status == CLUMP_SUSPEND || Status == CLUMP_DONE) Continue = TRUE; // queue isn't empty, didn't timeout //Only rotate RunQ on a "normal" finish, i.e. no error, clump end, or breakout request - } else if (Status == ROTATE_QUEUE) { // done and suspend do their own cCmdRotateQ(); Continue= TRUE; @@ -1434,7 +1530,6 @@ void cCmdCtrl(void) { Continue = FALSE; VarsCmd.VMState = VM_RESET1; -// IOMapCmd.ProgStatus = PROG_ERROR; IOMapCmd.ProgStatus = Status; } else if (Status == STOP_REQ) @@ -1476,7 +1571,6 @@ void cCmdCtrl(void) //2. Proceed to VM_RESET1 (some unneeded work, yes, but preserves contract with UI if (IS_ERR(Status)) { -// IOMapCmd.ProgStatus = PROG_ERROR; IOMapCmd.ProgStatus = Status; VarsCmd.VMState = VM_RESET1; } @@ -2101,6 +2195,9 @@ NXT_STATUS cCmdActivateProgram(UBYTE * pFileName) VarsCmd.Debugging = FALSE; VarsCmd.PauseClump = NOT_A_CLUMP; VarsCmd.PausePC = 0xFFFF; + // restore default data mode values + pMapComm->BtDataMode = DATA_MODE_NXT|DATA_MODE_UPDATE; + pMapComm->HsDataMode = DATA_MODE_RAW|DATA_MODE_UPDATE; return (Status); } @@ -2151,8 +2248,7 @@ void cCmdDeactivateProgram() tmp = i; //Close file if (*(VarsCmd.FileHandleTable[i]) != 0) - pMapLoader->pFunc(CLOSE, &tmp, NULL, NULL); -// pMapLoader->pFunc(CROPDATAFILE, &tmp, NULL, NULL); + pMapLoader->pFunc(CROPDATAFILE, &tmp, NULL, NULL); /*CLOSE*/ } //Clear FileHandleTable @@ -4469,33 +4565,6 @@ NXT_STATUS cCmdInterpFromClump() pInstr = pClumpRec->PC; // abs lastClumpInstr= pClumpRec->CodeEnd; // abs -/* - // are we free running and reach a breakpoint? - if (VarsCmd.VMState == VM_RUN_FREE) - { - CLUMP_BREAK_REC* pBreakpoints = pClumpRec->Breakpoints; - for(int j = 0; j < MAX_BREAKPOINTS; j++) - { - if (pBreakpoints[j].Enabled && - (pBreakpoints[j].Location == (CODE_INDEX)(pClumpRec->PC-pClumpRec->CodeStart))) - { - VarsCmd.VMState = VM_RUN_PAUSE; - return BREAKOUT_REQ; - } - } - // auto pause at clump == pauseClump and relative PC = pausePC - if ((Clump == VarsCmd.PauseClump) && - ((CODE_INDEX)(pClumpRec->PC-pClumpRec->CodeStart) == VarsCmd.PausePC)) - { - VarsCmd.VMState = VM_RUN_PAUSE; - // turn off the auto pause flags - VarsCmd.PauseClump = NOT_A_CLUMP; - VarsCmd.PausePC = 0xFFFF; - return BREAKOUT_REQ; - } - } -*/ - if(VarsCmd.VMState == VM_RUN_FREE) i = pClumpRec->Priority; else @@ -5056,7 +5125,11 @@ NXT_STATUS cCmdInterpUnop2(CODE_WORD * const pCode) if (TypeCode2 == TC_FLOAT) { FltArgVal2 = cCmdGetFloatValFromDataArg(Arg2, 0); - Count = sprintf(Buffer, "%.4f", FltArgVal2); + if ((FltArgVal2 > (float)99999999999.9999)||(FltArgVal2 < (float)-9999999999.9999)){ // these are the widest %.4f numbers that will fit on display + Count = sprintf(Buffer, "%.6g", FltArgVal2); + } + else + Count = sprintf(Buffer, "%.4f", FltArgVal2); Count++; //add room for null terminator // remove trailing zeros while (Buffer[Count-2] == 0x30) { @@ -5984,7 +6057,7 @@ ULONG cCmdBinop(CODE_WORD const Code, ULONG LeftOp, ULONG RightOp, TYPE_CODE Lef case OP_XOR: { - return ((LeftOp | RightOp) & (~(LeftOp & RightOp))); // LeftOp ^ RightOp + return ((LeftOp | RightOp) & (~(LeftOp & RightOp))); } case OP_CMP: @@ -6229,7 +6302,7 @@ NXT_STATUS cCmdMove(DATA_ARG Arg1, DATA_ARG Arg2) Status= NO_ERR; } } - else if(tc1 == TC_FLOAT && tc2 == TC_FLOAT) { + else if(tc1 == TC_FLOAT && tc2 == TC_FLOAT) { // may also need to speed up float to int and int to float conversions moveFloat++; pArg1= VarsCmd.pDataspace + TOC1Ptr->DSOffset; pArg2= VarsCmd.pDataspace + TOC2Ptr->DSOffset; @@ -9539,6 +9612,47 @@ NXT_STATUS cCmdWrapMemoryManager(UBYTE * ArgV[]) return (NO_ERR); } +//cCmdWrapReadLastResponse +//ArgV[0]: (return) Status byte, SBYTE +//ArgV[1]: Clear?, UBYTE (true or false) +//ArgV[2]: Length, UBYTE out +//ArgV[3]: Command, UBYTE out +//ArgV[4]: Buffer, out +NXT_STATUS cCmdWrapReadLastResponse(UBYTE * ArgV[]) +{ + SBYTE * pReturnVal = (SBYTE*)(ArgV[0]); + UWORD bufLen = 0; + if (VarsCmd.LastResponseLength > 0) + bufLen = VarsCmd.LastResponseLength-2; + + //Resolve array arguments + // output buffer + DV_INDEX DVIndex = *(DV_INDEX *)(ArgV[4]); + //Size Buffer to Length + NXT_STATUS Status = cCmdDVArrayAlloc(DVIndex, bufLen); + if (IS_ERR(Status)) + return Status; + UBYTE* pBuf = cCmdDVPtr(DVIndex); + ArgV[4] = pBuf; + *(ArgV[2]) = bufLen; // Length + *pReturnVal = NO_ERR; + + if (bufLen > 0) + { + memset(pBuf, 0, bufLen); + memcpy(pBuf, (PSZ)&(VarsCmd.LastResponseBuffer[2]), bufLen-1); + *pReturnVal = VarsCmd.LastResponseBuffer[1]; + *(ArgV[3]) = VarsCmd.LastResponseBuffer[0]; + } + // clear? + if (*(ArgV[1])) { + VarsCmd.LastResponseLength = 0; + memset(VarsCmd.LastResponseBuffer, 0, 64); + } + + return (NO_ERR); +} + NXT_STATUS cCmdWrapUndefinedSysCall(UBYTE * ArgV[]) { return (NO_ERR); diff --git a/AT91SAM7S256/Source/c_cmd.h b/AT91SAM7S256/Source/c_cmd.h index 489e0cc..b23e9f6 100644 --- a/AT91SAM7S256/Source/c_cmd.h +++ b/AT91SAM7S256/Source/c_cmd.h @@ -63,7 +63,7 @@ void cCmdExit(void); #define WRITE_IOMAP_OFFSETS 0 #if WRITE_IOMAP_OFFSETS -void cCmdWriteIOMapOffsetsFile(); +void cCmdWriteIOMapOffsetsFile(); #endif // @@ -566,6 +566,10 @@ typedef struct UBYTE PauseClump; CODE_INDEX PausePC; + // add a buffer for storing the last response raw content (64 bytes) + UBYTE LastResponseBuffer[64]; + UBYTE LastResponseLength; + #if VM_BENCHMARK ULONG InstrCount; ULONG Average; @@ -575,10 +579,8 @@ typedef struct ULONG CompactionCount; ULONG LastCompactionTick; ULONG MaxCompactionTime; - ULONG CmdCtrlOverTimeCnt; - ULONG MaxCmdCtrlOverTimeLen; - ULONG OpcodeBenchmarks[OPCODE_COUNT][3]; - ULONG SyscallBenchmarks[SYSCALL_COUNT][3]; + ULONG OpcodeBenchmarks[OPCODE_COUNT][4]; + ULONG SyscallBenchmarks[SYSCALL_COUNT][4]; UBYTE Buffer[256]; #endif @@ -906,6 +908,7 @@ NXT_STATUS cCmdWrapDrawPolygon(UBYTE * ArgV[]); NXT_STATUS cCmdWrapDrawEllipse(UBYTE * ArgV[]); NXT_STATUS cCmdWrapDrawFont(UBYTE * ArgV[]); NXT_STATUS cCmdWrapMemoryManager(UBYTE * ArgV[]); +NXT_STATUS cCmdWrapReadLastResponse(UBYTE * ArgV[]); NXT_STATUS cCmdWrapUndefinedSysCall(UBYTE * ArgV[]); diff --git a/AT91SAM7S256/Source/c_cmd.iom b/AT91SAM7S256/Source/c_cmd.iom index 09a6477..820f01d 100644 --- a/AT91SAM7S256/Source/c_cmd.iom +++ b/AT91SAM7S256/Source/c_cmd.iom @@ -168,17 +168,7 @@ typedef SBYTE PROGRAM_STATUS; #define PROG_ERROR 0x03 #define PROG_ABORT 0x04 #define PROG_RESET 0x05 -/* -typedef enum -{ - PROG_IDLE, - PROG_OK, - PROG_RUNNING, - PROG_ERROR, - PROG_ABORT, - PROG_RESET -} PROGRAM_STATUS; -*/ + //Maximum size of memory pool, in bytes //!!! Code assumes this value is evenly divisible by 4! #define POOL_MAX_SIZE 32768 diff --git a/AT91SAM7S256/Source/c_cmd_drawing.inc b/AT91SAM7S256/Source/c_cmd_drawing.inc index 9a62c12..41e405a 100644 --- a/AT91SAM7S256/Source/c_cmd_drawing.inc +++ b/AT91SAM7S256/Source/c_cmd_drawing.inc @@ -1709,7 +1709,7 @@ void cCmdDrawString(UBYTE *pString, ULONG X, ULONG Y, UBYTE InvertMode, UBYTE Lo //------------------------------------------------------------------ // cCmdRestoreDefaultScreen - Restore to Default 'Running' screen -__ramfunc void cCmdRestoreDefaultScreen(void) +void cCmdRestoreDefaultScreen(void) { //If this program has taken over the display, reset it for the UI if (VarsCmd.DirtyDisplay == TRUE) diff --git a/AT91SAM7S256/Source/c_comm.c b/AT91SAM7S256/Source/c_comm.c index f550ca3..1c9db04 100644 --- a/AT91SAM7S256/Source/c_comm.c +++ b/AT91SAM7S256/Source/c_comm.c @@ -62,11 +62,11 @@ enum dBtClearArm7CmdSignal();\ dBtInitReceive(VarsComm.BtModuleInBuf.Buf, (UBYTE)CMD_MODE, FALSE); -#define SETBtDataState(_m) IOMapComm.BtInBuf.InPtr = 0;\ - VarsComm.BtState = _m;\ +#define SETBtDataState IOMapComm.BtInBuf.InPtr = 0;\ + VarsComm.BtState = BT_ARM_DATA_MODE;\ dBtClearTimeOut(); /* stop cmd timeout because in datamode */\ dBtSetArm7CmdSignal();\ - dBtInitReceive(VarsComm.BtModuleInBuf.Buf, (UBYTE)STREAM_MODE, (_m == BT_ARM_DATA_MODE ? FALSE : TRUE)); + dBtInitReceive(VarsComm.BtModuleInBuf.Buf, (UBYTE)STREAM_MODE, IOMapComm.BtDataMode != DATA_MODE_NXT); #define SETBtOff VarsComm.BtState = BT_ARM_OFF;\ dBtSetBcResetPinLow() @@ -160,9 +160,10 @@ void cCommInit(void* pHeader) } IOMapComm.BtDeviceCnt = 0; IOMapComm.BrickData.BtStateStatus = 0; - IOMapComm.HsSpeed = HS_BAUD_921600; - IOMapComm.HsMode = HS_MODE_8N1; - IOMapComm.BtState = BT_ARM_DATA_MODE; + IOMapComm.HsSpeed = HS_BAUD_921600; + IOMapComm.HsMode = HS_MODE_8N1; + IOMapComm.BtDataMode = DATA_MODE_NXT; + IOMapComm.HsDataMode = DATA_MODE_RAW; cCommClrConnTable(); @@ -180,7 +181,18 @@ void cCommInit(void* pHeader) void cCommCtrl(void) { - + // remove the update flag from the hi-speed data mode field + IOMapComm.HsDataMode &= ~DATA_MODE_UPDATE; + + if (IOMapComm.BtDataMode & DATA_MODE_UPDATE) + { + // remove the update flag from the data mode field + IOMapComm.BtDataMode &= ~DATA_MODE_UPDATE; + // re-initialize the receiver (only changing the NoLengthBytes param) + + dBtInitReceive(VarsComm.BtModuleInBuf.Buf, (UBYTE)((VarsComm.BtState == BT_ARM_CMD_MODE) ? CMD_MODE : STREAM_MODE), IOMapComm.BtDataMode != DATA_MODE_NXT); + } + if (FALSE == cCommReceivedBtData()) { @@ -206,7 +218,7 @@ void cCommCtrl(void) switch (VarsComm.BtState) { - /* Bluetooth device can either be in CMD, DATA, STREAM or OFF state at top level */ + /* Bluetooth device can either be in CMD, DATA or OFF state at top level */ case BT_ARM_OFF: { } @@ -215,14 +227,12 @@ void cCommCtrl(void) { if (VarsComm.BtBcPinLevel) { - SETBtDataState(IOMapComm.BtState); + SETBtDataState; } } break; case BT_ARM_DATA_MODE: - case BT_ARM_GPS_MODE: - case BT_ARM_RAW_MODE: { if (!(VarsComm.BtBcPinLevel)) { @@ -232,8 +242,8 @@ void cCommCtrl(void) break; } } - // don't overwrite this byte when we are in GPS or RAW mode - if (VarsComm.BtState != BT_ARM_GPS_MODE && VarsComm.BtState != BT_ARM_RAW_MODE) + // don't overwrite this byte when we are in DATA GPS or RAW mode + if ((VarsComm.BtState == BT_ARM_CMD_MODE) || (IOMapComm.BtDataMode == DATA_MODE_NXT)) IOMapComm.BtInBuf.Buf[BT_CMD_BYTE] = 0; @@ -427,8 +437,10 @@ UWORD cCommInterprete(UBYTE *pInBuf, UBYTE *pOutBuf, UBYTE *pLength, UBYTE C case REPLY_CMD: { - /* If this is a reply to a direct command opcode, pRCHandler will handle it */ - if (pInBuf[1] < NUM_RC_OPCODES) + // in the enhanced firmware all replies (system or direct) go to the RC Handler function + // since it stores the last response in VarsCmd.LastResponseBuffer field +// /* If this is a reply to a direct command opcode, pRCHandler will handle it */ +// if (pInBuf[1] < NUM_RC_OPCODES) pMapCmd->pRCHandler(&(pInBuf[0]), NULL, pLength); /* No Reply ever required on REPLY_CMD messages */ @@ -478,6 +490,9 @@ UWORD cCommInterprete(UBYTE *pInBuf, UBYTE *pOutBuf, UBYTE *pLength, UBYTE C break; case REPLY_CMD: { + // in the enhanced firmware all replies (system or direct) go to the RC Handler function + // since it stores the last response in VarsCmd.LastResponseBuffer field + pMapCmd->pRCHandler(&(pInBuf[0]), NULL, pLength); } break; default: @@ -671,13 +686,19 @@ UWORD cCommInterpreteCmd(UBYTE Cmd, UBYTE *pInBuf, UBYTE *pOutBuf, UBYTE *pL Length = FileLength; /* Here test for channel - USB can only handle a 64 byte return (- wrapping )*/ - if (CmdBit & USB_CMD_READY) + if ((CmdBit & BT_CMD_READY) != BT_CMD_READY) { - if (FileLength > (SIZE_OF_USBBUF - 6)) + // USB or HS + UBYTE bufSize; + if (CmdBit & USB_CMD_READY) + bufSize = SIZE_OF_USBBUF; + else + bufSize = SIZE_OF_HSBUF; + if (FileLength > (bufSize - 6)) { /* Buffer cannot hold the requested data adjust to buffer size */ - FileLength = (SIZE_OF_USBBUF - 6); + FileLength = (bufSize - 6); } *pLength = FileLength + 4; Status = pMapLoader->pFunc(READ, &pInBuf[1], &pOutBuf[4], &FileLength); @@ -890,13 +911,18 @@ UWORD cCommInterpreteCmd(UBYTE Cmd, UBYTE *pInBuf, UBYTE *pOutBuf, UBYTE *pL FileLength <<= 8; FileLength |= pInBuf[7]; - if (CmdBit & USB_CMD_READY) + if (!(CmdBit & BT_CMD_READY)) { + UBYTE bufSize; + if (CmdBit & USB_CMD_READY) + bufSize = SIZE_OF_USBBUF; + else + bufSize = SIZE_OF_HSBUF; - /* test for USB buffer overrun */ - if (FileLength > (SIZE_OF_USBBUF - 9)) + /* test for USB or HS buffer overrun */ + if (FileLength > (bufSize - 9)) { - FileLength = SIZE_OF_USBBUF - 9; + FileLength = bufSize - 9; } } else @@ -1097,10 +1123,14 @@ UWORD cCommInterpreteCmd(UBYTE Cmd, UBYTE *pInBuf, UBYTE *pOutBuf, UBYTE *pL { MaxBufData = (SIZE_OF_USBDATA - 5); /* Substract wrapping */ } - else + else if (CmdBit & BT_CMD_READY) { MaxBufData = (SIZE_OF_BTBUF - 7); /* Substract wrapping + length bytes for BT*/ } + else // HS_CMD_READY + { + MaxBufData = (SIZE_OF_HSBUF - 5); /* Substract wrapping */ + } if (0x00 == pInBuf[1]) { @@ -1157,12 +1187,23 @@ UWORD cCommInterpreteCmd(UBYTE Cmd, UBYTE *pInBuf, UBYTE *pOutBuf, UBYTE *pL (*pLength) += 3; /* Add 3 bytes for the status byte, length byte and Buf no */ } break; + + case RENAMEFILE: + { + Status = pMapLoader->pFunc(RENAMEFILE, &pInBuf[1], &pInBuf[21], &FileLength); + pOutBuf[0] = LOADER_ERR_BYTE(Status); + pOutBuf[1] = LOADER_HANDLE(Status); + cCommCopyFileName(&pOutBuf[2], &pInBuf[1]); + cCommCopyFileName(&pOutBuf[22], &pInBuf[21]); + *pLength = 42; + } + break; case BTFACTORYRESET: { UWORD RtnVal; - if (CmdBit & USB_CMD_READY) + if ((CmdBit & USB_CMD_READY) || (CmdBit & HS_CMD_READY)) { if (SUCCESS == cCommReq(FACTORYRESET, 0, 0, 0, NULL, &RtnVal)) { @@ -1202,7 +1243,7 @@ UWORD cCommReceivedBtData(void) UWORD BytesToGo; UWORD RtnVal; - RtnVal = dBtReceivedData(&NumberOfBytes, &BytesToGo); + RtnVal = dBtReceivedData(&NumberOfBytes, &BytesToGo, IOMapComm.BtDataMode != DATA_MODE_NXT); if (TRUE == RtnVal) { @@ -1226,9 +1267,9 @@ UWORD cCommReceivedBtData(void) /* ActiveUpdate has to be idle because BC4 can send stream data even if CMD */ /* mode has been requested - dont try to interprete the data */ /* VarsComm.CmdSwitchCnt != 0 if a transition to Cmd mode is in process */ - if (0 == VarsComm.CmdSwitchCnt) + if ((VarsComm.BtState == BT_ARM_DATA_MODE) && (0 == VarsComm.CmdSwitchCnt)) { - if (VarsComm.BtState == BT_ARM_DATA_MODE) + if (IOMapComm.BtDataMode == DATA_MODE_NXT) { /* Move the inptr ahead */ @@ -1240,20 +1281,20 @@ UWORD cCommReceivedBtData(void) /* call the data stream interpreter */ cCommInterprete(IOMapComm.BtInBuf.Buf, IOMapComm.BtOutBuf.Buf, &(IOMapComm.BtOutBuf.InPtr), (UBYTE) BT_CMD_READY, BytesToGo); - /* if there is a reply to be sent then send it */ + /* if there is a reply to be send then send it */ if (IOMapComm.BtOutBuf.InPtr) { dBtSendMsg(IOMapComm.BtOutBuf.Buf, IOMapComm.BtOutBuf.InPtr, IOMapComm.BtOutBuf.InPtr); IOMapComm.BtOutBuf.InPtr = 0; } } - else if (VarsComm.BtState == BT_ARM_GPS_MODE) + else if (IOMapComm.BtDataMode == DATA_MODE_GPS) { /* Move the inptr ahead */ IOMapComm.BtInBuf.InPtr = NumberOfBytes; // interpret GPS sentence? } - else if (VarsComm.BtState == BT_ARM_RAW_MODE) + else if (IOMapComm.BtDataMode == DATA_MODE_RAW) { /* Move the inptr ahead */ IOMapComm.BtInBuf.InPtr = NumberOfBytes; @@ -1470,18 +1511,45 @@ void cCommReceivedHiSpeedData(void) if (NumberOfBytes != 0) { - for (Tmp = 0; Tmp < NumberOfBytes; Tmp++) + if (IOMapComm.HsDataMode != DATA_MODE_NXT) { - IOMapComm.HsInBuf.Buf[IOMapComm.HsInBuf.InPtr] = VarsComm.HsModuleInBuf.Buf[Tmp]; - IOMapComm.HsInBuf.InPtr++; - if (IOMapComm.HsInBuf.InPtr > (SIZE_OF_HSBUF - 1)) + // this is the normal way to handle incoming hi-speed data + for (Tmp = 0; Tmp < NumberOfBytes; Tmp++) { - IOMapComm.HsInBuf.InPtr = 0; + IOMapComm.HsInBuf.Buf[IOMapComm.HsInBuf.InPtr] = VarsComm.HsModuleInBuf.Buf[Tmp]; + IOMapComm.HsInBuf.InPtr++; + if (IOMapComm.HsInBuf.InPtr > (SIZE_OF_HSBUF - 1)) + { + IOMapComm.HsInBuf.InPtr = 0; + } + VarsComm.HsModuleInBuf.Buf[Tmp] = 0; } - VarsComm.HsModuleInBuf.Buf[Tmp] = 0; - } /* Now new data is available from the HIGH SPEED port ! */ + } + else + { + // receiving hi-speed data in NXT mode + /* Copy the bytes into the IOMapBuffer */ + memcpy((IOMapComm.HsInBuf.Buf), (VarsComm.HsModuleInBuf.Buf), NumberOfBytes); + + + /* Move the inptr ahead */ + IOMapComm.HsInBuf.InPtr = NumberOfBytes; + + /* using the outbuf inptr in order to get the number of bytes in the return answer at the right place*/ + IOMapComm.HsOutBuf.InPtr = NumberOfBytes; + + /* call the data stream interpreter */ + cCommInterprete(IOMapComm.HsInBuf.Buf, IOMapComm.HsOutBuf.Buf, &(IOMapComm.HsOutBuf.InPtr), (UBYTE) HS_CMD_READY, NumberOfBytes); + + /* if there is a reply to be sent then send it */ + if (IOMapComm.HsOutBuf.InPtr) + { + dHiSpeedSendData(IOMapComm.HsOutBuf.Buf, IOMapComm.HsOutBuf.InPtr); + IOMapComm.HsOutBuf.InPtr = 0; + } + } } } @@ -1857,7 +1925,7 @@ void cCommUpdateBt(void) { IOMapComm.BtConnectTable[(VarsComm.BtUpdateDataConnectNr & ~0x80)].StreamStatus = 1; *(VarsComm.pRetVal) = SUCCESS; - SETBtDataState(IOMapComm.BtState); + SETBtDataState; SETBtStateIdle; } } @@ -2653,7 +2721,7 @@ void cCommUpdateBt(void) { IOMapComm.BtConnectTable[0].StreamStatus = 1; *(VarsComm.pRetVal) = SUCCESS; - SETBtDataState(IOMapComm.BtState); + SETBtDataState; SETBtStateIdle; } } @@ -3335,7 +3403,7 @@ void cCommsOpenStream(UBYTE *pNextState) { if (VarsComm.BtBcPinLevel) { - SETBtDataState(IOMapComm.BtState); + SETBtDataState; IOMapComm.BtConnectTable[VarsComm.BtCmdData.ParamTwo].StreamStatus = 1; VarsComm.StreamStateCnt = 0; (*pNextState)++; diff --git a/AT91SAM7S256/Source/c_comm.iom b/AT91SAM7S256/Source/c_comm.iom index 0f6648b..98edff7 100644 --- a/AT91SAM7S256/Source/c_comm.iom +++ b/AT91SAM7S256/Source/c_comm.iom @@ -38,10 +38,15 @@ enum BT_ARM_OFF, BT_ARM_CMD_MODE, BT_ARM_DATA_MODE, - BT_ARM_GPS_MODE, - BT_ARM_RAW_MODE }; +// Constants refering to BtDataMode and HsDataMode +#define DATA_MODE_NXT 0x00 +#define DATA_MODE_GPS 0x01 +#define DATA_MODE_RAW 0x02 +#define DATA_MODE_MASK 0x07 +#define DATA_MODE_UPDATE 0x08 + //Constant reffering to BtStateStatus #define BT_BRICK_VISIBILITY 0x01 #define BT_BRICK_PORT_OPEN 0x02 @@ -267,11 +272,12 @@ typedef struct UBYTE HsState; UBYTE UsbState; + UBYTE Spare1; // fill the vacant byte that would otherwise be here UWORD HsMode; - UBYTE BtState; // off, cmd, data, gps, raw - UBYTE Unused1; + UBYTE BtDataMode; // nxt, gps, raw + UBYTE HsDataMode; // nxt, gps, raw }IOMAPCOMM; diff --git a/AT91SAM7S256/Source/c_display.c b/AT91SAM7S256/Source/c_display.c index 0c6f1b2..1732667 100644 --- a/AT91SAM7S256/Source/c_display.c +++ b/AT91SAM7S256/Source/c_display.c @@ -336,8 +336,7 @@ void cDisplayLineX(UBYTE X1, UBYTE X2, UBYTE Y, UBYTE PixelMode) M = 1 << (Y % 8); Y >>= 3; - - for (X=X1; X<=X2; X++) + for (X = X1;X <= X2;X++) { switch (PixelMode) { @@ -461,6 +460,7 @@ void cDisplayFillScreen(SCREEN_CORDINATE *pCord, UBYTE PixelMode) } } + void cDisplayDraw(UBYTE Cmd,UBYTE PixelMode,UBYTE X1,UBYTE Y1,UBYTE X2,UBYTE Y2) { SCREEN_CORDINATE Coord; diff --git a/AT91SAM7S256/Source/c_input.c b/AT91SAM7S256/Source/c_input.c index 2786326..4c4dc01 100644 --- a/AT91SAM7S256/Source/c_input.c +++ b/AT91SAM7S256/Source/c_input.c @@ -2,11 +2,11 @@ // // Date init 14.12.2004 // -// Revision date $Date:: 3/21/09 10:31a $ +// Revision date $Date:: 19-03-10 12:36 $ // // Filename $Workfile:: c_input.c $ // -// Version $Revision:: 39 $ +// Version $Revision:: 40 $ // // Archive $Archive:: /LMS2006/Sys01/Main_V02/Firmware/Source/c_inpu $ // @@ -263,9 +263,12 @@ void cInputCtrl(void) /* A type change has been carried out earlier - waiting for valid data */ /* The color sensor requires special startup sequence with communication */ - if ((sType == COLORFULL) || (sType == COLORRED) || - (sType == COLORGREEN)|| (sType == COLORBLUE) || - (sType == COLOREXIT) || (sType == COLORNONE)) + if ((sType == COLORFULL) || + (sType == COLORRED) || + (sType == COLORGREEN)|| + (sType == COLORBLUE) || + (sType == COLOREXIT) || + (sType == COLORNONE)) { cInputCalcSensorValues(Tmp); } @@ -359,10 +362,11 @@ void cInputCalcSensorValues(UBYTE No) &(VarsInput.EdgeCnt[No]), ((IOMapInput.Inputs[No].SensorMode) & SLOPEMASK), ((IOMapInput.Inputs[No].SensorMode) & MODEMASK)); + } break; - /* Triple case intended */ + /* Tripple case intended */ case LOWSPEED: case LOWSPEED_9V: case HIGHSPEED: @@ -382,11 +386,6 @@ void cInputCalcSensorValues(UBYTE No) { case SENSOROFF: { - - /* Make sure that sensor data are invalid while unplugged*/ - VarsInput.InvalidTimer[No] = INVALID_RELOAD_COLOR; - IOMapInput.Inputs[No].InvalidData = INVALID_DATA; - /* Check if sensor has been attached */ if (dInputCheckColorStatus(No)) { @@ -449,11 +448,6 @@ void cInputCalcSensorValues(UBYTE No) { case SENSOROFF: { - - /* Make sure that sensor data are invalid while unplugged */ - VarsInput.InvalidTimer[No] = INVALID_RELOAD_COLOR; - IOMapInput.Inputs[No].InvalidData = INVALID_DATA; - /* Check if sensor has been attached */ if (dInputCheckColorStatus(No)) { @@ -1109,6 +1103,8 @@ void cInputSetupType(UBYTE Port, UBYTE newType, UBYTE OldType) dInputSetDirInDigi1(Port); IOMapInput.Colors[Port].CalibrationState = SENSORCAL; VarsInput.VarsColor[Port].ColorInitState = 0; + + IOMapInput.Inputs[Port].SensorValue = BLACKCOLOR; } break; diff --git a/AT91SAM7S256/Source/c_loader.c b/AT91SAM7S256/Source/c_loader.c index d6ee342..b9f290f 100644 --- a/AT91SAM7S256/Source/c_loader.c +++ b/AT91SAM7S256/Source/c_loader.c @@ -312,10 +312,7 @@ UWORD cLoaderFileRq(UBYTE Cmd, UBYTE *pFileName, UBYTE *pBuffer, ULONG *pLen case DELETE: { ReturnState = cLoaderDeleteFile(pFileName); -/* - ReturnState = dLoaderDelete(pFileName); - IOMapLoader.FreeUserFlash = dLoaderReturnFreeUserFlash(); -*/ + } break; case DELETEUSERFLASH: diff --git a/AT91SAM7S256/Source/c_loader.iom b/AT91SAM7S256/Source/c_loader.iom index 6ad2d53..c0549b1 100644 --- a/AT91SAM7S256/Source/c_loader.iom +++ b/AT91SAM7S256/Source/c_loader.iom @@ -1,11 +1,11 @@ // // Date init 14.12.2004 // -// Revision date $Date:: 16-12-08 12:11 $ +// Revision date $Date:: 19-03-10 12:36 $ // // Filename $Workfile:: c_loader.iom $ // -// Version $Revision:: 14 $ +// Version $Revision:: 17 $ // // Archive $Archive:: /LMS2006/Sys01/Main_V02/Firmware/Source/c_load $ // @@ -21,7 +21,7 @@ //For example, version 1.5 would be 0x0105 //If these switch to little-endian, be sure to update //definition and usages of VM_OLDEST_COMPATIBLE_VERSION, too! -#define FIRMWAREVERSION 0x011C //1.28 +#define FIRMWAREVERSION 0x011F //1.31 #define PROTOCOLVERSION 0x017C //1.124 enum diff --git a/AT91SAM7S256/Source/c_output.c b/AT91SAM7S256/Source/c_output.c index ca3c494..212cc89 100644 --- a/AT91SAM7S256/Source/c_output.c +++ b/AT91SAM7S256/Source/c_output.c @@ -92,7 +92,7 @@ void cOutputCtrl(void) pOut->Flags &= ~UPDATE_SPEED; if (pOut->Mode & MOTORON) { - dOutputSetSpeed(Tmp, pOut->RunState, pOut->Speed, pOut->SyncTurnParameter); + dOutputSetSpeed (Tmp, pOut->RunState, pOut->Speed, pOut->SyncTurnParameter); } } if (pOut->Flags & UPDATE_TACHO_LIMIT) diff --git a/AT91SAM7S256/Source/d_loader.c b/AT91SAM7S256/Source/d_loader.c index 86f428f..99624e8 100644 --- a/AT91SAM7S256/Source/d_loader.c +++ b/AT91SAM7S256/Source/d_loader.c @@ -1,11 +1,11 @@ // // Date init 14.12.2004 // -// Revision date $Date:: 2-12-08 14:30 $ +// Revision date $Date:: 24-06-09 8:53 $ // // Filename $Workfile:: d_loader.c $ // -// Version $Revision:: 16 $ +// Version $Revision:: 18 $ // // Archive $Archive:: /LMS2006/Sys01/Main_V02/Firmware/Source/d_load $ // @@ -20,7 +20,7 @@ #include #include -#define FILEVERSION (0x0000010CL) +#define FILEVERSION (0x0000010DL) //(0x0000010CL) #define MAX_FILES ((FILETABLE_SIZE) - 1) /* Last file entry is used for file version*/ #define FILEVERSIONINDEX ((FILETABLE_SIZE) - 1) /* Last file entry is used for file version*/ @@ -219,7 +219,9 @@ UWORD dLoaderDeleteFilePtr(UWORD Handle) /* Update the HandleTable[].FileIndex */ for (LongCnt = 0; LongCnt < MAX_HANDLES; LongCnt++) { - if ((HandleTable[Handle].FileIndex <= HandleTable[LongCnt].FileIndex) && (FREE != HandleTable[LongCnt].Status)) + + /* FileIndex must not be decremented for to the file to be deleted (when Handle = LongCnt)*/ + if ((HandleTable[Handle].FileIndex < HandleTable[LongCnt].FileIndex) && (FREE != HandleTable[LongCnt].Status)) { (HandleTable[LongCnt].FileIndex)--; } diff --git a/AT91SAM7S256/Source/d_loader.h b/AT91SAM7S256/Source/d_loader.h index 2f564ba..e5ecb82 100644 --- a/AT91SAM7S256/Source/d_loader.h +++ b/AT91SAM7S256/Source/d_loader.h @@ -1,11 +1,11 @@ // // Date init 14.12.2004 // -// Revision date $Date:: 3/21/09 10:03a $ +// Revision date $Date:: 24-06-09 12:15 $ // // Filename $Workfile:: d_loader.h $ // -// Version $Revision:: 17 $ +// Version $Revision:: 18 $ // // Archive $Archive:: /LMS2006/Sys01/Main_V02/Firmware/Source/d_load $ // @@ -18,7 +18,7 @@ #define FILETABLE_SIZE ((2 * SECTORSIZE)/4) #define STARTOFFILETABLE (0x140000L - (FILETABLE_SIZE*4)) #define FILEPTRTABLE ((const ULONG*)(0x140000L - (FILETABLE_SIZE*4))) -#define STARTOFUSERFLASH (0x125800L)//(0x124600L) +#define STARTOFUSERFLASH (0x125800L)//(0x124600L) 1.31 == (0x122100L) #define SIZEOFUSERFLASH ((ULONG)STARTOFFILETABLE - STARTOFUSERFLASH) #define SIZEOFFLASH 262144L diff --git a/AT91SAM7S256/Source/d_lowspeed.r b/AT91SAM7S256/Source/d_lowspeed.r index 3ca660d..30e71b8 100644 --- a/AT91SAM7S256/Source/d_lowspeed.r +++ b/AT91SAM7S256/Source/d_lowspeed.r @@ -144,87 +144,121 @@ const ULONG CLK_OR_DATA_PINS[4] = {CHANNEL_ONE_CLK | CHANNEL_ONE_DATA, #define SETDebugOutputLow *AT91C_PIOA_CODR = 0x20000000 + #define SETClkComOneHigh *AT91C_PIOA_SODR = CHANNEL_ONE_CLK + #define SETClkComOneLow *AT91C_PIOA_CODR = CHANNEL_ONE_CLK + #define GetClkComOnePinLevel *AT91C_PIOA_PDSR & CHANNEL_ONE_CLK #define SETClkComTwoHigh *AT91C_PIOA_SODR = CHANNEL_TWO_CLK + #define SETClkComTwoLow *AT91C_PIOA_CODR = CHANNEL_TWO_CLK + #define GetClkComTwoPinLevel *AT91C_PIOA_PDSR & CHANNEL_TWO_CLK #define SETClkComThreeHigh *AT91C_PIOA_SODR = CHANNEL_THREE_CLK + #define SETClkComThreeLow *AT91C_PIOA_CODR = CHANNEL_THREE_CLK + #define GetClkComThreePinLevel *AT91C_PIOA_PDSR & CHANNEL_THREE_CLK #define SETClkComFourHigh *AT91C_PIOA_SODR = CHANNEL_FOUR_CLK + #define SETClkComFourLow *AT91C_PIOA_CODR = CHANNEL_FOUR_CLK + #define GetClkComFourPinLevel *AT91C_PIOA_PDSR & CHANNEL_FOUR_CLK + #define SETDataComOneHigh *AT91C_PIOA_SODR = CHANNEL_ONE_DATA + #define SETDataComOneLow *AT91C_PIOA_CODR = CHANNEL_ONE_DATA + #define GetDataComOnePinLevel *AT91C_PIOA_PDSR & CHANNEL_ONE_DATA + #define GETDataComOnePinDirection *AT91C_PIOA_OSR & CHANNEL_ONE_DATA #define SETDataComTwoHigh *AT91C_PIOA_SODR = CHANNEL_TWO_DATA + #define SETDataComTwoLow *AT91C_PIOA_CODR = CHANNEL_TWO_DATA + #define GetDataComTwoPinLevel *AT91C_PIOA_PDSR & CHANNEL_TWO_DATA + #define GETDataComTwoPinDirection *AT91C_PIOA_OSR & CHANNEL_TWO_DATA #define SETDataComThreeHigh *AT91C_PIOA_SODR = CHANNEL_THREE_DATA + #define SETDataComThreeLow *AT91C_PIOA_CODR = CHANNEL_THREE_DATA + #define GetDataComThreePinLevel *AT91C_PIOA_PDSR & CHANNEL_THREE_DATA + #define GETDataComThreePinDirection *AT91C_PIOA_OSR & CHANNEL_THREE_DATA #define SETDataComFourHigh *AT91C_PIOA_SODR = CHANNEL_FOUR_DATA + #define SETDataComFourLow *AT91C_PIOA_CODR = CHANNEL_FOUR_DATA + #define GetDataComFourPinLevel *AT91C_PIOA_PDSR & CHANNEL_FOUR_DATA + #define GETDataComFourPinDirection *AT91C_PIOA_OSR & CHANNEL_FOUR_DATA #define SETDataComOneToInput *AT91C_PIOA_ODR = CHANNEL_ONE_DATA; + #define SETDataComOneToOutput *AT91C_PIOA_OER = CHANNEL_ONE_DATA; #define SETDataComTwoToInput *AT91C_PIOA_ODR = CHANNEL_TWO_DATA; + #define SETDataComTwoToOutput *AT91C_PIOA_OER = CHANNEL_TWO_DATA; #define SETDataComThreeToInput *AT91C_PIOA_ODR = CHANNEL_THREE_DATA; + #define SETDataComThreeToOutput *AT91C_PIOA_OER = CHANNEL_THREE_DATA; #define SETDataComFourToInput *AT91C_PIOA_ODR = CHANNEL_FOUR_DATA; + #define SETDataComFourToOutput *AT91C_PIOA_OER = CHANNEL_FOUR_DATA; #define DISABLEPullupDataComOne *AT91C_PIOA_PPUDR = CHANNEL_ONE_DATA; + #define DISABLEPullupClkComOne *AT91C_PIOA_PPUDR = CHANNEL_ONE_CLK; #define DISABLEPullupDataComTwo *AT91C_PIOA_PPUDR = CHANNEL_TWO_DATA; + #define DISABLEPullupClkComTwo *AT91C_PIOA_PPUDR = CHANNEL_TWO_CLK; #define DISABLEPullupDataComThree *AT91C_PIOA_PPUDR = CHANNEL_THREE_DATA; + #define DISABLEPullupClkComThree *AT91C_PIOA_PPUDR = CHANNEL_THREE_CLK; #define DISABLEPullupDataComFour *AT91C_PIOA_PPUDR = CHANNEL_FOUR_DATA; + #define DISABLEPullupClkComFour *AT91C_PIOA_PPUDR = CHANNEL_FOUR_CLK; #define ENABLEPullupDataComOne *AT91C_PIOA_PPUER = CHANNEL_ONE_DATA; + #define ENABLEPullupClkComOne *AT91C_PIOA_PPUER = CHANNEL_ONE_CLK; #define ENABLEPullupDataComTwo *AT91C_PIOA_PPUER = CHANNEL_TWO_DATA; + #define ENABLEPullupClkComTwo *AT91C_PIOA_PPUER = CHANNEL_TWO_CLK; #define ENABLEPullupDataComThree *AT91C_PIOA_PPUER = CHANNEL_THREE_DATA; + #define ENABLEPullupClkComThree *AT91C_PIOA_PPUER = CHANNEL_THREE_CLK; #define ENABLEPullupDataComFour *AT91C_PIOA_PPUER = CHANNEL_FOUR_DATA; + #define ENABLEPullupClkComFour *AT91C_PIOA_PPUER = CHANNEL_FOUR_CLK; #define SETClkLow(ChannelNr) {\ *AT91C_PIOA_CODR = CLK_PINS[ChannelNr];\ LowSpeedData[ChannelNr].ClkStatus = 0;\ -} + } #define SETClkHigh(ChannelNr) {\ *AT91C_PIOA_SODR = CLK_PINS[ChannelNr];\ LowSpeedData[ChannelNr].ClkStatus = 1;\ -} + } #define SETDataLow(ChannelNr) {\ *AT91C_PIOA_CODR = DATA_PINS[ChannelNr];\ @@ -248,11 +282,11 @@ const ULONG CLK_OR_DATA_PINS[4] = {CHANNEL_ONE_CLK | CHANNEL_ONE_DATA, #define ENABLEPWMTimerForLowCom {\ *AT91C_PWMC_ENA = AT91C_PWMC_CHID0; /* Enable PWM output channel 0 */\ -} + } #define DISABLEPWMTimerForLowCom {\ *AT91C_PWMC_DIS = AT91C_PWMC_CHID0; /* Disable PWM output channel 0 */\ -} + } #define OLD_DISABLEPWMTimerForLowCom {\ *AT91C_PWMC_DIS = AT91C_PWMC_CHID0; /* Disable PWM output channel 0 */\ @@ -609,7 +643,7 @@ __ramfunc void LowSpeedPwmIrqHandler(void) LowSpeedData[ChannelNumber].RxState = RX_DATA_CLK_LOW;\ LowSpeedData[ChannelNumber].ReStartBit = (1 - (NoRestart & (1< 500) + { + SyncData.SyncTachoDif = 500; + } + if (SyncData.SyncTachoDif < -500) + { + SyncData.SyncTachoDif = -500; + } + + /* if ((SWORD)SyncData.SyncTachoDif > 500) { SyncData.SyncTachoDif = 500; @@ -971,6 +981,7 @@ void dOutputSyncMotorPosition(UBYTE MotorOne, UBYTE MotorTwo) { SyncData.SyncTachoDif = -500; } + */ PValue = (SWORD)SyncData.SyncTachoDif * (SWORD)(pOne->RegPParameter/REG_CONST_DIV); @@ -1116,140 +1127,6 @@ void dOutputMotorReachedTachoLimit(UBYTE MotorNr) pTwo->MotorRunState = pTwo->RunStateAtLimit; pTwo->RegulationMode = REGSTATE_IDLE; } -/* - if (MotorNr == MOTOR_A) - { - MotorOne = MotorNr; - MotorTwo = MotorOne + 1; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor A & B - MotorData[MotorOne].MotorSetSpeed = 0; - MotorData[MotorOne].MotorTargetSpeed = 0; - MotorData[MotorOne].MotorActualSpeed = 0; - MotorData[MotorOne].MotorRunState = pOne->RunStateAtLimit; - MotorData[MotorOne].RegulationMode = REGSTATE_IDLE; - MotorData[MotorTwo].MotorSetSpeed = 0; - MotorData[MotorTwo].MotorTargetSpeed = 0; - MotorData[MotorTwo].MotorActualSpeed = 0; - MotorData[MotorTwo].MotorRunState = pTwo->RunStateAtLimit; - MotorData[MotorTwo].RegulationMode = REGSTATE_IDLE; - } - else - { - MotorTwo = MotorOne + 2; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor A & C - MotorData[MotorOne].MotorSetSpeed = 0; - MotorData[MotorOne].MotorTargetSpeed = 0; - MotorData[MotorOne].MotorActualSpeed = 0; - MotorData[MotorOne].MotorRunState = pOne->RunStateAtLimit; - MotorData[MotorOne].RegulationMode = REGSTATE_IDLE; - MotorData[MotorTwo].MotorSetSpeed = 0; - MotorData[MotorTwo].MotorTargetSpeed = 0; - MotorData[MotorTwo].MotorActualSpeed = 0; - MotorData[MotorTwo].MotorRunState = pTwo->RunStateAtLimit; - MotorData[MotorTwo].RegulationMode = REGSTATE_IDLE; - } - else - { - //Only Motor A has Sync setting => Stop normal - MotorData[MotorNr].MotorSetSpeed = 0; - MotorData[MotorNr].MotorTargetSpeed = 0; - MotorData[MotorNr].MotorActualSpeed = 0; - MotorData[MotorNr].MotorRunState = pOne->RunStateAtLimit; - MotorData[MotorNr].RegulationMode = REGSTATE_IDLE; - } - } - } - if (MotorNr == MOTOR_B) - { - MotorOne = MotorNr; - MotorTwo = MotorOne - 1; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor A & B - MotorData[MotorOne].MotorSetSpeed = 0; - MotorData[MotorOne].MotorTargetSpeed = 0; - MotorData[MotorOne].MotorActualSpeed = 0; - MotorData[MotorOne].MotorRunState = pOne->RunStateAtLimit; - MotorData[MotorOne].RegulationMode = REGSTATE_IDLE; - MotorData[MotorTwo].MotorSetSpeed = 0; - MotorData[MotorTwo].MotorTargetSpeed = 0; - MotorData[MotorTwo].MotorActualSpeed = 0; - MotorData[MotorTwo].MotorRunState = pTwo->RunStateAtLimit; - MotorData[MotorTwo].RegulationMode = REGSTATE_IDLE; - } - MotorTwo = MotorOne + 1; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor B & C - MotorData[MotorOne].MotorSetSpeed = 0; - MotorData[MotorOne].MotorTargetSpeed = 0; - MotorData[MotorOne].MotorActualSpeed = 0; - MotorData[MotorOne].MotorRunState = pOne->RunStateAtLimit; - MotorData[MotorOne].RegulationMode = REGSTATE_IDLE; - MotorData[MotorTwo].MotorSetSpeed = 0; - MotorData[MotorTwo].MotorTargetSpeed = 0; - MotorData[MotorTwo].MotorActualSpeed = 0; - MotorData[MotorTwo].MotorRunState = pTwo->RunStateAtLimit; - MotorData[MotorTwo].RegulationMode = REGSTATE_IDLE; - } - else - { - //Only Motor B has Sync settings => Stop normal - MotorData[MotorNr].MotorSetSpeed = 0; - MotorData[MotorNr].MotorTargetSpeed = 0; - MotorData[MotorNr].MotorActualSpeed = 0; - MotorData[MotorNr].MotorRunState = pOne->RunStateAtLimit; - MotorData[MotorNr].RegulationMode = REGSTATE_IDLE; - } - } - if (MotorNr == MOTOR_C) - { - MotorOne = MotorNr; - MotorTwo = MotorOne - 2; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor A & C - MotorData[MotorOne].MotorSetSpeed = 0; - MotorData[MotorOne].MotorTargetSpeed = 0; - MotorData[MotorOne].MotorActualSpeed = 0; - MotorData[MotorOne].MotorRunState = pOne->RunStateAtLimit; - MotorData[MotorOne].RegulationMode = REGSTATE_IDLE; - MotorData[MotorTwo].MotorSetSpeed = 0; - MotorData[MotorTwo].MotorTargetSpeed = 0; - MotorData[MotorTwo].MotorActualSpeed = 0; - MotorData[MotorTwo].MotorRunState = pTwo->RunStateAtLimit; - MotorData[MotorTwo].RegulationMode = REGSTATE_IDLE; - } - MotorTwo = MotorOne - 1; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor B & C - MotorData[MotorOne].MotorSetSpeed = 0; - MotorData[MotorOne].MotorTargetSpeed = 0; - MotorData[MotorOne].MotorActualSpeed = 0; - MotorData[MotorOne].MotorRunState = pOne->RunStateAtLimit; - MotorData[MotorOne].RegulationMode = REGSTATE_IDLE; - MotorData[MotorTwo].MotorSetSpeed = 0; - MotorData[MotorTwo].MotorTargetSpeed = 0; - MotorData[MotorTwo].MotorActualSpeed = 0; - MotorData[MotorTwo].MotorRunState = pTwo->RunStateAtLimit; - MotorData[MotorTwo].RegulationMode = REGSTATE_IDLE; - } - else - { - //Only Motor C has Sync settings => Stop normal - MotorData[MotorNr].MotorSetSpeed = 0; - MotorData[MotorNr].MotorTargetSpeed = 0; - MotorData[MotorNr].MotorActualSpeed = 0; - MotorData[MotorNr].MotorRunState = pOne->RunStateAtLimit; - MotorData[MotorNr].RegulationMode = REGSTATE_IDLE; - } - } -*/ } else { @@ -1281,83 +1158,6 @@ void dOutputSyncTachoLimitControl(UBYTE MotorNr) } if (MotorTwo == 0xFF) MotorOne = 0xFF; -/* - if (MotorNr == MOTOR_A) - { - MotorOne = MotorNr; - MotorTwo = MotorOne + 1; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor A & B - } - else - { - MotorTwo = MotorOne + 2; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor A & C - } - else - { - //Only Motor A has Sync setting => Stop normal - MotorOne = 0xFF; - MotorTwo = 0xFF; - } - } - } - if (MotorNr == MOTOR_B) - { - MotorOne = MotorNr; - MotorTwo = MotorOne - 1; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor A & B, which has already been called when running throught motor A - //MotorOne = 0xFF; - //MotorTwo = 0xFF; - } - else - { - MotorTwo = MotorOne + 1; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor B & C - } - else - { - //Only Motor B has Sync settings => Stop normal - MotorOne = 0xFF; - MotorTwo = 0xFF; - } - } - } - if (MotorNr == MOTOR_C) - { - MotorOne = MotorNr; - MotorTwo = MotorOne - 2; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor A & C, which has already been called when running throught motor A - //MotorOne = 0xFF; - //MotorTwo = 0xFF; - } - else - { - MotorTwo = MotorOne - 1; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor B & C, which has already been called when running throught motor B - //MotorOne = 0xFF; - //MotorTwo = 0xFF; - } - else - { - //Only Motor C has Sync settings => Stop normal - MotorOne = 0xFF; - MotorTwo = 0xFF; - } - } - } -*/ if ((MotorOne != 0xFF) && (MotorTwo != 0xFF)) { MOTORDATA * pOne = &(MotorData[MotorOne]); @@ -1523,77 +1323,6 @@ void dOutputResetSyncMotors(UBYTE MotorNr) } if (MotorTwo == 0xFF) MotorOne = 0xFF; -/* - if (MotorNr == MOTOR_A) - { - MotorOne = MotorNr; - MotorTwo = MotorOne + 1; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor A & B - } - else - { - MotorTwo = MotorOne + 2; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor A & C - } - else - { - //Only Motor A has Sync setting => Stop normal - MotorOne = 0xFF; - MotorTwo = 0xFF; - } - } - } - if (MotorNr == MOTOR_B) - { - MotorOne = MotorNr; - MotorTwo = MotorOne - 1; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor A & B - } - else - { - MotorTwo = MotorOne + 1; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor B & C - } - else - { - //Only Motor B has Sync settings => Stop normal - MotorOne = 0xFF; - MotorTwo = 0xFF; - } - } - } - if (MotorNr == MOTOR_C) - { - MotorOne = MotorNr; - MotorTwo = MotorOne - 2; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor A & C - } - else - { - MotorTwo = MotorOne - 1; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor B & C - } - else - { - //Only Motor C has Sync settings => Stop normal - MotorOne = 0xFF; - MotorTwo = 0xFF; - } - } - } -*/ MOTORDATA * pMD = &(MotorData[MotorNr]); if ((MotorOne != 0xFF) && (MotorTwo != 0xFF)) { @@ -1627,79 +1356,6 @@ void dOutputRampDownSynch(UBYTE MotorNr) } if (MotorTwo == 0xFF) MotorOne = 0xFF; -/* - if (MotorNr == MOTOR_A) - { - MotorOne = MotorNr; - MotorTwo = MotorOne + 1; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor A & B - } - else - { - MotorTwo = MotorOne + 2; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor A & C - } - else - { - //Only Motor A has Sync setting => Stop normal - MotorOne = 0xFF; - MotorTwo = 0xFF; - } - } - } - if (MotorNr == MOTOR_B) - { - MotorOne = MotorNr; - MotorTwo = MotorOne - 1; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor A & B, which has already been called when running throught motor A - //MotorOne = 0xFF; - //MotorTwo = 0xFF; - } - else - { - MotorTwo = MotorOne + 1; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor B & C - } - else - { - //Only Motor B has Sync settings => Stop normal - MotorOne = 0xFF; - MotorTwo = 0xFF; - } - } - } - if (MotorNr == MOTOR_C) - { - MotorOne = MotorNr; - MotorTwo = MotorOne - 2; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor A & C, which has already been called when running throught motor A - } - else - { - MotorTwo = MotorOne - 1; - if (MotorData[MotorTwo].RegulationMode & REGSTATE_SYNCHRONE) - { - //Synchronise motor B & C,, which has already been called when running throught motor B - } - else - { - //Only Motor C has Sync settings => Stop normal - MotorOne = 0xFF; - MotorTwo = 0xFF; - } - } - } -*/ if ((MotorOne != 0xFF) && (MotorTwo != 0xFF)) { MOTORDATA * pOne = &(MotorData[MotorOne]); -- cgit v1.2.3 From f6a7a27faf5edb01a18d27e2f369e939cf99e521 Mon Sep 17 00:00:00 2001 From: John Hansen Date: Mon, 25 Apr 2011 02:21:02 +0000 Subject: Fixed text clipping defect git-svn-id: https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc/branches/version_131@38 c9361245-7fe8-9947-84e8-057757c4e366 --- AT91SAM7S256/Source/c_cmd_drawing.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AT91SAM7S256/Source/c_cmd_drawing.inc') diff --git a/AT91SAM7S256/Source/c_cmd_drawing.inc b/AT91SAM7S256/Source/c_cmd_drawing.inc index 41e405a..5592180 100644 --- a/AT91SAM7S256/Source/c_cmd_drawing.inc +++ b/AT91SAM7S256/Source/c_cmd_drawing.inc @@ -1658,7 +1658,7 @@ void cCmdDrawString(UBYTE *pString, ULONG X, ULONG Y, UBYTE InvertMode, UBYTE Lo //Calculate X coordinate of the right edge of this character. //If it will extend past the right edge, clip the string. X += FontWidth; - if (X >= DISPLAY_WIDTH) + if (X > DISPLAY_WIDTH) // JCH: was >= This clipped text that ended at pixel 99 break; //If Item is defined by the font, display it. Else, ignore it. -- cgit v1.2.3