How to make classic game format? (NES,BIN,GBA,GBC.SMC.SMD)

So can I make game for

NES,BIN,GBA,GBC.SMC.SMD file format

with unity?

Do you want to make a game for NES or Game Boy Advance? This can’t be done with Unity in any way. You need special tools designed for those platforms.

Search for those file format structures, and then output such file…
That would be quite fun tool to have, creating games for old consoles/computers (emulators) from unity!

this might help also, since it can read gameboy rom file it seems:

Yes, I want to make original classic game for own hardware. I think to make original hardware too.

Interesting.
So this means can unity and c# make original Gameboy game too?

no that link is for a emulator inside of unity to load Gameboy games. That not what you are after.

The gameboy games are written in assembler and unity does not offer a assembler export.
Unity only offers a export for "New Nintendo 3DS and New Nintendo 3DS XL , in case you are a licensed Nintendo developer.

If you are into programming for the gameboy you might be interested in websites like this:
http://gameboy.mongenel.com/asmschool.html

I saw some blog that program by C language for .gb file that can be run on Gameboy.

There may/probably are tools that can convert C program code into assembly code for the Gameboy but unity does not do anything like this.