08-24-2010, 10:09 AM
ASM OS vista portable:
lol BSOD IMG:
![[Image: 2zpqrtl.jpg]](http://i34.tinypic.com/2zpqrtl.jpg)
Code:
; create BOOT file
#MAKE_BOOT#
;load Boot rekord at 0000:7C00
ORG 7C00h
LEA SI, msg
mov ah, 09h
mov cx, 2024
pop bx
mov bh, 0
mov bl, 10011111b
mov al, ' '
int 10h
MOV AH, 0Eh
print: MOV AL, [SI]
CMP AL, 0
JZ done
INT 10h ; print using teletype.
INC SI
JMP print
; wait for 'any key':
done: MOV AH, 0
INT 16h ;reboot
; store valu at 0040h:0072h:
; 0000h - cold
; 1234h - warm
MOV AX, 0040h
MOV DS, AX
MOV w.[0072h], 0000h ; cold
JMP 0FFFFh:0000h ; reboot
nl EQU 13, 10
msg DB 'A problem has been detected and Windows has been shut down to prevent damage',nl,'to your computer.',nl,nl,'WINDOWS_SUCKS',nl,nl,'if this is the first time you have seen this Stop error screen,',nl,'restart your computer. if this screen appears again, follow',nl,'these steps:',nl,nl,'*get rid of windows and get Linux',nl,'*throw your computer out the window(s)', 0lol BSOD IMG:
![[Image: 2zpqrtl.jpg]](http://i34.tinypic.com/2zpqrtl.jpg)