2 Replies Latest reply on Jun 1, 2010 8:51 PM by ganesh.raaja.maharajan

    ImageCraft compiler and memset function, paging problem

    zbigniew.lipinski

      After I switched from HiTech to ImageCraft compiler I found functional errors in the program, which previously worked fine. A closer investigation showed, that a line:

         

       memset (displayLine, ' ', DISPLAY_SIZE);

         

      had no effect. However if, before the call to memset, I load the MVW_PP register with displayLine's page number, the code works as expected.

         

      Is it a bug in the memset function (caused by overlooking the fact that the new compiler handles paging differently), or should I just change something in the code or settings ?

         

      TIA for help.