//include these 6 lines if you are using pure asm only, not inline
extern "C"
{
void SetMode(void);
void PlotPixel(int x,int y,unsigned char color,
unsigned char ...