That first instrument reminded me so much of the 8 bit section in the game Inscryption!
Haven't played the game, but I imagine the 8 bit section would certainly have a pulse/square wave instrument of sort :)