Jump to content











Photo
* * * * * 1 votes

[project] WinRoot


  • Please log in to reply
66 replies to this topic

#51 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 13 January 2008 - 09:41 PM

>>> Have you tried reading "Windows Internals 4th Edition", "Undocumented Windows 2000 Secrets: A Programmer's Cookbook", the WDK, and "Native API Reference"? If not, then you have no business complaining...


Googleing I ony found the "Native API Reference".
But either I'm too stupid, or it is missing here: For me I found no answer, how to open a file system named file.

Don't know if it is clear to you or not, but those arn't internet sites, but books.

:thumbsup:

#52 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 13 January 2008 - 09:49 PM

Don't know if it is clear to you or not, but those arn't internet sites, but books.


'Native API Reference' really exists in the WEB: Download from here

Peter

#53 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 13 January 2008 - 11:02 PM

That is outdated.

#54 Alex Ionescu

Alex Ionescu

    Newbie

  • Members
  • 14 posts
  •  
    Canada

Posted 13 January 2008 - 11:49 PM

That's what I demand from anybody else. And that's what I do before asking for help.

In this particular case you really have much more technical knowledge than me.
But due to social behaviour, maybe you can learn something from me:
Please have a look at my signature:
There are never stupid questions, there can be only stupid answers.

You may check all of my posts.
On newbees' questions, I every time have been cooperative and helpful, never ironic or 'telling them how stupid they are'

Yes, I did read a couple of the doc mentioned.
Some:

Googleing I ony found the "Native API Reference".
But either I'm too stupid, or it is missing here: For me I found no answer, how to open a file system named file.



See above answer


As already explained: Maybee I'm too stupid, but:
How declare a file name here:

NtCreateFile(

	  

		OUT PHANDLE			 [i][color="blue"]FileHandle[/color][/i],

		IN ACCESS_MASK		  [i][color="blue"]DesiredAccess[/color][/i],

		IN POBJECT_ATTRIBUTES   [i][color="blue"]ObjectAttributes[/color][/i],

		OUT PIO_STATUS_BLOCK	[i][color="blue"]IoStatusBlock[/color][/i],

		IN PLARGE_INTEGER	   [i][color="blue"]AllocationSize[/color][/i] OPTIONAL,

		IN ULONG				[i][color="blue"]FileAttributes[/color][/i],

		IN ULONG				[i][color="blue"]ShareAccess[/color][/i],

		IN ULONG				[i][color="blue"]CreateDisposition[/color][/i],

		IN ULONG				[i][color="blue"]CreateOptions[/color][/i],

		IN PVOID				[i][color="blue"]EaBuffer[/color][/i] OPTIONAL,

		IN ULONG				[i][color="blue"]EaLength[/color][/i] );

Sorry if I misused your time. I'll never do it again.

Peter


I'm sorry, I don't doubt your helpfulness or skills, but opening a file on a system, including ZwCreateFile, and OBJECT_ATTRIBUTES and UNICODE_STRING, are some of the most *basic* and elementary structures/skills that anyone doing driver/native development must know, and which are all clearly explained in the WDK.

Please understand me, I am not calling you stupid for not knowing this! I would very much like to help you understand these concepts. But please don't come telling me you're "angry" and "disappointed" and "have looked everywhere" when you clearly have not looked in the number one, Microsoft-written and supported, 100%-free and downloadable source of such information -- the WDK.

After you've read the WDK, I would be more than glad to help you with any questions/problems you may encounter. Just don't make it sound like the whole world is against you and that this information is hard to find.

Just to make sure you don't even have to search Google for it, I will give you a link: http://www.microsoft...DK/WDKdocs.mspx. This was last updated last night.

Have a good weekend...

#55 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 14 January 2008 - 01:08 PM

I'm sorry, I don't doubt your helpfulness or skills, but opening a file on a system, including ZwCreateFile, and OBJECT_ATTRIBUTES and UNICODE_STRING, are some of the most *basic* and elementary structures/skills that anyone doing driver/native development must know, and which are all clearly explained in the WDK.

Please understand me, I am not calling you stupid for not knowing this! I would very much like to help you understand these concepts. But please don't come telling me you're "angry" and "disappointed" and "have looked everywhere" when you clearly have not looked in the number one, Microsoft-written and supported, 100%-free and downloadable source of such information -- the WDK.

After you've read the WDK, I would be more than glad to help you with any questions/problems you may encounter. Just don't make it sound like the whole world is against you and that this information is hard to find.

Just to make sure you don't even have to search Google for it, I will give you a link: http://www.microsoft...DK/WDKdocs.mspx. This was last updated last night.

Have a good weekend...


Thanks Alex! :thumbsup:

