Ok this is a animation square by square and this is the frame to be printed
frame1 db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
db 0F0h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',80h, 'o',80h, ' ',80h, ' '
db 10h, ' ',0F0h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',80h, ' ',80h, ' ',80h, ' '
db 10h, ' ',10h, ' ',0F0h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
db 10h, ' ',10h, ' ',10h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
db 10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
db 10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
db 10h, ' ',10h, ' ',10h, ' ',60h, ' ',60h, ' ',10h, ' ',10h, ' ',10h, ' ',00h, ' ',00h, ' ',10h, ' ',10h, ' '
then i have to make a macro to print this frame in a 80 by 25 comand prompt window but it have to be printed centralized in the bottom of the page this is the macro that i have so far.
mPrintFrame macro frame
local firstLoop
local innerLoop
local endFirstLoop
local endInnerLoop
push bx
mov bx, 0
push si
mov si, 0
push cx
mov cx, 0Ch
push di
mov di, 0
firstLoop:
push cx
mov cx , 0Ch
innerLoop:
mov ah, frame[di]
add di, 1
mov al, frame[di]
add di, 1
mov es:[si], ax
add si, 2
loop innerLoop
endInnerLoop:
pop cx
add bx, 1
mov ax, 0A0h
mul bx
mov si, ax
loop firstLoop
endFirstLoop:
pop di
pop cx
pop si
pop bx
endm
If anyone can make the needed notification ill be more than please.
Answer ASAP!!!please
Comments
:
:
: frame1 db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: db 0F0h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',80h, 'o',80h, ' ',80h, ' '
: db 10h, ' ',0F0h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',80h, ' ',80h, ' ',80h, ' '
: db 10h, ' ',10h, ' ',0F0h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
: db 10h, ' ',10h, ' ',10h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
: db 10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
: db 10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
: db 10h, ' ',10h, ' ',10h, ' ',60h, ' ',60h, ' ',10h, ' ',10h, ' ',10h, ' ',00h, ' ',00h, ' ',10h, ' ',10h, ' '
:
: then i have to make a macro to print this frame in a 80 by 25 comand prompt window but it have to be printed centralized in the bottom of the page this is the macro that i have so far.
:
:
: mPrintFrame macro frame
: local firstLoop
: local innerLoop
: local endFirstLoop
: local endInnerLoop
: push bx
: mov bx, 0
: push si
: mov si, 0
: push cx
: mov cx, 0Ch
: push di
: mov di, 0
:
: firstLoop:
: push cx
: mov cx , 0Ch
: innerLoop:
: mov ah, frame[di]
: add di, 1
: mov al, frame[di]
: add di, 1
: mov es:[si], ax
: add si, 2
: loop innerLoop
: endInnerLoop:
: pop cx
: add bx, 1
: mov ax, 0A0h
: mul bx
: mov si, ax
: loop firstLoop
: endFirstLoop:
:
: pop di
: pop cx
: pop si
: pop bx
: endm
:
:
: If anyone can make the needed notification ill be more than please.
: Answer ASAP!!!please
:
Anyone knows anything about it
: :
: :
: : frame1 db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: : db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: : db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: : db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: : db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: : db 0F0h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',80h, 'o',80h, ' ',80h, ' '
: : db 10h, ' ',0F0h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',80h, ' ',80h, ' ',80h, ' '
: : db 10h, ' ',10h, ' ',0F0h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
: : db 10h, ' ',10h, ' ',10h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
: : db 10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
: : db 10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
: : db 10h, ' ',10h, ' ',10h, ' ',60h, ' ',60h, ' ',10h, ' ',10h, ' ',10h, ' ',00h, ' ',00h, ' ',10h, ' ',10h, ' '
: :
: : then i have to make a macro to print this frame in a 80 by 25 comand prompt window but it have to be printed centralized in the bottom of the page this is the macro that i have so far.
: :
: :
: : mPrintFrame macro frame
: : local firstLoop
: : local innerLoop
: : local endFirstLoop
: : local endInnerLoop
: : push bx
: : mov bx, 0
: : push si
: : mov si, 0
: : push cx
: : mov cx, 0Ch
: : push di
: : mov di, 0
: :
: : firstLoop:
: : push cx
: : mov cx , 0Ch
: : innerLoop:
: : mov ah, frame[di]
: : add di, 1
: : mov al, frame[di]
: : add di, 1
: : mov es:[si], ax
: : add si, 2
: : loop innerLoop
: : endInnerLoop:
: : pop cx
: : add bx, 1
: : mov ax, 0A0h
: : mul bx
: : mov si, ax
: : loop firstLoop
: : endFirstLoop:
: :
: : pop di
: : pop cx
: : pop si
: : pop bx
: : endm
: :
: :
: : If anyone can make the needed notification ill be more than please.
: : Answer ASAP!!!please
: :
:
:
: Anyone knows anything about it
:
What notification?
: : :
: : :
: : : frame1 db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : db 0F0h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',80h, 'o',80h, ' ',80h, ' '
: : : db 10h, ' ',0F0h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',80h, ' ',80h, ' ',80h, ' '
: : : db 10h, ' ',10h, ' ',0F0h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : db 10h, ' ',10h, ' ',10h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : db 10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : db 10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : db 10h, ' ',10h, ' ',10h, ' ',60h, ' ',60h, ' ',10h, ' ',10h, ' ',10h, ' ',00h, ' ',00h, ' ',10h, ' ',10h, ' '
: : :
: : : then i have to make a macro to print this frame in a 80 by 25 comand prompt window but it have to be printed centralized in the bottom of the page this is the macro that i have so far.
: : :
: : :
: : : mPrintFrame macro frame
: : : local firstLoop
: : : local innerLoop
: : : local endFirstLoop
: : : local endInnerLoop
: : : push bx
: : : mov bx, 0
: : : push si
: : : mov si, 0
: : : push cx
: : : mov cx, 0Ch
: : : push di
: : : mov di, 0
: : :
: : : firstLoop:
: : : push cx
: : : mov cx , 0Ch
: : : innerLoop:
: : : mov ah, frame[di]
: : : add di, 1
: : : mov al, frame[di]
: : : add di, 1
: : : mov es:[si], ax
: : : add si, 2
: : : loop innerLoop
: : : endInnerLoop:
: : : pop cx
: : : add bx, 1
: : : mov ax, 0A0h
: : : mul bx
: : : mov si, ax
: : : loop firstLoop
: : : endFirstLoop:
: : :
: : : pop di
: : : pop cx
: : : pop si
: : : pop bx
: : : endm
: : :
: : :
: : : If anyone can make the needed notification ill be more than please.
: : : Answer ASAP!!!please
: : :
: :
: :
: : Anyone knows anything about it
: :
:
: What notification?
:
What i need is that this macro prints the frame centralized in the bottom of the comand prompt window
: : : :
: : : :
: : : : frame1 db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : : db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : : db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : : db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : : db 10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : : db 0F0h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',80h, 'o',80h, ' ',80h, ' '
: : : : db 10h, ' ',0F0h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',80h, ' ',80h, ' ',80h, ' '
: : : : db 10h, ' ',10h, ' ',0F0h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : : db 10h, ' ',10h, ' ',10h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : : db 10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : : db 10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' ',10h, ' ',20h, ' ',10h, ' ',10h, ' ',10h, ' '
: : : : db 10h, ' ',10h, ' ',10h, ' ',60h, ' ',60h, ' ',10h, ' ',10h, ' ',10h, ' ',00h, ' ',00h, ' ',10h, ' ',10h, ' '
: : : :
: : : : then i have to make a macro to print this frame in a 80 by 25 comand prompt window but it have to be printed centralized in the bottom of the page this is the macro that i have so far.
: : : :
: : : :
: : : : mPrintFrame macro frame
: : : : local firstLoop
: : : : local innerLoop
: : : : local endFirstLoop
: : : : local endInnerLoop
: : : : push bx
: : : : mov bx, 0
: : : : push si
: : : : mov si, 0
: : : : push cx
: : : : mov cx, 0Ch
: : : : push di
: : : : mov di, 0
: : : :
: : : : firstLoop:
: : : : push cx
: : : : mov cx , 0Ch
: : : : innerLoop:
: : : : mov ah, frame[di]
: : : : add di, 1
: : : : mov al, frame[di]
: : : : add di, 1
: : : : mov es:[si], ax
: : : : add si, 2
: : : : loop innerLoop
: : : : endInnerLoop:
: : : : pop cx
: : : : add bx, 1
: : : : mov ax, 0A0h
: : : : mul bx
: : : : mov si, ax
: : : : loop firstLoop
: : : : endFirstLoop:
: : : :
: : : : pop di
: : : : pop cx
: : : : pop si
: : : : pop bx
: : : : endm
: : : :
: : : :
: : : : If anyone can make the needed notification ill be more than please.
: : : : Answer ASAP!!!please
: : : :
: : :
: : :
: : : Anyone knows anything about it
: : :
: :
: : What notification?
: :
: What i need is that this macro prints the frame centralized in the bottom of the comand prompt window
:
:
Well, to print centralised text, just pad with (screeenWidth-textLength)/2 spaces.