Page 1 of 1

I'm retired after this assembly routine hehe

Posted: Mon Feb 23, 2015 6:27 am
by tienkhoanguyen
http://www.mediafire.com/download/18zrp ... OPROOF.COM

The above link is to my Borland Turbo Assembler 2.51 life work.

Off the top of my head the code goes like this:

p8086
model tiny
dataseg
msg DB 'I love God. '
udataseg
copyright DB 'Copyright pending (Cp) 2015 Tien Khoa Nguyen'
codeseg
startupcode

mov di, OFFSET msg
mov bx, 0

scanmsg:
cmp bx, 12
jne skip1

mov bx, 0

skip1:
mov dl, ds:[di+bx]
mov ah, 2
int 21h

inc bx

mov cx, 12000
pause:
nop
loop pause

jmp scanmsg
end

Warning for true DOS users.

Posted: Mon Feb 23, 2015 6:29 am
by tienkhoanguyen
If you have a REAL MS-DOS machine this code has no exit.

So the only way to get out is to power off the machine.

Well, I guess today is a deciding day for me.

Posted: Tue Feb 24, 2015 4:36 pm
by tienkhoanguyen
I do not have anymore to give.

I been giving small programs out for the last 5 months or so.

From ArkanDOS, to FakeTRON, and such.

My mind is tapped for inspiration.

Not only that, but also I am drained from doing it each day.

Re: Well, I guess today is a deciding day for me.

Posted: Wed Feb 25, 2015 7:56 am
by MrFlibble
tienkhoanguyen wrote:My mind is tapped for inspiration.

Not only that, but also I am drained from doing it each day.
You definitely should take a rest! Just switching to some other activity for a while can help come up with better ideas sometime later.

BTW, do you read any webcomics? A while ago I really got into this, there's a lot of fun stuff. Irregular Webcomic! is great, I also love The Order of the Stick, which is simply amazing.

God, Jesus Christ, is number one!hehe

Posted: Wed Feb 25, 2015 9:36 am
by tienkhoanguyen
Jesus Christ!hehe

Well, thanks for the great advice. I decided to keep honing my assembly programming skills instead of doing the regular template games and such. So I decided to come out with this little program which uses a different command to move a section of a graphics part to another section. Supposedly it is faster because it performs like 5 commands in one command.

http://www.mediafire.com/view/jl8jbkqyhtmkj4g/MOVSW.C

http://www.mediafire.com/download/rw1il ... /MOVSW.EXE

God is good after all!

Posted: Wed Feb 25, 2015 12:32 pm
by tienkhoanguyen
After working very diligently this morning for hours, I finally succeeded!

my The LORD of all hosts has given me all I ever wanted out of life.

In this edition of shifting the screen, I have used movsw to maximize speed.

The smooth animation is enormous.

http://www.mediafire.com/view/n5453o9b9eoj62x/MOVSW.C

http://www.mediafire.com/download/ojjqv ... /MOVSW.EXE