-
Notifications
You must be signed in to change notification settings - Fork 0
/
1T2S.asm
33 lines (33 loc) · 680 Bytes
/
1T2S.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
; Dedicated to a very MSDOS virus payload inspired music video - Titanium 2 step by Battles
; Titanium 2 Step REWRITE
use16
org 0x100
mov dx,battles
mov ax,0x0900
int 0x21
push word 0x0B800
pop es
xor di,di
parta:
add di,0x051d
cmp di,0x3e80
jl partb
sub di,0x3e80
and di,0x05AF
partb:
mov al,[es:di]
add ax,di
mov [es:di],al
mov ah,0x01 ; Check if key touched
int 0x16 ; Check if key touched
jz parta ; if not we start allover again
mov ax,0x0003 ; reset screen
int 0x10 ; reset screen
mov dx,t2step
mov ax,0x0900
int 0x21
MOV AX,0x4C00
INT 0x21
padding: times 5 db 0x90
battles db "It's taking too long to figure it out!$"
t2step db "Alright already!$"