Log in

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


SmallBoy
April 22nd, 2001, 10:05
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
April 22nd, 2001, 11:40
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
April 22nd, 2001, 11:42
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
April 22nd, 2001, 11:43
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
April 23rd, 2001, 05:44
Hi AimLess,
How Can I Find This Lesson On The Net?

Please Let Me The Internet Address Of It!

Very Much Regards
SmallBoy3000

Rainor
April 24th, 2001, 11:00
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
April 24th, 2001, 12:54
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]
April 25th, 2001, 03: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

kill3xx
April 25th, 2001, 06:51
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