來看看小弟我的這段代碼!
來看看我的這段代碼!!!!!!
#include "fstream.h"
#include "iostream.h"
#include "dos.h"
#include "stdio.h"
main()
{
int a[512],*i;
ofstream fboot;
REGS rdboot,outreg;
rdboot.x.ax = 0x0201;
rdboot.x.bx = 0x0200;
rdboot.x.cx = 0x0001;
rdboot.x.dx = 0x0080;
int86(0x13,&rdboot,&outreg);
}
讀引導扇區,xp下不讓讀,怎麼跳過xp進而讀引導扇區呢?????
誰有辦法。
------解决方案--------------------
http://www.wangchao.net.cn/bbsdetail_55567.html
------解决方案--------------------
换用WINTC编译运行。。。。看行不行。。或者 turbo C++ 3.0
WINTC ASM嵌入编程
#include "fstream.h"
#include "iostream.h"
#include "dos.h"
#include "stdio.h"
main()
{
int a[512],*i;
ofstream fboot;
REGS rdboot,outreg;
rdboot.x.ax = 0x0201;
rdboot.x.bx = 0x0200;
rdboot.x.cx = 0x0001;
rdboot.x.dx = 0x0080;
int86(0x13,&rdboot,&outreg);
}
讀引導扇區,xp下不讓讀,怎麼跳過xp進而讀引導扇區呢?????
誰有辦法。
------解决方案--------------------
http://www.wangchao.net.cn/bbsdetail_55567.html
------解决方案--------------------
换用WINTC编译运行。。。。看行不行。。或者 turbo C++ 3.0
WINTC ASM嵌入编程