阅读:1211回复:4
硬盘扇区读写的问题,怎样使13号中断要求的寄存器得到相应的值
我在
nest 中用13号中断,每次在这里都死机,怎样调用中断,谢谢,有分 |
|
最新喜欢:![]() |
沙发#
发布于:2002-06-10 13:35
看vtoolsd中的例子:
vdoskey是怎么用的 |
|
板凳#
发布于:2002-06-10 10:11
can you give me a complete sourse program?
i am a newer,need you help! thanks |
|
地板#
发布于:2002-06-10 09:26
谢谢,我试试!
|
|
地下室#
发布于:2002-06-07 16:45
转个例子:
BeginProc BIOS_Call_GetTime Push_Client_State ; Copies the client state to ; the protected-mode stack, ; save all registers VMMCall Begin_Nest_V86_Exec ; Enter nested execution in V86-mode mov [ebp.Client_AH], 02h ; 02h = Get time mov eax, 1Ah ; Execute an Int 1Ah in the VMMCall Exec_Int ; current VM to call BIOS mov al, [ebp.Client_CH] ; Save time - Hours mov [Hours], al mov al, [ebp.Client_CL] ; Save time - Minutes mov [Minutes] , al mov al, [ebp.Client_DH] ; Save time - Seconds mov [Seconds], al mov al, [ebp.Client_DL] ; Save time - Daylight mov [Daylight], al VMMCall End_Nest_Exec ; end of nested exec calls Pop_Client_State ; Restore all registers when done ret EndProc BIOS_Call_GetTime |
|