This one might be a little harder, but I'm sure someone out there can help.

Discussion in 'Programming General' started by Demonten, Oct 20, 2010.

This one might be a little harder, but I'm sure someone out there can help.
  1. Unread #1 - Oct 20, 2010 at 7:35 PM
  2. Demonten
    Joined:
    Sep 14, 2010
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0

    Demonten Newcomer

    This one might be a little harder, but I'm sure someone out there can help.

    Firstly, I need to know how to send a halt command to a computer. I do know that will permanently destroy the computer. I'm not sure if it's possible in c++. If it is, I'd like to know how and if, after you've halted it, if it will still boot in MSDOS or something and if it will turn off when it halts, or what. Just curious, I don't plan to really use it, I'm an information sponge :p
     
  3. Unread #2 - Oct 20, 2010 at 7:49 PM
  4. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    This one might be a little harder, but I'm sure someone out there can help.

    "I want to know how to cause damage to other computers, I just want to learn! Really!"

    Fuck off.
     
  5. Unread #3 - Oct 20, 2010 at 8:24 PM
  6. blindkilla
    Joined:
    Jun 22, 2005
    Posts:
    1,896
    Referrals:
    0
    Sythe Gold:
    6
    Discord Unique ID:
    282000633404456960
    Discord Username:
    sogord

    blindkilla Guru
    $25 USD Donor New

    This one might be a little harder, but I'm sure someone out there can help.

    If you don't find anyone with the answer to your question here, try asking on stackoverflow.com

    Or he actually just wants to know for the sake of knowing...
     
  7. Unread #4 - Oct 20, 2010 at 8:46 PM
  8. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    This one might be a little harder, but I'm sure someone out there can help.

    Highly unlikely. Judging by his post, there are a ton of other things he should probably be figuring out first.

    Not to mention, he's only asking how to do it. Not how it works, how to stop it, etc.

    And don't even get me started about the "halt command."
     
  9. Unread #5 - Oct 21, 2010 at 4:23 AM
  10. Ashken
    Joined:
    Dec 18, 2009
    Posts:
    12
    Referrals:
    0
    Sythe Gold:
    0

    Ashken Newcomer

    This one might be a little harder, but I'm sure someone out there can help.

    you can do that on a 16-bit real mode OS like DOS since it has no protection and allows you to directly access hardware and BIOS interrupts.In a 32 bit protected mode OS you can't unless the OS provides a system call for you to do so which i highly doubt.If you want to play around with such low level stuff get BOCHS emulator and an assembler.build a boot loader or 16-bit OS if you can and toy with it. or better yet get DOS.

    Code:
    ; bootloader ASM
    
    [bits 16]
    
    org 0x7C00
    
    start: jmp routine
     
    msg db "Hello world OS 0.1!",0
    
    display:
    			lodsb
    			or			al, al				
    			jz			end			
    			mov			ah,	0eh			
    			int			10h
    			jmp			display
    end:
    			ret
    routine:
    
    	xor	ax, ax										
          mov	si, msg
    	
    	call	display
    
    	cli			; Clear  Interrupts
    	hlt			; halt 
    	
    times 510 - ($-$$) db 0	
    
    
     
  11. Unread #6 - Oct 21, 2010 at 8:01 AM
  12. Govind
    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    This one might be a little harder, but I'm sure someone out there can help.

    You could do it through a kernel-mode driver in a Windows NT operating system, too.
     
  13. Unread #7 - Oct 21, 2010 at 6:22 PM
  14. Demonten
    Joined:
    Sep 14, 2010
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0

    Demonten Newcomer

    This one might be a little harder, but I'm sure someone out there can help.

    I'm not planning to pwn someone's computer.
     
  15. Unread #8 - Dec 10, 2010 at 1:52 PM
  16. Eduard
    Joined:
    May 26, 2006
    Posts:
    45
    Referrals:
    1
    Sythe Gold:
    0

    Eduard Member
    Banned

    This one might be a little harder, but I'm sure someone out there can help.

    Yeah but let him learn a language first. And writing a devicedriver is quite hard to write tbh. I love when i try to compile and I allocate a bad pointer :)
     
< Java could not create the virtual machine | New here, seeking advice >

Users viewing this thread
1 guest


 
 
Adblock breaks this site