its not the code its windows.
i have had the same problem
i presume you are using the GNU compiler due to your asm syntax
if you try borland its
asm mov ax, 013h
asm int 10h
Type: Posts; User: UncleG
its not the code its windows.
i have had the same problem
i presume you are using the GNU compiler due to your asm syntax
if you try borland its
asm mov ax, 013h
asm int 10h
#include <mem.h>
unsigned char * vga = NULL; // pointer to vga mem
vga = (unsigned char *) 0xA000; // set it
void clearscreen (int colour) {
memset(vga, col, (width * height)...
to Gwargh>
assembly is low level, but if you were to create a driver file for a device which sent pulses if 0s and 1s through the input processor port, couldn't you program your cpu in binary?
...
there are asm tutorials all over the web.
check out spyko's demo coding page (search cos i forgot the link!)
assembly gives you complete control over your computer.
in fact, all of the...
You have an extra } at the end of the code !
sorry i missed that!
UncleG
you have this
if (answer = 2) {
.
.
.
}