I think I have to apologize.

I looked into my first post again. The sentence 'But this dicussion makes me unsatisfied and crazy.' could really be understood as 'Stop this discussion at once!'

That depends on my lack of English knowledge.

What I meant: If I compare the native API knowledge of you two with my about-zero-knowledge, then i get such feelings.

Sorry

Peter

#56 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 16 January 2008 - 12:34 PM

I added an alternity into the nativeEx_BSOR project.

Peter

#57 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 14 September 2008 - 03:19 PM

WinRoot Update!

You might remember the 2.88MB Floppy image (WinRam.VFD) that booted up WinRoot.

Here is an image that dual boots with DOS 8 (WinME OEM) and WinRoot/TinyKRNL OS. I have successfully used the Windows NT OS Loader to do this.

FileList:
A:\ (NTBOOT)

   \Boot.ini		   (NTLDR Init.)

   \Bootfont.bin	   (VGA Mode for SetupLDR)

   \BootSect.DOS	   (DOS Bootsector)

   \Command.com		(DOS)

   \Config.sys		 (DOS)

   \Ifshlp.sys		 (DOS)

   \Io.sys			 (DOS)

   \NtDetect.com	   (Needed for SetupLDR)

   \ntldr			  (v3.51)

   \RamBoot.is_		(Remove setupldr.bin and ntdetect.com from the compressed ISO and use XP SP0 Setupdd.sy_)

   \Setupldr.bs		(Setup Bootsector)

   \WinBoot.ini		(DOS Init.)

   \WinNT.SIF		  (Setupldr Init.)

Contents of BOOT.INI:
[boot loader]

 timeout=30

 default=C:\SetupLdr.BS

 [operating systems]

 C:\Setupldr.bs="Microsoft Windows TinyKRNL OS"

 C:\="Microsoft DOS"

Contents of WINBOOT.INI
[Options]

 AutoScan=0

 BootDelay=2

 BootGUI=0

 BootMenu=0

 BootMulti=0

 BootSafe=0

 BootWarn=0

 DoubleBuffer=0

 Logo=0

 SystemReg=0

&#59;

&#59;For compatiblity with Windows 9x GUI only:

 

 [Paths]

 WinDir=C:\Windows

 WinBootDir=C:\Windows

 HostWinBootDrv=C

Contents of WINNT.SIF
[SetupData]

 BootDevice="ramdisk(0)"

 BootPath="\i386\System32\"

 OsLoadOptions="/fastdetect /minint /rdexportascd /rdpath=RamBoot.is_"

 LoaderPrompt="Windows NCLI is booting..."

Contents of CONFIG.SYS
dos=high,umb

device=ifshlp.sys

lastdrive=z

buffershigh=10

fileshigh=10


#58 Alex Ionescu

Alex Ionescu

    Newbie

  • Members
  • 14 posts
  •  
    Canada

Posted 14 September 2008 - 10:19 PM

Awesome work... been working on similar stuff myself, whenever I can find some time... it's been slow with school and the book work :huh:

Keep it up :huh:

WinRoot Update!

You might remember the 2.88MB Floppy image (WinRam.VFD) that booted up WinRoot.

Here is an image that dual boots with DOS 8 (WinME OEM) and WinRoot/TinyKRNL OS. I have successfully used the Windows NT OS Loader to do this.

FileList:

A:\ (NTBOOT)

   \Boot.ini		   (NTLDR Init.)

   \Bootfont.bin	   (VGA Mode for SetupLDR)

   \BootSect.DOS	   (DOS Bootsector)

   \Command.com		(DOS)

   \Config.sys		 (DOS)

   \Ifshlp.sys		 (DOS)

   \Io.sys			 (DOS)

   \NtDetect.com	   (Needed for SetupLDR)

   \ntldr			  (v3.51)

   \RamBoot.is_		(Remove setupldr.bin and ntdetect.com from the compressed ISO and use XP SP0 Setupdd.sy_)

   \Setupldr.bs		(Setup Bootsector)

   \WinBoot.ini		(DOS Init.)

   \WinNT.SIF		  (Setupldr Init.)

Contents of BOOT.INI:
[boot loader]

 timeout=30

 default=C:\SetupLdr.BS

 [operating systems]

 C:\Setupldr.bs="Microsoft Windows TinyKRNL OS"

 C:\="Microsoft DOS"

Contents of WINBOOT.INI
[Options]

 AutoScan=0

 BootDelay=2

 BootGUI=0

 BootMenu=0

 BootMulti=0

 BootSafe=0

 BootWarn=0

 DoubleBuffer=0

 Logo=0

 SystemReg=0

;

