Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

How do I recompiled kernel??

Name: Anonymous 2007-01-21 13:00

I use Windows Me if that matters.

Name: Anonymous 2007-01-21 13:15

1. get dos source code
2. make your modifications
3. get msvc
4. ??????
5. PROFIT!!!

Name: Anonymous 2007-01-21 14:43

>>2
That doesn't answer my question: How do I recompiled kernel?

Name: Anonymous 2007-01-21 15:06

Hack into a certain Redmond, Washington FTP server, get the code and get out without being caught.

When compiling the kernel, *do not read the source*. This code-base is poisonous and corrupts the minds of those who read it.

Many people claim you need Visual Studio to compile it. This is a lie. Most of it was written in QBasic.

Good luck.

Name: Anonymous 2007-01-21 19:36

>>3
PROTIP: You don't.

Name: Anonymous 2007-01-22 3:17

>>4
Thanks, that worked!  My system feels VROOM VROOM fast as I compiled with /O:2.

Name: Anonymous 2007-01-22 4:56

>>6
It will go much more VROOM VROOM if you compile it with OS/2!

Name: Anonymous 2007-01-22 7:17

>>7
honto?

Name: Anonymous 2007-01-22 7:40

>>7
Wee?

Name: Anonymous 2007-01-22 7:56

it will go even faster if you crosscompile on linux with -O3

Name: Anonymous 2007-01-22 8:47

depends on what you mean by recompiling the kernel..
as much as i know the windows 9x kernel (95,98,98SE) is "compiled"(not in the way you compiled the *nix ones) at system install, there are a couple of parts:
1)kernel32.dll -32bit part ring3
2)krnl386.exe  -16bit part (leftover from olde win31,but it still contain some essential components for the system)
3)vmm32.vxd - ring0 kernel , boots up in DOS/real mode to ring0 and loads a multitude of device drivers and OS components..

kernel32.dll and krnl386.exe were compiled by Microsoft at distro time(IN case you didnt know windows IS NOT open source ),so there isnt any public source for those,however if you are really curious how they work , you can disassemble(use IDA Pro) them yourself and analyze, they were written in asm+c.. There is also a great book on the subject that covers analyzing/disassembling the 95 kernel : "Matt Pietrek" Windows 95 System Programming Secrets .. there is a pdf of it if floating around you search a bit ;)
Now back to the "recompilation process".. the ring0 part is actually runtime generated, a stub is present in the 9x installer (of vmm32.vxd) , and there are about ~20 vxds which make the core of the OS, those vxd's are somewhat small and are all written in asm... at setup time, the installer picks up the vxd's your system needs and merges them into vmm32.vxd , you can re-do this process by making a wininit.ini file and placing it in your windir that has a contents similar to :
http://privatepaste.com/751tSJUDIo

Overall reversing and hacking 9x is quite fun,for example i managed to cook up a 4mb version of win98se(i used some 95 components though),it was quite fun and loaded in about 2 seconds..
(Sidenote: source code for the 2k/xpsp1 kernel was leaked and DOS source is also available,i havent heard of anyone recompiling the leaked kernel,but it might be possible to do it)

Have Phun

Name: Anonymous 2007-01-22 10:31 (sage)

>>8
Did somebody just say 'weeaboo'? I think I just heard somebody say 'weeaboo'!

Name: Anonymous 2007-01-22 11:08

>>11
Hahaha oh wow

Name: Anonymous 2007-01-22 11:09

>>12
The fact you know what it means makes you another weeaboo

Name: Anonymous 2007-01-22 18:56

>>11
no

Name: Fox64 2007-01-22 19:57

u gotta be kiddin me, do u actualy need to recompile ur kernal?
Or did u just listen to that one guy who always posts that recompiling ur kernal is the answer to everything including a broken psu?

Name: Anonymous 2007-01-22 21:42

>>16
no you dont have to(im 11), that was just some techincal info i posted for those who like to play with 9x'es core components,it is clearly not meant for the normal users,and there isnt that much of an advantage,you arent actually "recompiling" it,you are jsut choosing what internal drivers will be included

Name: Anonymous 2007-01-23 1:51

>>17
YOU'RE 11? underage b&.

Name: Anonymous 2007-01-23 2:13

>>18 , i'm poster number 11 ,not 11years old =_=

Don't change these.
Name: Email:
Entire Thread Thread List