Module interface Here is a demo of Dex4u driver interface:
http://www.dex4u.com/demos/ModDemo.zip
To test it at Dex4u command line type "run test.mod" and press enter
It should return to the command prompt.
If you try running it again it should print a error ( that module is already loaded)
The type "run moddemo.dex" to test it, it should print function1 and function2
and when you press enter return to the command line.
Heres the drive layout:
http://www.dex4u.com/demos/Test.txt
I have kept it simple, Here is how to call the functions:
http://www.dex4u.com/demos/ModDemo.txt
The modules are loaded to top of ram, but you can load them low to just between 0x100000 and 0x200000 by using the '-L' switch like this "run test.mod -l"
Remember EBX is the base address you need to add this to all vars
Example of needing base add
mov eax,[TestVar+ebx] ;TestVar is a var
call [WriteHex32+ebx] ;WriteHex32 is stored in a var
mov esi,msgService2 ; Move offset to string
add esi,ebx ; We add the base address
Example of not needing base add
call PrintTest ; call proc
jmp next ; jump to address
Any ?? welcome :) .
Dex- 01-31-2006
No one have any comments ??
jas2o- 01-31-2006
Opps! Sorry :(
I'm finding a working floppy...
I'll edit soon.
Jas2o
jas2o- 01-31-2006
Decided not to edit.
moddemo.dex says something about no function
Then I ran "test.mod -l" and it crashed.
I tried again, but it still crashed.
Maybe it's a bad floppy?
Jas2o
Dex- 01-31-2006
Thanks jas2o, no it not your floppy, i just test it from the zip and i get the same, i may have up loaded a old ver, i will test and get bad to you.
Dex- 01-31-2006
I have uploaded the fixed ver, i put the wrong var in the low memory part of the code, so it was pointing to high memory and loading to low memory :oops:
Soon fixed :wink:.
You need to run "test.mod" or "test.mod -l" before " moddemo.dex as it users the functions in test.mod, so if you do not load the driver first, you will get the no module found mesage.
And thanks again for the test info.
jas2o- 01-31-2006
Ok it is working fine now.
Jas2o
Dex- 01-31-2006
It only effected, if you use the -l for lower memory loading, so its good you tested it.
Now i will make a ramdisk driver and Hdd driver for Dex4u.
tonyMac- 01-31-2006
I'll test it here in a bit, been very busy at work...
Dex- 03-05-2006
I will be uploading Dex4u hdd drivers, along with fat16/32 drivers (should be done in about 2 days or so), i have made them as modules, to show the modules work in practise, but will than make a "kernel32.exe" with them included, as if not you will need a floppy drive to load the IDE modules which some member may not have, on there PC or laptops, thats why they wanted the Hdd in the first place.
I have made two seperate modules one for fat16 and one for fat32.
smiddy- 03-06-2006
Excellent work Dex! I don't have time now to check it out. But two weeks from today I will get the opportunity to review it further. I'll send you a private message requesting the information. I can't wait to see the work you've done.
Dex- 03-06-2006
Just give me a PM, when you need the info :) .
tonyMac- 05-24-2006
Well, I've found some ASM online for various things, it's all realmode stuff, but the methods could be found usefull.
http://www.cet.com/~jvahn/files/
Dex- 05-25-2006
Thanks tonyMac, i had most of those files years ago, but lost them, there is some usefull bits of code, it would be good to convert some of them to fasm or Dex4u.
PS: I had some asm code for mpeg, but its not in any of the zips :cry:
Must of found it some where else, but i am shore in was in them xxxxx.zip.
tonyMac- 05-25-2006
http://www.wotsit.org/default.asp
I figure you already know of this site, but it has the format of about everything. JIC someone doesn't have it bookmarked, here you go.
Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.