Skip to content

alex-free/ps1-dvd-logo-demo

Repository files navigation

PS1 DVD Logo Demo

By Alex Free

PS1 DVD Logo Demo is a small demo for the PlayStation 1 console. It essentially demonstrates the following features/functionality:

  • Bounces a large 128x74 DVD logo sprite around a screen (of 320x240p resolution) at 60 FPS.
  • The DVD logo sprite can randomly change to 1 of 7 different colors each time the logo bounces off of the screen and changes direction.
  • When an exact symmetrical corner hit occurs, an 'exact corner hit counter' will appear at the top of the screen after a very brief screen flash of white, as well as a message explaining the controls to dismiss said message. Press DPAD-UP on a controller to dismiss it until the next exact symmetrical corner hit occurs, or press DPAD-DOWN to dismiss it forever. The message explaining the controls will automatically disappear in about 30 seconds after first being displayed if you do nothing. If you do press up or down on your controller, the message explaining the controls will disappear along with the 'exact corner hit counter'.

PS1 DVD Player uses 7 different CLUTs (ColorLookUpTables) to change the appearance of the single DVD logo sprite, using barely any VRAM. This demo also does not use the libgs library, making it "more to the metal" and tiny in size. The HBlank root counter is used to seed the random function for selecting each CLUT/color on screen.

All Japanese and American PS1/PS2 consoles are supported as they have the NTSC video mode. Everything is currently hard-coded to NTSC 320x240 resolution, and the demo will currently not work on PAL consoles in PAL video mode. PAL consoles with an NTSC video mod would also work.

External Links

Downloads

Version 1.0 (11/25/2022)

Building From Source

Requirements

*Timedit is optional and not required for just building the source. However if you want to mess with the TimEdit project file dvd.tpj to change the TIM image. I Suggest my fork because currently (as of 11/25/2022) the [original TimEdit] doesn't work on Linux, only Windows. My fork works on both.

After downloading the latest source, cd into ps1-dvd-logo-demo source directory and execute these commands (this is a one-liner):

cmake --preset default . && cmake --build ./build --clean-first

License

PS1 DVD Logo Demo is released under the 3-BSD license. See the file license.txt in each release for more info.

Credits

About

Small DVD logo meme related demo for the PlayStation 1 console

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published