flat assembler
Message board for the users of flat assembler.
Index
> Windows > Still Drivers.. |
Author |
|
AsmGuru62 03 Jul 2011, 11:58
Regarding 2): I am sure that drivers are coded in 32-bit Assembly or in C.
|
|||
03 Jul 2011, 11:58 |
|
typedef 03 Jul 2011, 15:06
1. No, However you can signal User mode apps to do that.
2. Not necessarily, they just happen to have all the privileges to execute just about any instruction. 3. Just learn C (so you can port the code to ASM as you wish), and make sure you read the API,.) Refer to answer #1 WDK 7 Info | http://msdn.microsoft.com/en-us/windows/hardware/gg487463 I have made a driver myself that filters program execution. |
|||
03 Jul 2011, 15:06 |
|
Overflowz 03 Jul 2011, 16:30
typedef
I'll learn C now.. 1 more question, I saw examples of drivers and there's something strange import data section, which is importing manually.. There don't work something like this ? Code: section '.idata' import data readable library bla bla.. import bla bla..,function,'...' Thanks. edit: Also, I wrote little prog which dumps MBR (easiest one..) and I'm interested how should I use drivers with user-mode calls ? like, \\.\DeviceXX or something like that.. Sorry, I know I'm really "noob" about these things.. |
|||
03 Jul 2011, 16:30 |
|
ctl3d32 03 Jul 2011, 20:02
There's always http://win32assembly.online.fr/tutorials.html
|
|||
03 Jul 2011, 20:02 |
|
Overflowz 03 Jul 2011, 20:45
ctl3d32
VxD is still useful on Windows XP+ systems ? Also, I tried that tutorials but I don't really understand MASN syntax.. It's HLL which I don't understand (Sounds strange but I understand Low-Level language more than HL..) |
|||
03 Jul 2011, 20:45 |
|
Overflowz 04 Jul 2011, 11:39
I'm going REALLY mad now! I can't find anywhere how to use IN and OUT instructions.. Can someone suggest me some books about it ? I know what they does, but I don't understand for example why this turns speakers on ?...
Code: cli mov al,178 ;or something, I don't remember out 43h,al mov eax,blabla out 42h,al mov al,ah out 42h,al in al,61h ;this turns speaker on I guess! or al,11b out 61h,al sti ..... but why ?! I can't find any documentation why these things are happening like this! Can anyone help me ?)) |
|||
04 Jul 2011, 11:39 |
|
f0dder 04 Jul 2011, 14:54
VxD is purely Win9x.
KMDs for NT are regular PEs, just not running in the Win32 subsystem. Later Win9x even has some (very limited!) KMD support. For IN/OUT (and memory mapped I/O), you'll need to get datasheets for the hardware you want to write drivers for. Good luck with that, except for very old legacy hardware. Your best bet would be looking at how existing drivers for other operating systems work. |
|||
04 Jul 2011, 14:54 |
|
Overflowz 04 Jul 2011, 17:26
Should I learn OS Developing first before I write drivers ? and also, if exists somewhere, can you give me just a little tutorials about I/O ? Thank you.
|
|||
04 Jul 2011, 17:26 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.