首页
社区
课程
招聘
int 19的参数?
发表于: 2014-1-18 19:24 3746

int 19的参数?

2014-1-18 19:24
3746
我写的MBR带加密口令,本来想输错后就调用int 19让机器自动重启或者重新引导一下,但是每次都报个错,需要手动重启,是因为需要参数吗?大神们知道光盘引导程序什么的是怎么重新引导的吗?

[课程]Android-CTF解题方法汇总!

收藏
免费 0
支持
分享
最新回复 (7)
雪    币: 219
活跃值: (738)
能力值: (RANK:290 )
在线值:
发帖
回帖
粉丝
2
int 19是没有参数的
2014-1-18 19:40
0
雪    币: 190
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
那请教一下,我调用int 19后为什么出现一行启动设备失败之类的字样,然后才能重启?如何做到像调用ExitWindowEx一样直接重启呢?
2014-1-18 19:58
0
雪    币: 0
活跃值: (309)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
INT 19 - Bootstrap Loader

DL = physical drive where boot sector is located

no output

- track 0, sector 1 is loaded into address 0:7C00

and control is transferred there

- not a preferred method for rebooting by applications. A

better method is to set the word at location 40:72 to 1234h

and jump to location FFFF:0 in ROM

- memory is not cleared when rebooted through this interrupt

- see ~WARM BOOT~
2014-1-18 20:19
0
雪    币: 257
活跃值: (67)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
5
int 19貌似不能让机器重启
2014-1-18 20:31
0
雪    币: 219
活跃值: (738)
能力值: (RANK:290 )
在线值:
发帖
回帖
粉丝
6
(⊙o⊙)…   你上面坑定出错le 请去看BIOS中断表
2014-1-19 01:57
0
雪    币: 608
活跃值: (643)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
7
INT 19H只有一个参数 DL   DL是引导时的驱动器号
如果你想重启 不妨使用下面的代码
mov dx,0x64
mov al,0xFE
out dx,al
2014-1-19 18:45
0
雪    币: 190
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
8
7楼的方法貌似我见到过,不过我用下面这个办法实现了。 A

better method is to set the word at location 40:72 to 1234h

and jump to location FFFF:0 in ROM.谢谢4楼和7楼。
2014-1-21 00:01
0
游客
登录 | 注册 方可回帖
返回
//