How to show a splash screen?

All 680x0 related coding posts in this section please.

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

qwe
Atari nerd
Atari nerd
Posts: 44
Joined: Mon Oct 29, 2012 10:06 pm

How to show a splash screen?

Postby qwe » Wed Sep 12, 2018 9:25 am

Hi all,
I'd like to learn how to show a splash screen while the program is loading.
Something like this: https://www.youtube.com/watch?v=-vrizD3Uscg
What do I need?

Thank you

joska
Hardware Guru
Hardware Guru
Posts: 4098
Joined: Tue Oct 30, 2007 2:55 pm
Location: Florø, Norway
Contact:

Re: How to show a splash screen?

Postby joska » Wed Sep 12, 2018 9:54 am

What kind of program? Do you want to load the program as a normal file, or are you writing a trackloading demo or game?

If you want to use normal files and load them with GEMDOS you would have to create two different programs - one for the loader/splashscreen and one for the main program. In the loader you run the animation from the VBL interrupt, and in the main loop you load the program using Pexec(). When the program is finished loading you stop the animation and clean up, then you start the loaded program (again, using Pexec. Study the Pexec documentation carefully).
Jo Even

VanillaMiNT - Firebee - Falcon060 - Milan060 - Falcon040 - MIST - Mega ST - STM - STE - Amiga 600 - Sharp MZ700 - MSX - Amstrad CPC - C64

qwe
Atari nerd
Atari nerd
Posts: 44
Joined: Mon Oct 29, 2012 10:06 pm

Re: How to show a splash screen?

Postby qwe » Wed Sep 12, 2018 1:45 pm

Thank you.
But...where to find Pexec documentation?

User avatar
shoggoth
Nature
Nature
Posts: 934
Joined: Tue Aug 01, 2006 9:21 am
Location: Halmstad, Sweden
Contact:

Re: How to show a splash screen?

Postby shoggoth » Wed Sep 12, 2018 2:14 pm

qwe wrote:Thank you.
But...where to find Pexec documentation?


http://bfy.tw/Jqh3
Ain't no space like PeP-space.


Social Media

     

Return to “680x0”

Who is online

Users browsing this forum: No registered users and 4 guests