honeylab's blog

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

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.