• Log in or sign up for an account here: https://www.sythe.org/login

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

Demonten

Newcomer
Joined
Sep 14, 2010
Sythe Gold
0
Messages
5
Location
Toronto, ON, CAN
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
 
"I want to know how to cause damage to other computers, I just want to learn! Really!"

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

"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...
 
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."
 
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
 
Le Monkey
PHP Shit Show 2k26
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
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.
 
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 :)
 
Runescape Gamblingrunescape gambling
Back
Top