All pastes #760639 Raw Edit

Someone

public text v1 · immutable
·published 2007-11-04 04:31 UTC
rendered paste body
#define CGA_START 0xb8000
        
int main()
{
	char *pos;
	int x=20, y=20;
	pos = (char *)CGA_START + 2*(x + y*80);
	*pos = 'Q';
	return 0;
}