Jump to content



0

PSOD (purple screen of death)


10 replies to this topic

#1 esplonky OFFLINE  

esplonky

    Moonsweeper

  • 292 posts
  • Kinetic, Not synthetic.
  • Location:Canyon Lake, TX

Posted Sun Jun 5, 2011 10:50 PM

Purple screen of death (PSOD) is a very precise problem. not enough RAM to play your ROM file, so the atari flips out. it shows a black screen then purple starts coming in from the sides and sound ascends in pitch until the purple meets and then makes an ugly sound that will give little kids nightmares.

it usually happens because of the following:

too many banks
too big of playfield/playerx
too many players
or just too much happening in your game.



if your ROM file exceeds more than 4k (4 kilobytes) then you need to check your code.

my uploader on atariage isn't working right so i'll give you my code that will do this.

the way i got psod in this is from too big of a sprite. (way too big)

 


start


 playfield:
 ................................
 ................................
 ................................
 ................................
 ................................
 ................................
 ................................
 ................................
 ................................
 ................................
 ................................
end

 drawscreen

sprites
 
 player0:
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000011111111111111111000000000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000111111111111111111110000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000011111110000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000011111111111111111000000000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000111111111111111111110000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000011111110000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %00000000000000000000000000000000000000000000000000000000000000
 %11111111111111111111111111111111111111111111111111111111111111
end

main_loop
 goto sprites


if you know of any more reasons reply, or if you just wanna say "i love you" that's ok too!

Edited by esplonky, Sun Jun 5, 2011 10:56 PM.


#2 Cebus Capucinis OFFLINE  

Cebus Capucinis

    Unpaid Janitor

  • 6,519 posts
  • AtatiAge "New Life" Counselor
  • Location:Albuquerque, NM

Posted Sun Jun 5, 2011 11:26 PM

I love you.

#3 SeaGtGruff OFFLINE  

SeaGtGruff

    River Patroller

  • 4,545 posts
  • Location:Georgia, USA

Posted Mon Jun 6, 2011 1:08 AM

View Postesplonky, on Sun Jun 5, 2011 10:50 PM, said:

Purple screen of death (PSOD) is a very precise problem. not enough RAM to play your ROM file, so the atari flips out. it shows a black screen then purple starts coming in from the sides and sound ascends in pitch until the purple meets and then makes an ugly sound that will give little kids nightmares.
This can happen on an emulator like Stella, but not on an actual 2600-- at least not "in error." What's happening (if I remember correctly) is a bad ROM size that causes the emulator to try to load the ROM as though it were a Starpath Supercharger game. (Of course, it *will* happen on an actual 2600 if you're loading your ROM into a Starpath Supercharger-- which used to be one of the very few ways you could play your homebrew ROMs on a real 2600 before there were programmable multicarts available.)

Michael

#4 esplonky OFFLINE  

esplonky

    Moonsweeper

  • 292 posts
  • Kinetic, Not synthetic.
  • Location:Canyon Lake, TX

Posted Mon Jun 6, 2011 7:29 AM

Yes, I'm talking to developers so if they see that, they know what it means.

#5 keilbaca OFFLINE  

keilbaca

    Salame!

  • 7,185 posts
  • Code Monkey like Tab and Mt. Dew
  • Location:Wyano, PA

Posted Mon Jun 6, 2011 7:50 AM

Is there a way I can see said purple screen of death? I like stupid random terrible noises. :D

#6 Wickeycolumbus OFFLINE  

Wickeycolumbus

    River Patroller

  • 4,064 posts
  • Location:Michigan

Posted Mon Jun 6, 2011 9:09 AM

View Postesplonky, on Sun Jun 5, 2011 10:50 PM, said:

Purple screen of death (PSOD) is a very precise problem. not enough RAM to play your ROM file, so the atari flips out. it shows a black screen then purple starts coming in from the sides and sound ascends in pitch until the purple meets and then makes an ugly sound that will give little kids nightmares.

it usually happens because of the following:

too many banks
too big of playfield/playerx
too many players
or just too much happening in your game.



if your ROM file exceeds more than 4k (4 kilobytes) then you need to check your code.

my uploader on atariage isn't working right so i'll give you my code that will do this.

the way i got psod in this is from too big of a sprite. (way too big)



if you know of any more reasons reply, or if you just wanna say "i love you" that's ok too!


When you try to run a zero byte ROM, Stella will detect it as a Supercharger ROM as SeaGtGruff pointed out. This will happen when there are fatal assembly errors, all the reasons you mentioned above will cause this. I'd upload a zero byte ROM but the forum software doesn't seem to like it.

#7 stephena ONLINE  

stephena

    Stargunner

  • 1,968 posts
  • Stella maintainer
  • Location:Newfoundland, Canada

Posted Mon Jun 6, 2011 11:52 AM

View PostWickeycolumbus, on Mon Jun 6, 2011 9:09 AM, said:

When you try to run a zero byte ROM, Stella will detect it as a Supercharger ROM as SeaGtGruff pointed out. This will happen when there are fatal assembly errors, all the reasons you mentioned above will cause this. I'd upload a zero byte ROM but the forum software doesn't seem to like it.
This comes from looking at the size of the ROM file. The first test that Stella does is check to see if the file size is a multiple of 8448 (which all Supercharger ROMs will be). And since 0 is a multiple of 8448, it thinks it's a Supercharger ROM! This should probably be fixed in Stella, with an indication that the ROM file is empty.

#8 atari2600land ONLINE  

atari2600land

    Quadrunner

  • 6,496 posts
  • All hail the zyzzyva!
  • Location:Salem, Oregon

Posted Thu Jun 9, 2011 7:20 PM

Another problem with your code is there is no drawscreen.

#9 ScumSoft OFFLINE  

ScumSoft

    Moonsweeper

  • 331 posts
  • Location:Polysorbate 60

Posted Thu Jun 9, 2011 8:53 PM

I see a drawscreen, might have added it after you posted.

Edited by ScumSoft, Thu Jun 9, 2011 8:54 PM.


#10 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 20,923 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Thu Jun 9, 2011 9:07 PM

View PostScumSoft, on Thu Jun 9, 2011 8:53 PM, said:

I see a drawscreen, might have added it after you posted.
Yeah, he has a drawscreen, just not in his main loop.

#11 esplonky OFFLINE  

esplonky

    Moonsweeper

  • 292 posts
  • Kinetic, Not synthetic.
  • Location:Canyon Lake, TX

Posted Sat Jun 11, 2011 12:59 PM

yeah, but i was only trying to draw a big player0 so it takes too much ram




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users