flat assembler
Message board for the users of flat assembler.
Index
> DOS > B.S. : BlueScreen BSOD in DOS AKA AbortRetryFail INT $24 |
Author |
|
DOS386 30 Jan 2009, 07:32
Code: ; ARFKILL.ASM - 116 Bytes FASM DOS TSR example ; B.S.: BlueScreenOfDeathEx (BSOD) in DOS AKA AbortRetryFailEx killer ; http://board.flatassembler.net/topic.php?t=9740 ; 2009-Mar-20 written: the smallest (116/48/32/0 Bytes) useful TSR ever !!! ; (CL) 2009 Public Domain - ABUSE at your own risk !!! define pope pop define popef popf format binary as "COM" org $0100 use16 mov ax, $0240 cmp sp, ax jb short no_memory mov sp, ax ; BOOM !!! mov ah, $4A mov bx, $28 int $21 ; Unhog jc short no_memory mov ah, $48 mov bx, 2 int $21 ; Hog it now jc short no_memory pushf cli cld dec ax mov es, ax inc ax push ax mov si, junk_stuff mov di, 1 mov cx, 38 rep movsb mov ds, cx mov si, $84 movsw ; "off***" movsw ; "seg" mov es, cx mov di, $84 mov ax, 3 stosw ; "off***" pope ax stosw ; "seg" popef mov dl, 79 ; "O" db $B8 ; MOV AX, stuff no_memory: mov dl, 70 ; "F" mov ah, 2 int $21 mov ah, $4C int $21 ; Enjoy ;-------- junk_stuff: db 8,0, 2,0, 0,0,0, "ARFSUCKS" mov al, 3 ; $B0,3 iret ; $CF ;---- pushf cli push ax push ds xor ax, ax mov ds, ax mov [$90], ax ; "off***" mov ax, cs mov [$92], ax ; "seg" pope ds pope ax popef db $EA ; JMP FAR "seg":"off***" ;------------ This will permanently disable the annoying Abort Retry Fail "feature" of DOS (comparable to BlueScreening of Windoze) It's a TSR, and probably the smallest TSR ever (file size 116 Bytes, resident size 48/32/0 Bytes, depends how you measure). Download now: http://board.flatassembler.net/download.php?id=4311 (4 KiB) Last edited by DOS386 on 06 May 2009, 02:55; edited 2 times in total |
|||
30 Jan 2009, 07:32 |
|
DOS386 22 Mar 2009, 01:52
It's about the criminal error handler INT $24 http://www.ctyme.com/intr/rb-4112.htm
|
|||
22 Mar 2009, 01:52 |
|
DOS386 15 Jun 2009, 15:19
> Thats pretty cool
Wow, an answer after 3 moths > what made you want to make this? The annoying behaviour. BTW, this feature is now also present in my UI21DEB |
|||
15 Jun 2009, 15:19 |
|
TmX 15 Jun 2009, 16:21
DOS386, what kind of DOS you are running? FreeDOS?
I might try DOS once again... |
|||
15 Jun 2009, 16:21 |
|
GhostXoPCorp 15 Jun 2009, 19:44
DOS386: sorry, i just found this, it was interesting and didnt want to leave an interesting topic like this unreplied
_________________ Oh that divide overflow. Just jumps out of the bushes every time to scare the day lights out of me. |
|||
15 Jun 2009, 19:44 |
|
DOS386 16 Jun 2009, 10:52
> what kind of DOS you are running? FreeDOS?
YES, and EDR-DOS (my own done in FASM will need some more time ...) > I might try DOS once again... Please do |
|||
16 Jun 2009, 10:52 |
|
GhostXoPCorp 16 Jun 2009, 18:03
cool, your own dos? i have one but it isnt so great i dont have any drivers except for modifying the int vector, thats it. but i amaking my own interface to go with it soon i wil make that interface a stand alone os. i am sensing a new thread
|
|||
16 Jun 2009, 18:03 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.