Changeset 37 for trunk/BOOTCODE/MBR-PROT/MBR_PROT.ASM
- Timestamp:
- Apr 11, 2014, 8:39:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/MBR-PROT/MBR_PROT.ASM
r30 r37 19 19 ; AiR-BOOT SETUP / GENERIC & GENERAL SETUP ROUTINES 20 20 ;--------------------------------------------------------------------------- 21 ; 22 ; First define processor so when a model is specified 23 ; the correct default segments are created. 24 ; 25 .286 26 ;.model large,c 21 27 28 ;_TEXT SEGMENT USE16 PUBLIC 'CODE' 29 ;_TEXT ENDS 30 31 MBRPROT GROUP CODE_SEG 32 ;DGROUP GROUP CODE_SEG 33 34 CODE_SEG SEGMENT USE16 PUBLIC 'CODE' 35 36 ;assume cs:MBRPROT, ds:MBRPROT, es:nothing, ss:nothing 37 assume cs:MBRPROT, ds:MBRPROT, es:nothing, ss:nothing 38 39 org 0000h 22 40 .386p 23 .model large, basic24 25 code_seg segment public use1626 assume cs:code_seg, ds:nothing, es:nothing, ss:nothing27 org 0000h28 41 29 42 ; Yes you are :-) … … 114 127 jmp WindowsProcessing 115 128 116 MBRProt_WriteLine Proc Near 129 MBRProt_WriteLine Proc Near Uses ax bx cx dx 117 130 add di, 26 118 131 mov ah, 4Ch ; red/brightred … … 148 161 MBRProt_WriteBorderLine EndP 149 162 150 MBRP_Line1 :db 'ÕÍÍŽ!ATTENTION! -> A V1RU5 WAS FOUND <- !ATTENTION!ÃÍÍž'151 MBRP_EmptyLine :db '³ ³'163 MBRP_Line1 db 'ÕÍÍŽ!ATTENTION! -> A V1RU5 WAS FOUND <- !ATTENTION!ÃÍÍž' 164 MBRP_EmptyLine db '³ ³' 152 165 db '³ A program tried to write to your Master Boot Record ³' 153 166 db '³ AiR-BOOT supposes this as a viral act, so it ³' 154 167 db '³ intercepted it and crashed the system. ³' 155 MBRP_Line2 :db '³ If you tried to install a OS or something like that ³'168 MBRP_Line2 db '³ If you tried to install a OS or something like that ³' 156 169 db '³ you have to deactivate MBR PROTECTION in AiR-BOOT ³' 157 170 db '³ or contact your supervisor. ³' 158 ;MBRP_Line3 :db 'ÔÍÍÍŽAiR-BOOT (c) Copyright by M. Kiewitz 1999-2009ÃÍÍŸ'159 MBRP_Line3 : db 'ÔÍÍÍŽAiR-BOOT (c) Copyright by M. Kiewitz 1999-2011ÃÍÍŸ'171 ;MBRP_Line3 db 'ÔÍÍÍŽAiR-BOOT (c) Copyright by M. Kiewitz 1999-2009ÃÍÍŸ' 172 MBRP_Line3 db 'ÔÍÍÍŽAiR-BOOT (c) Copyright by M. Kiewitz 1999-2012ÃÍÍŸ' 160 173 161 174 org 1023 162 175 db 0 163 176 164 code_seg EndS177 CODE_SEG ENDS 165 178 end
Note:
See TracChangeset
for help on using the changeset viewer.