;For compatiblity with Windows 9x GUI only:

 

 [Paths]

 WinDir=C:\Windows

 WinBootDir=C:\Windows

 HostWinBootDrv=C

Contents of WINNT.SIF
[SetupData]

 BootDevice="ramdisk(0)"

 BootPath="\i386\System32\"

 OsLoadOptions="/fastdetect /minint /rdexportascd /rdpath=RamBoot.is_"

 LoaderPrompt="Windows NCLI is booting..."

Contents of CONFIG.SYS
dos=high,umb

device=ifshlp.sys

lastdrive=z

buffershigh=10

fileshigh=10



#59 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 15 September 2008 - 12:02 AM

Here's the ISO if anyone wants it.

Download: TinyKRNL DualBoot ISO

edit: fixed url (MedEvil)

#60 ruddykins

ruddykins

    Newbie

  • Members
  • 14 posts
  •  
    United States

Posted 19 September 2008 - 05:35 PM

AeroXP,

Congrats on a fantastic project! 3MB (!!!) XP image is awesome.

I love the dualboot FreeDOS.

Are you planning on adding SATA drivers to it anytime soon?

Also, is there a way to use a basic (ie: framebuffer / text only) video driver -- that is NO GUI at all?

Thanks.

-Ruddykins

#61 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 12 October 2008 - 03:19 AM

TinyKRNL MegaBoot ISO
Boot Options:

  TinyKRNL Operating System

  Windows Memory Diagnostic

  FreeDOS Command Line

  Boot from Hard Disk

  TinyKRNL NT OS Loader v5.1

	Windows NT (disk0,partition1,\windows)

	Windows NT (disk0,partition2,\windows)

	Windows NT (disk1,partition1,\windows)

	Windows NT (disk1,partition2,\windows)

	Windows NT (disk0,partition1,\winnt)

	Windows NT (disk0,partition2,\winnt)

	Windows NT (disk1,partition1,\winnt)

	Windows NT (disk1,partition2,\winnt)

	Go back to Main Menu



 Size/Filelist:

 atxoff.com		  40

 boot.ini		   339

 boot.txt		   923

 bootsect.dos	   512

 command.com	  93040

 config.sys		  74

 hdboot.bs		  512 

 ifshlp.sys		3718

 int19.com			3

 kernel.sys	   40955

 ntdetect.com	 26816

 ntldr		   147808

 ntldr.bs		   512

 osldr.bs		   512

 ramboot.is_	1769400

 reboot.com		   5

 setupldr.bs		512

 setupldr.bin	297072

 winboot.ini	   1649

 windiag		 252912

 windiag.bs		 512

 winnt.sif		  289

 xpldr		   247472



 Total		  2885577 Bytes (2832k)



 Features:

  * New TinyKRNL Boot+Shutdown Bitmaps

  * New CLI Pallete

  * NT OS Loader

  * Windows MemDiag

Screens:
Posted Image
Here's the new boot screen.

Posted Image
FreeDOS Hybridized.

Posted Image
Boot Menu 1.

Posted Image
Boot Menu 2.

Posted Image
Windows MemDiag in action.

Posted Image
New banners and palletes.

Finally, the Download Link.
http://rapidshare.co...gaBoot.iso.html

#62 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4202 posts

Posted 12 October 2008 - 06:46 AM

Good job on Mega ISO. Gives more option then previous.

See my signature to where you can upload images.

#63 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 13 October 2008 - 09:42 PM

2x 1.44MB Floppy Images for WinRoot/TinyKRNL!


http://aeroxp.boot-l.....or SetupBoot/

#64 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 16 November 2008 - 10:17 PM

For anyone who wants text mode...

I have now compiled a new version of the NCLI that works for all Windows NT Versions that support the _alldiv function.

NOTE: This version does not support Buffer Overrun protection support in GS, this was implemented with the Whistler 24xx builds.

Tested to be working: (by me)
Windows NT 4.00, SP0, Build 1381
Windows 2000, SP0, Build 2195

Executable: http://aeroxp.boot-l...NT45/native.exe

Image:
Posted Image

#65 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 20 July 2009 - 09:10 PM

EDIT: ImageShack Gallery posted:

http://img174.images...?g=82734024.png

Text based bootscreen
Posted Image
Fixed borders, added CPUFUNC and Bugcheck on Demand
Posted Image
Bugcheck on Demand in action.
Posted Image
NOTE: The new features, specifically Bugcheck on Demand and the New Nonbitmap based bootscreen are kernel dependent.

Link for new build is currently unavailable.

#66 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 20 July 2009 - 09:50 PM

AeroXP whatever you were trying to link to didn't work. Better luck next time! :lol:

;)

#67 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 21 July 2009 - 01:19 AM

Fixed. :lol:




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users