How does Quake flip the screen so fast?

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: 2670
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

How does Quake flip the screen so fast?

Post by tienkhoanguyen »

Well, I think I got it figured out. I made a program that moved sixty-four thousand pixels instantly! It is hard to believe how far I came from 8 months ago. If you were with me from the beginning of my career starting here, you know that I was only able to move the whole graphics screen within twelve seconds. It has increased to the point where the delay is nonexistant. Well, the key secret is the assembly command "movsw". According to my assembly manual, it takes 18 clock cycles per pixel using this command. This means that the DOS chip can process 64000 pixels in less than a fraction of a second. So it is for all you can see, so called "instant" since it is only less than a fraction of a second to move the entire screen from one point to the next.

I give God the glory for my accomplishments!!!!!!!!!!!! As you can see, something so impressive like this is hidden from the public so that programs is sold at a profit. Now, the secrets are out.

Remember to go to church if you find any of my work useful. It is more important that I help you out with a good life. Of course, money is a concern, however, I believe that since I am helping out of my own free will that I will receive from people who appreciate it.

Thank you to all of my friends, families, and people who support me in return. The feeling is mutual.

Amen.
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: 2670
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

God, Jesus Christ, is number one!hehe

Post by tienkhoanguyen »

JESUS!

Here is a mini-Quake remake. It is only a DEMO so don't get disappointed because you can only turn 360 degrees haha. Anyways, thanks to the original Quake people for their idea.

Even though it is my coding, the basic idea relates to the original first ediion of Quake One.

The DEMO takes about 2 minutes to load all the data. Then once the first screen is shown, you can pan left using the J key. You can pan right using the L key.

I am taking the time out this memorial day to thank God who created us all!!!!!!!!!!!! His official title is "my The LORD of all hosts!". At least that is the official title for me anyways.

Honour to my father Nguyen Binh Thuy who is a veteran who taught me to be successful for the remainder of my life until I God calls me home in peace at 100 years old#!!

Honour to my mother Huong Thi Vu for being a helper who does the little things like being my real mom!!!!!

http://www.mediafire.com/download/2ig5e49eegr8uqj/e.zip


Please note, the original Quake One is from their respective copyright holder. I am only showing off a DEMO of my likeness of their game. Hopefully, they are not offended because I have the original game in my possession. :D
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: 2670
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

God, Jesus Christ, is number one!hehe

Post by tienkhoanguyen »

Jesus Christ!hehe

I have increased the data loading a bit so it should only take less than 24 seconds before the first screen shows.

http://www.mediafire.com/download/ep76r ... 8p5/e8.rar

Thank you Jesus Christ first of all, then my real two parents!

Also, David Brackeen gets the credit in this DEMO for his VGA and bitmap load.

Amen.
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: 2670
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

God, Jesus Christ, is number one!hehe

Post by tienkhoanguyen »

Jesus Christ!hehe

Well, here we go.

Another day.

I continue to be impress by was that John Carmack or John Romero? hehe

I'm sorry for the mispronounciation if any hehe

Did you know you need like 30 MB of is it virtual disc cache for the game?
hehe

All those rooms you see have been preprocessed ahead of time.

On the serious side it is a LOT of work.

After studying for quite awhile the mystery is gone.

However what really is impressive is a LOT of work has gone into it.

The quality of the game is impressive too.

You may not like the genre however the work that goes into it is high.

Thank you God for showing me the potential work that went into it#!!!!!!!!!!!!

Bless my real mother Huong Thi Vu for pushing me to understand!!!!!
Now I know better than to put any game down.
Some people put everything into it however you just have to look to know.

So the ultimate answer is each screen is not continuous.

I slowed the game down enough to know it uses frames.

Instead of the gate opening smoothly a pixel at a time it jumps.

It jumps in maybe 5 sections.

The speed is so fast that it tricks the eyes into perceiving a continous motion
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