[an error occurred while processing this directive]
[an error occurred while processing this directive]
|
Я эмуляцию ЖКИ делаю так:
1.определяем режим отладки
#define Debug_Ind
2.Выделяем область памяти, за границей используемой XDATA
#ifdef Debug_Ind
#define Buf_Displey_Debug 0x00800
#endif3. В отадчике в Memory Window устанавливаем Address: X:0x800, режим вывода ASCII
Например см. п/п:
void ClearDisplay()
{
#ifdef Debug_Ind
data char i;
Count_Poz_Debug = 0;
for (i=0;i!=0x70;i++)
{
Mem[Buf_Displey_Debug+i] = ' ';
}
#else
Wait_Ready_Ind();
WrInstrInd = _IndClr;
Wait_Ready_Ind();
WrInstrInd = _IndReturn;
#endif
}//void ClearDisplay()
E-mail: info@telesys.ru