I have attempted Denthor of Asphyxia tutorial on dos graphics[concerted to C++ by Snowman] and writing to graphics memory in mode 13. I have tried to write inn some functions[C++] into my program which are given in the tutorial like:
_AX = 0x0013;
void INTPutpixel(int x, int y, unsigned char Col)
_AH = 0x0C;
_AL = Col;
_CX = x;
_DX = y;
_BX = 0x01;
Functions like these are really all I need, but I can't get it to compile. Is there something obvious I'm missing. Do I need to include anything more than the dos.h etc...? Is the way assembly code implemented in C++ different in different compilers. I'm using the free C++Builder 5.5 from Borland. Have never ever really used assembly in my C++ code.
If some friendly soul would please help me I would be very thankfull.