How-To Write a Slic-OEM driver x64 ( educational purpose only )

Discussion in 'Windows 7' started by secr9tos, Nov 24, 2009.

Thread Status:
Not open for further replies.
  1. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    #21 Mr Jinje, Nov 25, 2009
    Last edited: Nov 25, 2009
  2. secr9tos

    secr9tos MDL Addicted

    Jul 28, 2009
    999
    133
    30
    #22 secr9tos, Nov 25, 2009
    Last edited: Nov 25, 2009
    (OP)
    Yes it is.

    Edit: @Mr Jinje: To be honest my only concern is the QWORD stuff ( XSDT ), but if it will be defined as LARGE_INTEGER instead it should work. The only bad thing is that I don't have any Win7 x86 iso so i can't confirm that it will work properly or provide specific support.
     
  3. SharkCB

    SharkCB MDL Novice

    Jul 1, 2007
    19
    3
    0
  4. zsmin

    zsmin MDL Junior Member

    Aug 3, 2009
    93
    3
    0
    This is an interesting little project.

    I've looked at the code but not yet given it a try since I don't have the DDK installed. I'll test it properly at the weekend.

    From what I can see so far, it looks clean and simple but still has quite a few mistakes that will cause problems. Some assumptions you've made are incorrect (table order, where free space is, etc.) so tables will get overwritten in some cases.

    But I like this so far. It's a nice example for people to play around with and could be turned into a decent alternative to a grub-based loader.

    Thanks for sharing. :)
     
  5. secr9tos

    secr9tos MDL Addicted

    Jul 28, 2009
    999
    133
    30
    Thanks for the info. Can you please tell me what peace of code is causing trouble?
     
  6. NiHiLisT

    NiHiLisT MDL Member

    Jul 29, 2009
    218
    15
    10
    Thank you, works on my virtual box!

    Great idea!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. secr9tos

    secr9tos MDL Addicted

    Jul 28, 2009
    999
    133
    30
    #29 secr9tos, Nov 26, 2009
    Last edited: Nov 26, 2009
    (OP)
    Thanks for the confirmation.
     
  8. HotCarl

    HotCarl MDL Addicted

    Jul 21, 2009
    831
    16
    30
    Interesting... I like the idea, something different... No one has really messed with a SLIC driver since Paradox's royal.sys was disabled in Vista. Good to see someone messing around with this concept again. :)
     
  9. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    420
    60
    its open source to meaning none of the drivers should be the same :p
     
  10. secr9tos

    secr9tos MDL Addicted

    Jul 28, 2009
    999
    133
    30
    True but this is the interesting thing about open-source:D
     
  11. HotCarl

    HotCarl MDL Addicted

    Jul 21, 2009
    831
    16
    30
    #33 HotCarl, Nov 26, 2009
    Last edited: Nov 26, 2009

    ...should...if everyone knew how to code in c++. ;)


    I like c++...I just get tired of looking for the missing bracket or comma sometimes though...lol :p
     
  12. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    420
    60
    lol yea but i thought every time something was complied it was different depending on the machine it was created on. my key cert branding app has a different hash if i compile it on a x64 machine than a x86 machine :p making it harder to track the source but who knows
     
  13. HotCarl

    HotCarl MDL Addicted

    Jul 21, 2009
    831
    16
    30

    The hash would be different, but if MS were dumb enough to check files just based on hash then they probably need to hire some new programmers... :p

    If I were MS I would scan based on heuristics instead of hash and file size...but that's me.

    Anyway, not trying say anything bad about the idea... I like it as a matter of fact...I always thought it was a neat approach. :)
     
  14. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    420
    60
    true i dont think they will find my version of this :p im teaching myself C++ right now imma laugh after sp1 and they cant find it
     
  15. secr9tos

    secr9tos MDL Addicted

    Jul 28, 2009
    999
    133
    30
    #37 secr9tos, Nov 26, 2009
    Last edited: Nov 26, 2009
    (OP)
    That would be cool. Maybe we get WHQL for it?:D

    Edit:
    Can someone please review the code and tell me if the table addresses are right?
    zsmin pointed out that my code "can" cause trouble?
     
  16. HotCarl

    HotCarl MDL Addicted

    Jul 21, 2009
    831
    16
    30

    Nice, I am gonna tinker with it as well. I like to play with code... :)

    Thanks to Secr9tos for starting this thread, I think something pretty neat will come of this. :D
     
  17. secr9tos

    secr9tos MDL Addicted

    Jul 28, 2009
    999
    133
    30
    That would be great if my code could be the base for something "neat" as you say.:D Lets see what will happen in the future..:cool:
     
  18. w79921

    w79921 MDL Novice

    Sep 21, 2009
    2
    0
    0
    I compile it to 32bit and test in Vmware
    OS:windows 7 Professional (chinese simplified)
    Acpi(Increased four unknown table and two slic table) View attachment Acpi.7z
    not working properly in Vmware
    but i think it will worked in real machine
    fun work ! thanks for sharing.