Digg this topic Add to my del.icio.us Submit to SlashDot  
Reply to this topicStart new topic
> Is it possible (off forum question), Olof, can you help?
Alexei
post Nov 15 2007, 08:18 PM
Post #1


Advanced Member
***

Group: .script developer
Posts: 642
Joined: 30-August 06
Member No.: 283



Olof, I'd like to ask you couple questions, unreleted to ImDisk (IMG:../forums/style_emoticons/default/smile.gif)
I want to do some modifications to the registry during system startup (when hardware is already detected, but device drivers are going to be loaded or a bit later). The best way of doing this is to install a driver that starts at the right moment and does what I want. As I understand, that's not hard to implement if you have some experience with drivers (IMG:../forums/style_emoticons/default/smile.gif)
Is it possible to call user-written DLL to perform particular actions?
Can you write such driver?
At this point, you may want to ask what would be an advantage?
The answer is: We have a lot of startup logic hardcoded in ntldr, kernel, etc. Manipulating registry contents would let us to change this logic. Just one example: we would be able to disable pre-installed IDE driver and let the system to boot from any drive of our choise (IMG:../forums/style_emoticons/default/smile.gif) I think, this "little thing" I proposed would give us unprecedented power (IMG:../forums/style_emoticons/default/smile.gif)
What do you think?
(IMG:../forums/style_emoticons/default/cheers.gif)
Alexei

Go to the top of the page
 
+Quote Post
MedEvil
post Nov 15 2007, 09:50 PM
Post #2


Advanced Member
***

Group: .script developer
Posts: 1,803
Joined: 29-December 06
Member No.: 2,192



QUOTE (Alexei @ Nov 15 2007, 09:18 PM) *
we would be able to disable pre-installed IDE driver and let the system to boot from any drive of our choise (IMG:../forums/style_emoticons/default/smile.gif)

(IMG:../forums/style_emoticons/default/confused1.gif) I don't quite get were you're trying to go with that.

(IMG:../forums/style_emoticons/default/cheers.gif)
Go to the top of the page
 
+Quote Post
euhenio
post Nov 16 2007, 07:46 AM
Post #3


Advanced Member
***

Group: Advanced user
Posts: 134
Joined: 9-December 06
From: Minsk
Member No.: 1,777



my opinion :

QUOTE
[...\Services\ImDisk]
"Start"=dword:00000003

[...\Services\ImDisk\Parameters]
"LoadDevices"=dword:00000001
"FileName0"="\\??\\D:\\ADD_DISK.IMG"

it work

QUOTE
[...\Services\ImDisk]
"Start"=dword:00000000

[...\Services\ImDisk\Parameters]
"LoadDevices"=dword:00000001
"FileName0"="\\??\\D:\\ADD_DISK.IMG"

not work (IMG:../forums/style_emoticons/default/sad.gif)

continuation (suggestion) :
QUOTE
[...\Services\ImDisk]
"Start"=dword:00000000

[...\Services\ImDisk\Parameters]
"LoadDevices"=dword:00000002
"AppName0"="MULTI(0)DISK(0)RDISK(1)PARTITION(1)"
"MountPoint0"="C:"

"FileName1"="\\??\\D:\\ADD_DISK.IMG"
"MountPoint1"="Y:"

MULTI(0)DISK(0)RDISK(1)PARTITION(1) - GRUB loaded (ram)disk
Go to the top of the page
 
+Quote Post
jaclaz
post Nov 16 2007, 09:17 AM
Post #4


Finder
***

Group: Advanced user
Posts: 1,581
Joined: 14-July 06
Member No.: 2


Italy


I guess this thread is related:
http://www.911cd.net/forums//index.php?showtopic=19960

@euhenio
Do you know where in memory the RAMDISK.SYS loads the image?

or did you get the bolded suggestion working already?

QUOTE (euhenio)
MULTI(0)DISK(0)RDISK(1)PARTITION(1) - GRUB loaded (ram)disk

Are you talking about a disk image loaded into memory from DOS with hmload, do you?

jaclaz
Go to the top of the page
 
+Quote Post
Alexei
post Nov 16 2007, 07:07 PM
Post #5


Advanced Member
***

Group: .script developer
Posts: 642
Joined: 30-August 06
Member No.: 283



QUOTE (MedEvil @ Nov 15 2007, 01:50 PM) *
(IMG:../forums/style_emoticons/default/confused1.gif) I don't quite get were you're trying to go with that.

(IMG:../forums/style_emoticons/default/cheers.gif)

I'd like do "evil" with that (IMG:../forums/style_emoticons/default/laugh.gif) (read "mobile OS", etc.)
(IMG:../forums/style_emoticons/default/cheers.gif)
Alexei

Go to the top of the page
 
+Quote Post
MedEvil
post Nov 16 2007, 07:52 PM
Post #6


Advanced Member
***

Group: .script developer
Posts: 1,803
Joined: 29-December 06
Member No.: 2,192



QUOTE (Alexei @ Nov 16 2007, 08:07 PM) *
I'd like do "evil" with that (IMG:../forums/style_emoticons/default/laugh.gif) (read "mobile OS", etc.)
(IMG:../forums/style_emoticons/default/cheers.gif)
Alexei

Ahh, you're trying to win your demon horns! (IMG:../forums/style_emoticons/default/devil.gif)

(IMG:../forums/style_emoticons/default/cheers.gif)
Go to the top of the page
 
+Quote Post
Alexei
post Nov 16 2007, 09:08 PM
Post #7


Advanced Member
***

Group: .script developer
Posts: 642
Joined: 30-August 06
Member No.: 283



QUOTE (MedEvil @ Nov 16 2007, 11:52 AM) *
Ahh, you're trying to win your demon horns! (IMG:../forums/style_emoticons/default/devil.gif)

(IMG:../forums/style_emoticons/default/cheers.gif)

(IMG:../forums/style_emoticons/default/devil.gif) to MS = (IMG:../forums/style_emoticons/default/cheers.gif) to people
Go to the top of the page
 
+Quote Post
euhenio
post Nov 17 2007, 05:48 AM
Post #8


Advanced Member
***

Group: Advanced user
Posts: 134
Joined: 9-December 06
From: Minsk
Member No.: 1,777



jaclaz

QUOTE
Are you talking about a disk image loaded into memory from DOS with hmload, do you?


from GRUB environment
Go to the top of the page
 
+Quote Post
« Next Oldest · ImDisk · Next Newest »
 

Fast ReplyReply to this topicStart new topic

Members Who Viewed Topic Today ()

 

Display Mode: Standard · Switch to: Linear+ · Switch to: Outline

Track this topic · Email this topic · Print this topic · Subscribe to this forum

RSS Lo-Fi Version Time is now: 27th February 2008 - 05:07 PM

MKPortal ©2003-2006 mkportal.it