[Help!]Mario BGM style music

As tittle, I’m trying to make some background music for a game, and I want it in a mario style(only fundamental frequencies)
Is there any method can make a song sounds like that?
maybe cutting all harmonics? or using filters?(low pass+high pass) or any output option?
thank you guys!!

Is this what you mean? https://en.wikipedia.org/wiki/Chiptune