|
|
@ -53,14 +53,38 @@ start:
|
|
|
|
|
|
|
|
|
|
|
|
mov si, msg1
|
|
|
|
mov si, msg1
|
|
|
|
call print
|
|
|
|
call print
|
|
|
|
mov si, msg2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
print_projects:
|
|
|
|
|
|
|
|
mov ah, 02h ;sets cursor to top to write
|
|
|
|
|
|
|
|
mov bh, 0h
|
|
|
|
|
|
|
|
mov dh, 6h ;row
|
|
|
|
|
|
|
|
mov dl, 4h ;col
|
|
|
|
|
|
|
|
int 10h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
xor bx, bx ; Starting at offset zero
|
|
|
|
|
|
|
|
lea di, [projects] ; RDI now has the address of the array
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.loop
|
|
|
|
|
|
|
|
mov ah, 02h
|
|
|
|
|
|
|
|
;mov bh, 0h
|
|
|
|
|
|
|
|
add dh, 1h ;move cursor down
|
|
|
|
|
|
|
|
int 10h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mov si, [di+bx] ; Get the address of string1
|
|
|
|
|
|
|
|
call print
|
|
|
|
|
|
|
|
add bx, 8
|
|
|
|
|
|
|
|
cmp bx, 48
|
|
|
|
|
|
|
|
jne .loop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
jmp exit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
print:
|
|
|
|
print:
|
|
|
|
lodsb
|
|
|
|
lodsb
|
|
|
|
or al,al
|
|
|
|
or al,al
|
|
|
|
jz exit
|
|
|
|
jz exit
|
|
|
|
mov bl, 0x03
|
|
|
|
;mov bl, 0x03
|
|
|
|
mov ah,0x0e
|
|
|
|
mov ah,0x0e
|
|
|
|
int 10h
|
|
|
|
int 10h
|
|
|
|
jmp print
|
|
|
|
jmp print
|
|
|
@ -68,7 +92,14 @@ print:
|
|
|
|
ret
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
msg1 db " X P U B",0x0A,0
|
|
|
|
msg1 db " X P U B",0x0A,0
|
|
|
|
msg2 db " NOT MY DEFAULT",0x0D,0x0A,0
|
|
|
|
msg2 db " NOT MY DEFAULT",0x0D,0x0A,0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
project1 db "Alex / Poetic Software", 0x0A,0
|
|
|
|
|
|
|
|
project2 db "Tash / Silence Making", 0x0A,0
|
|
|
|
|
|
|
|
project3 db "Alice / F00d", 0x0A,0
|
|
|
|
|
|
|
|
project4 db "Joca / The ghost in the speaker", 0x0A,0
|
|
|
|
|
|
|
|
project5 db "Angeliki / Voices", 0x0A,0
|
|
|
|
|
|
|
|
project6 db "Zalan / Phantasmagoria", 0x0A,0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
projects dq project1, project2, project3, project4, project5, project6
|
|
|
|