flat assembler
Message board for the users of flat assembler.
Index
> Windows > Just out of Curiosity |
Author |
|
typedef 11 Aug 2010, 04:33
As the subject suggests, is FASM able to produce Nt Drivers (.sys files) ?.
And is it possible to create a struct in 16-bit? |
|||
11 Aug 2010, 04:33 |
|
Tyler 11 Aug 2010, 05:10
> And is it possible to create a struct in 16-bit?
The struc is a specialized Fasm macro, independent of bitness. So yes. > s the subject suggests, is FASM able to produce Nt Drivers (.sys files) ?. Yes. I think. I've never tried it, but the docs say it does. http://flatassembler.net/docs.php?article=manual#2.4.2 |
|||
11 Aug 2010, 05:10 |
|
Tyler 11 Aug 2010, 06:17
I would guess it would be the second hdd.
On what level are you trying to do this? If you're trying to make a driver for USB, have fun with that. I'm sure there's some way to get info for Volumes, that's if there's already a driver and you're trying to access the device as a volume(something with a drive letter). |
|||
11 Aug 2010, 06:17 |
|
vid 11 Aug 2010, 10:01
typedef:
FASM can't produce old VxD drivers (it used some LE/Linear executable format IIRC), but it can produce newer WDM drivers, which are just plain PE executables with extra flag set. However, what you are posting looks like BIOS. In Windows driver, you don't use BIOS, you use MS-specific APIs to interface with hardware. |
|||
11 Aug 2010, 10:01 |
|
typedef 12 Aug 2010, 01:23
Tyler wrote: I would guess it would be the second hdd. Sorry for the confusion. The second question has nothing to do with the first one. The second one i just wanted to find out how the BIOS drive table is laid out. For example if i wanted to get drive (F:\) params. How would i know the given 'ID' is Flash drive. Code: MOV DL,00h ;1st floppy disk ( "drive A:\" ) ;What would be the ID for Flash disk (F:\)? NOTE : This has nothing to do with making USB drivers. Im not doing that, like i said the subject says it all. No pressure |
|||
12 Aug 2010, 01:23 |
|
Tyler 12 Aug 2010, 05:42
You probably can't. Flash drives would be emulated as external HDDs(That's what my BIOS settings calls anything usb.). So I guess 81h.
Windows and BIOS don't mix. The BIOS drive # will mean nothing to Windows. If you want info on a drive, having a BIOS id will only help you if you're working with the BIOS to get the info. |
|||
12 Aug 2010, 05:42 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.