News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Reading/Writing strings

Started by asm_coder, May 05, 2010, 09:04:18 AM

Previous topic - Next topic

asm_coder

Hello again,

I want to ask is it possible if I can read and write strings of char,using by dealing directly with hardware in 32 bit protected mode,as I m reading some book of asm which I can read data using interrupt(int instruction),as that would produce page fault
in 32 bit and also I would like to dig deeper to know the information of how this is done,and my book doesn't mention anything about it.
I have also did some googling I have found reading/writing using INT instruction as well,I am not asking for how to do this I just want to know what some information about it/or maybe some reading material would be great.

asm_coder.

hutch--

coder,

In normal user mode access in win32 (ring3) you can neither access the BIOS or use interrupts and if you try you get GP faults from trying it. Most of the data you need from the BIOS can be picked out of the registry but for normal security reasons in a protected mode OS you cannot normally access the BIOS settings.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php