Sythe.Org Forums     Register     FAQ     Members List     Calendar     Mark Forums Read    
 
Sythe.Org Forums  
   Runescape Gold

Sythe.org — A Virtual Goods Trading Hub

Make real cash! buying and selling in-game items.

We have a no-scam policy.

You can make thousands playing your favourite games here at Sythe.org.

Just sign up an account and follow the rules!


Take me to

Runescape Markets

Other Game Markets

Support Center

Register an Account

Close
This one might be a little harder, but I'm sure someone out there can help.
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10-21-2010, 12:35 AM
Newcomer
 
Join Date: Sep 2010
Location: Toronto, ON, CAN
Posts: 5
Default 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
Reply With Quote
  #2  
Old 10-21-2010, 12:49 AM
cp's Avatar
an cat
Mudkips Java Programmers Visual Basic Programmers Ex-Moderator
 
Join Date: Jan 2007
Location: [+]
Posts: 3,286
Default Re: 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.
__________________
Do you like bitcoins? Do you want to buy or sell bitcoins? PM me or check out this thread.
Ex-programming mod, Ex-market mod, Ex-Head User Educator, Ex-Global Mod
Reply With Quote
  #3  
Old 10-21-2010, 01:24 AM
Guru
 
Join Date: Jun 2005
Location: Canada
Posts: 1,844
Default Re: 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

Quote:
Originally Posted by cp View Post
"I want to know how to cause damage to other computers, I just want to learn! Really!"

Fuck off.
Or he actually just wants to know for the sake of knowing...
__________________

Reply With Quote
  #4  
Old 10-21-2010, 01:46 AM
cp's Avatar
an cat
Mudkips Java Programmers Visual Basic Programmers Ex-Moderator
 
Join Date: Jan 2007
Location: [+]
Posts: 3,286
Default Re: This one might be a little harder, but I'm sure someone out there can help.

Quote:
Originally Posted by blindkilla View Post
Or he actually just wants to know for the sake of knowing...
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."
__________________
Do you like bitcoins? Do you want to buy or sell bitcoins? PM me or check out this thread.
Ex-programming mod, Ex-market mod, Ex-Head User Educator, Ex-Global Mod
Reply With Quote
  #5  
Old 10-21-2010, 09:23 AM
Newcomer
 
Join Date: Dec 2009
Posts: 13
Default Re: 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

Last edited by Ashken : 10-21-2010 at 09:24 AM.
Reply With Quote
  #6  
Old 10-21-2010, 01:01 PM
Govind's Avatar
Hero
Highly Respected Highly Trusted Sythe Verified User
 
Join Date: Apr 2005
Posts: 7,068
Default Re: This one might be a little harder, but I'm sure someone out there can help.

Quote:
Originally Posted by Ashken View Post
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
You could do it through a kernel-mode driver in a Windows NT operating system, too.
Reply With Quote
  #7  
Old 10-21-2010, 11:22 PM
Newcomer
 
Join Date: Sep 2010
Location: Toronto, ON, CAN
Posts: 5
Default Re: 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.
Reply With Quote
  #8  
Old 12-10-2010, 06:52 PM
Member
BANNED
 
Join Date: May 2006
Posts: 45
Default Re: This one might be a little harder, but I'm sure someone out there can help.

Quote:
Originally Posted by SMR View Post
You could do it through a kernel-mode driver in a Windows NT operating system, too.
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
Reply With Quote
Reply



Cheap RS Gold Store  Runescape Gold

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT +1. The time now is 11:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.1