void VWB_Plot (id0_int_t x, id0_int_t y, id0_int_t color) { x+=pansx; y+=pansy; if (VW_MarkUpdateBlock (x,y,x,y)) VW_Plot(x,y,color); }
void VWB_Plot( int x, int y, std::uint8_t color) { VW_Plot(x, y, color); }
void MM_ShowMemory (void) { mmblocktype id0_far *scan; id0_unsigned_t color,temp; id0_long_t end; VW_SetLineWidth(40); temp = bufferofs; bufferofs = 0; VW_SetScreen (0,0); scan = mmhead; end = -1; while (scan) { if (scan->attributes & PURGEBITS) color = 5; // dark purple = purgable else color = 9; // medium blue = non purgable if (scan->attributes & LOCKBIT) color = 12; // red = locked if (scan->start<=end) Quit ("MM_ShowMemory: Memory block order currupted!"); end = scan->start+scan->length-1; VW_Hlin(scan->start,(id0_unsigned_t)end,0,color); VW_Plot(scan->start,0,15); if (scan->next->start > end+1) VW_Hlin(end+1,scan->next->start,0,0); // black = free scan = scan->next; } IN_Ack(); VW_SetLineWidth(64); bufferofs = temp; }