honeylab's blog

各種ハードウェアの改造、主にファミコンミニなどをやってます(ました)

スーパーファミコンミニにソフト追加

できましたっと。

 

youtu.be

 

で、今回は既存の(アップデート中の)外国産ツール

github.com

を使ってるので、技術的な労力にはほぼゼロです…
とりあえず一番好きなゲームも入ったのでデバッグ要員としてもあんまり役に立たないしね…

で、上のソフト、今配布されてるバイナリはスーファミミニには対応しておらず、
最新版のツリーからコンパイルしても結構動作が不安定なので、
何かあった時にUARTで何かできるレベルの人以外はぶっちゃけ触らないほうがいいです。

rc4が出てるので少しは安定してきてるんじゃないでしょうか(試してない

日本から人柱が対応しないとスーファミミニ(JP)の対応が遅れるので
勇気のある人はやってみるといいんじゃないでしょうか。
うちのは嫁がマリオRPGを快調に進めているのでうっかり文鎮化すると家庭内問題が発生しますので…(もう一個買えばいいんだけど…)

 

SNESC / NESC u-boot script.fex (hardware setting script) difference

There are hardware setting script NESC and SNESC

https://bitbucket.org/snippets/bakueikozo/jMAKen#file-NESC_script.fex

https://bitbucket.org/snippets/bakueikozo/jMAKen#file-SNESC_script.fex

 

They are nealy equal but some parameter changed.

 

f:id:honeylab:20171003144925p:plain

DRAM Parameters

 

 

f:id:honeylab:20171003145021p:plain

Display parameters

 

f:id:honeylab:20171003145047p:plain

USB Controller (usbc1) has Enabled 

 

I don't know what caused by them now.

SNES OSS code opened!

www.nintendo.co.jp

 

I compare u-boot code with NES u-boot,
some file are differenced but they are fix to compile error for new compiler.

but only 1 file has clearly changed.

 

f:id:honeylab:20171003124101p:plain

 

f:id:honeylab:20171003124207p:plain

 

This is axp power IC setting.

BOOT_POWER22_DCDC_FREQSET value is below.

 

f:id:honeylab:20171003125004p:plain

default value is 0x08 ,but clear lower 4bit and set to 0x00
I don't know why change setting now.

 

BOOT_POWER22_DCDC_MODESET value is below.

f:id:honeylab:20171003124723p:plain

default value is 0x80 and change to 0x86.
It means DCDC1,DCDC2,DCDC3 to fixed PWM mode.

I don't know why setting just now.

 

ファミコンミニ/スーファミミニにマルチタップを繋げることはできませんか?

っていう質問がわりと頻繁に出てるのでちょっと考えてみる。

 

もともと、このシリーズのコントローラはWiiコントローラ互換(アドレス固定のi2c)スレーブデバイスとして作られているので、
コントローラを増やそうとすると、別々のi2cバスが必要になる。
ファミコンミニは、そのために2系統のi2cバスを準備している。

もしそれ以上増やそうとすると、コントローラのi2cアドレスを変更するか、
CPU側のi2cバスを増やすしかない。
で、ファミコンミニのほうはすでにCPUから出ているすべてのi2cを使い切っているので、
コントローラのアドレスを変更するしかない。
とはいえ、コントローラのアドレスは専用マイコンが使われているため変更できない。
なので、i2cのプロトコル内でアドレスを変更してやればいい。

 

但し、デフォルトのコントローラドライバは、各i2c上の0x51のみを探してコントローラデバイスを生成するようになっているので、
これを改造して新しいドライバを入れてやる必要がある。

これを図にすると以下のようになる。

 

 

で、ほんとに何人がマルチタップを使いたいんですのん?

f:id:honeylab:20171002164010j:plain

"SATOU SAWAKO" name in SNESC emulator

f:id:honeylab:20171001021132p:plain

 

In SNESC stock emulator "canoe-shvc" includes text "SATOU SAWAKO".

She is one of staff of Megami Tensei series

http://www.mobygames.com/game/shin-megami-tensei-ii

but , why she's name in SNESC emulator.

 

I think some of old ROM's data  (picture , texture, sprite or any) has included in emulator for test or debugging ...

Mysterious resource in SNES mini about MEGAMI TENSEI and ENTERBRAIN ?

I found mysterious resource in SNESC stock emulator "canoe-shvc"

Some resouce encoded in binary , but it can read as

"NAMCO LTD © 1990"

"ムービック・シップス" "西谷史" "徳間書店"

I know there string are relative to "MEGAMI TENSEI" , but why they are lying in emulator executable binary ????

And MEGAMI TENSEI is not included in SNESC in US or JP.

More, There are  "xBR PUBLISHED BY ENTER BRAIN,INC" resource.

If you see in SNESC screen , tell me please when show up.

 

f:id:honeylab:20170929150059p:plain

Difference between SNES Mini and NES Mini PCB

all pictures are from CEDDY47's teardown movie.

 

www.youtube.com

 

  • around Game Controller connector (this is i2c1 /i2c2)

There are more test or SMD pad , for test or feature extention... ?

 

  • Power circuit has upgraded and UART Pad is appeared

Protection parts is inserted into HDMI VCC output Line.

And more Capacitor and breeding resistor on Power Line.

 

AND..

On NES mini , UART pad was hidden.
But ,suddenly UART connector and marking silk will appeard on SNES mini.
What's means?

  • More capacitor place and little pads for power circuit.

 

  • Alternate UART port (or GPIO PB0 /PB1 ) are alived same as NES mini.

It can be worked as external communication.

 

I have reserved my SNES mini (JP) console with Amazon.
I hope I will get it on October 5.