accessing hard disk with asm
From: yasumi (yasu.hotta_at_gmail.com)
Date: 01/17/05
- Next message: SevagK: "Re: this is the time to pray"
- Previous message: Beth: "Re: this is the time to prey"
- Next in thread: Jonathan Bartlett: "Re: accessing hard disk with asm"
- Reply: Jonathan Bartlett: "Re: accessing hard disk with asm"
- Reply: Frank Kotler: "Re: accessing hard disk with asm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 16 Jan 2005 22:34:12 -0800
Hello to group.
I was wondering if the following program is possible, and if you can,
tip would be really appreciated.
I kind of know the real basic stuff in asm.
What I'm trying to do is to get the harddisk information with asm
program.
The environment is Fedora Core 3 linux, with NASM and I have su access
to the machine. Harddisk is connected via IDE.
I did some google research and some website shows that following is how
you get the drive information from hd1:
Section .text
global _start
_start:
mov eax, 4
xor ebx, ebx
mov ebx, 1
mov ah, 08h
mov dl, 80h
But, how would I output this to terminal?
Any kind of input would be appreciated.
Thanks in advance.
- Next message: SevagK: "Re: this is the time to pray"
- Previous message: Beth: "Re: this is the time to prey"
- Next in thread: Jonathan Bartlett: "Re: accessing hard disk with asm"
- Reply: Jonathan Bartlett: "Re: accessing hard disk with asm"
- Reply: Frank Kotler: "Re: accessing hard disk with asm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|