I'm retired after this assembly routine hehe

Discuss popular GCS tools like ZZT, Megazeux and Adventure Game Studio, as well as programming and other topics related to game design.
Post Reply
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

I'm retired after this assembly routine hehe

Post 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
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

Warning for true DOS users.

Post 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.
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

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

Post 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.
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
MrFlibble
Demoniac Demo maniac
Demoniac Demo maniac
Posts: 3744
Joined: Sun Dec 05, 2010 11:39 am

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

Post 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.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

God, Jesus Christ, is number one!hehe

Post 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, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

God is good after all!

Post 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
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
Post Reply