i know , i asked this before but what Bubba said will restart not shutdown form c++ : outp(0x64,0xFE).

so how can i shutdown from c++

PS i read the Ralph Brown listing it good but is way over my head.