flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Unknown INT

Author
Thread Post new topic Reply to topic
ntrf



Joined: 01 Jun 2004
Posts: 9
Location: Belgorod,Russia
ntrf 01 Jun 2004, 11:39
Found
int 0x13
with
mov ah,0x42

Help. if you know what it is Sad
Post 01 Jun 2004, 11:39
View user's profile Send private message Reply with quote
roticv



Joined: 19 Jun 2003
Posts: 374
Location: Singapore
roticv 01 Jun 2004, 14:15
IBM/MS INT 13 Extensions - EXTENDED READ
AH = 42h
DL = drive number
DS:SI -> disk address packet (see #00272)
Return:CF clear if successful
AH = 00h
CF set on error
AH = error code (see #00234)
disk address packet's block count field set to number of blocks
successfully transferred

See Also: AH=02h - AH=41h"INT 13 Ext" - AH=43h"INT 13 Ext"


Format of disk address packet:

Offset Size Description (Table 00272)
00h BYTE size of packet (10h or 18h)
01h BYTE reserved (0)
02h WORD number of blocks to transfer (max 007Fh for Phoenix EDD)
04h DWORD -> transfer buffer
08h QWORD starting absolute block number
(for non-LBA devices, compute as
(Cylinder*NumHeads + SelectedHead) * SectorPerTrack +
SelectedSector - 1
10h QWORD (EDD-3.0, optional) 64-bit flat address of transfer buffer;
used if DWORD at 04h is FFFFh:FFFFh
Post 01 Jun 2004, 14:15
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
ntrf



Joined: 01 Jun 2004
Posts: 9
Location: Belgorod,Russia
ntrf 02 Jun 2004, 05:15
Thanks Exclamation

Thats not all. I also found AH=40,AH=41,AH=45 in WinNT bootsector
(I Disasembled it Embarassed ). Arrow
Post 02 Jun 2004, 05:15
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8367
Location: Kraków, Poland
Tomasz Grysztar 02 Jun 2004, 05:53
Post 02 Jun 2004, 05:53
View user's profile Send private message Visit poster's website Reply with quote
roticv



Joined: 19 Jun 2003
Posts: 374
Location: Singapore
roticv 02 Jun 2004, 08:35
Post 02 Jun 2004, 08:35
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.