Breaking Sec

Full Version: ASM OS vista portable
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
ASM OS vista portable:
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)', 0

lol BSOD IMG:
[Image: 2zpqrtl.jpg]
when did you suddenly go from visual basic to asm?
I whana learn a low-end language (asm/c++) so I was trying asm
Your spelling skills are still amazing I see. Not too bad for a first program.
I remember doing something similar in QBASIC and then setting a hotkey so that I could have a fake error screen pop up whenever someone walked in the room.
I have one for school in vb.net and when a teacher clicks the digibord(pc based chalk bord) it pops up a BSOD
Reference URL's