The secret ending is a special scene that plays after the credits, and you can only unlock it by completing the game 100%.
Right after the credits roll, you're treated to a cutscene showing Fluffy's decapitated tail, with Professor Karlos walking in to collect it.
On GBA, the ending is a still image of Fluffy's decapitated tail with the words To Be Continued... across the bottom — a possible tease for a future game.