PDA

View Full Version : Ho Kan I Use Int13h In Win32?


SmallBoy
04-22-2001, 11:05 AM
Thank You For All My Good Friends In The Little World!
I recieve many information & i can continue My Work Better From The Last!


Thanks Again!
SmallBoy3000

Aimless
04-22-2001, 12:40 PM
Download lesson 5 from ORC's tuts

Disk Accesses are explained in Detail! And I MEAN in detail!!!

Better than ANY book

As ever

Aimless
04-22-2001, 12:42 PM
Download lesson 5 from ORC's tuts

Disk Accesses are explained in Detail! And I MEAN in detail!!!

Better than ANY book

As ever

aimless
04-22-2001, 12:43 PM
Download lesson 5 from ORC's tuts

Disk Accesses are explained in Detail! And I MEAN in detail!!!

Better than ANY book

As ever

SmallBoy
04-23-2001, 06:44 AM
Hi AimLess,
How Can I Find This Lesson On The Net?

Please Let Me The Internet Address Of It!

Very Much Regards
SmallBoy3000

Rainor
04-24-2001, 12:00 PM
ORC tutorial 5.1 only deal with old INT13 for MSDOS, for Win32 you need something called thunking take look at HexWork Shop DLL, I found some info about thunk in MSDN but look like I need take a NASA degree to read or write a damm sector.

R

Kythen
04-24-2001, 01:54 PM
I don't know the answer personally, but I do know a few areas you might want to look into.

1. Get the MS DDK (Driver Development Kit). Good chance that it will have something about your question. Also, you may want to look for some asm device driver tutorials. They may have something as well.
2. Look into ASPI programming. I know that's how you do direct sector stuff with CD-ROM's and the like. Quite possible that you could do the hard disk stuff in the same manner

HTH!

[yAtEs]
04-25-2001, 04:59 AM
Quote:
Rainor (04-24-2001 01:00):
I need take a NASA degree to read or write a damm sector.
R


rotfl, i've been trying to read a CD sector w/o aspi for a long time now, bloody int simulation gives me a head-ache (;
solution:thunk to a 16bit dll

kill3xx
04-25-2001, 07:51 AM
Quote:
[yAtEs] (04-24-2001 17:59):
Quote:
Rainor (04-24-2001 01:00):
I need take a NASA degree to read or write a damm sector.
R


rotfl, i've been trying to read a CD sector w/o aspi for a long time now, bloody int simulation gives me a head-ache (;
solution:thunk to a 16bit dll

thunking is one of the most cleaner method but u can consider other solutions that work w/o ring0 hack-o-rama:

win9x:

CreateFileA \\\\.\\vwin32 -> DeviceIOControl + VWIN32_DIOC_DOS_IOCTL / VWIN32_DIOC_DOS_INTx (documented on MSDN)
Kernel32!VxDCall -> Int31hDispatch -> SimulateRM_Int 0x13 / 0x2F / ..

ofcoz u've to provide < 1MB 16:16 lpBuffer (GlobalDosAlloc,MapLS/SL,etc)

winNT/2k : just open the physical drive and use Read/WriteFile(Ex)

Best Regards,

kill3xx