簡體   English   中英

在C ++ Windows XP中等效的int 21

[英]int 21 equivalent in C++ windows XP

中斷不適用於C ++的內聯匯編程序(我試過VC ++ 10,GCC 4,Digital Mars)。 是否存在任何與中斷等效的Windows可自由訪問的內存區域? 我怎樣才能到達系統屬性和視頻RAM?(我可以嗎?)

這些我想知道:

mov ah,06h
mov dl,35h 
int 21f    //would print '5' on screen but it isnt (works in only pure assembler)

和:

mov ax,1500h
mov ch,97h
int 2f   //would get me info for the cache-hit number on DI:SI

謝謝

Win32應用程序不調用中斷,它們調用系統服務。 Iczelion的頁面上有許多用於Windows教程的程序集。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM