Hello! I've done a small application in tasm, but I would like to migrate it
to VC++ 2005. I've got a problem, could I read/write in the floppy disk
using BIOS routines? And how?

I think something like:

asm {
mov ax,??
int ?? bios function
}

Could I do that with vc++ 2005 express ed.?

Thanks.

Re: accesing low level routines disk with vc++2005 express by Jochen

Jochen
Wed Sep 29 04:46:54 CDT 2004

Jordi Maycas wrote:

> Hello! I've done a small application in tasm, but I would like to
> migrate it to VC++ 2005. I've got a problem, could I read/write in the
> floppy disk using BIOS routines? And how?
> ...
> Could I do that with vc++ 2005 express ed.?

This has nothing to do with VC++2005!!!

You are trying to access BIOS-routines which are *not* available in an
Windows OS!!!

"tasm" generates DOS applications! VC++2005 generates Win32 applications!


If you want to read/write floppy disks you can use the win32-API:

CreateFile
ReadFile
WriteFile
CloseFile


--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/