;creator=ppkantorski, MestreYodaRossi, B3711
;show_version=true


[@当前配置]
[RAM Table package Info]
;mode=table
;background=false
;spacing=4
;gap=20
;header_indent=true
;info_text_color=header
;section_text_color=header
json_file './json/ram_model.json'
'RAM' = '{json_file(0,{ram_model})}'


[RAM Table]
;mode=table
;spacing=4
;gap=0
hex_file '/atmosphere/kips/loader.kip'
json_file './json/numbers.json'
'时序' = '({json_file(0,{hex_file(CUST,88,1)})}-{json_file(0,{hex_file(CUST,92,1)})}-{json_file(0,{hex_file(CUST,96,1)})}) {json_file(0,{hex_file(CUST,100,1)})}-{json_file(0,{hex_file(CUST,104,1)})}-{json_file(0,{hex_file(CUST,108,1)})}-{json_file(0,{hex_file(CUST,112,1)})}-{json_file(0,{hex_file(CUST,116,1)})}'

hex_file '/atmosphere/kips/loader.kip'
json_file './json/dram.json'
'时序模式'= {json_file(0,{hex_file(CUST,64,1)})}
mariko:
json_file './json/max_clocks.json'
'最大频率' = {json_file(0,{hex_file(CUST,80,3)})}
json_file './json/vddq.json'
'Vddq电压' = {json_file(0,{hex_file(CUST,72,3)})}
json_file './json/vdd2.json'
'Vdd2电压' = {json_file(0,{hex_file(CUST,68,3)})}
json_file './json/ram_dvb.json'
'DVB电表' = {json_file(0,{hex_file(CUST,84,1)})}
erista:
json_file './json/max_clocks.json'
'最大频率' = {json_file(0,{hex_file(CUST,76,3)})}
json_file './json/vdd2.json'
'Vdd2电压' = {json_file(0,{hex_file(CUST,68,3)})}
json_file './json/ram_dvb.json'
'DVB电表' = {json_file(0,{hex_file(CUST,84,1)})}

[gap]
;mode=table
;background=false
;gap=25

[CPU Table package Info]
;mode=table
;background=false
;spacing=4
;gap=20
;header_indent=true
;info_text_color=header
;section_text_color=header
'CPU' = '{cpu_speedo}'

[CPU Table]
;mode=table
;spacing=4
;gap=0
hex_file '/atmosphere/kips/loader.kip'
json_file './json/numbers.json'
'降压等级' = {json_file(0,{hex_file(CUST,12,1)})}
mariko:
json_file './json/high_freq_uv.json'
'高频降压' = {json_file(0,{hex_file(CUST,252,1)})}
json_file './json/cpu_table.json'
'电表模式' = {json_file(0,{hex_file(CUST,272,1)})}
json_file './json/mv.json'
'低频最低电压' = {json_file(0,{hex_file(CUST,24,2)})}
'高频最低电压' = {json_file(0,{hex_file(CUST,28,2)})}
json_file './json/voltage_limit.json'
'最高电压' = {json_file(0,{hex_file(CUST,32,2)})}
json_file './json/max_clocks.json'
'加载频率' = {json_file(0,{hex_file(CUST,8,3)})}
json_file './json/cpu_max_clock_m.json'
'最大频率' = {json_file(0,{hex_file(CUST,264,1)})}
erista:
json_file './json/mv.json'
'最低电压' = {json_file(0,{hex_file(CUST,16,2)})}
json_file './json/voltage_limit.json'
'最高电压' = {json_file(0,{hex_file(CUST,20,2)})}
json_file './json/max_clocks.json'
'加载频率' = {json_file(0,{hex_file(CUST,8,3)})}

[gap]
;mode=table
;background=false
;gap=25

[GPU Table package Info]
;mode=table
;background=false
;spacing=4
;gap=20
;header_indent=true
;info_text_color=header
;section_text_color=header
'GPU' = '{gpu_speedo}'

[GPU Table]
;mode=table
;spacing=4
;gap=0
hex_file '/atmosphere/kips/loader.kip'
mariko:
json_file './json/gpu_uv_m.json'
'降压等级' = {json_file(0,{hex_file(CUST,40,1)})}
ini_file '/config/sys-clk/config.ini'
json_file './json/gpu_dvfs_offset_info.json'
'频率-电压模式' = {json_file(0,{ini_file(values,gpu_dvfs_offset)})}
json_file './json/vmin.json'
'最低电压' = {json_file(0,{hex_file(CUST,56,2)})}
'最高电压' = {json_file(0,{hex_file(CUST,60,2)})}
json_file './json/voltage_offset.json'
'电压偏移' = {json_file(0,{hex_file(CUST,44,1)})}
erista:
json_file './json/gpu_uv_e.json'
'降压等级' = {json_file(0,{hex_file(CUST,36,1)})}
json_file './json/mv.json'
'最低电压' = {json_file(0,{hex_file(CUST,48,2)})}
json_file './json/voltage_offset.json'
'电压偏移' = {json_file(0,{hex_file(CUST,44,1)})}
;gap=100

[@GPU电表]
[Custom Table]
;mode=table
;background=false
;spacing=4
;gap=20
;header_indent=true
;info_text_color=header
;section_text_color=header
hex_file '/atmosphere/kips/loader.kip'
json_file './json/version.json'
'GPU电表' = '{json_file(0,{hex_file(CUST,260,1)})} kip'

[Custom Table]
;mode=table
;spacing=5
;gap=35
hex_file '/atmosphere/kips/loader.kip'
json_file './json/vmin.json'
'76 - 230 MHz' = {json_file(0,{hex_file(CUST,132,2)})}
'307 MHz' = {json_file(0,{hex_file(CUST,136,2)})}
'384 MHz' = {json_file(0,{hex_file(CUST,140,2)})}
'460 MHz' = {json_file(0,{hex_file(CUST,144,2)})}
'537 MHz' = {json_file(0,{hex_file(CUST,148,2)})}
'614 MHz' = {json_file(0,{hex_file(CUST,152,2)})}
'691 MHz' = {json_file(0,{hex_file(CUST,156,2)})}
'768 MHz' = {json_file(0,{hex_file(CUST,160,2)})}
'844 MHz' = {json_file(0,{hex_file(CUST,164,2)})}
'921 MHz' = {json_file(0,{hex_file(CUST,168,2)})}
'998 MHz' = {json_file(0,{hex_file(CUST,172,2)})}
'1075 MHz' = {json_file(0,{hex_file(CUST,176,2)})}
'1152 MHz' = {json_file(0,{hex_file(CUST,180,2)})}
mariko:
'1228 MHz' = {json_file(0,{hex_file(CUST,184,2)})}
'1267 MHz' = {json_file(0,{hex_file(CUST,188,2)})}
'1305 MHz' = {json_file(0,{hex_file(CUST,192,2)})}
'1344 MHz' = {json_file(0,{hex_file(CUST,196,2)})}
'1382 MHz' = {json_file(0,{hex_file(CUST,200,2)})}
'1420 MHz' = {json_file(0,{hex_file(CUST,204,2)})}
'1459 MHz' = {json_file(0,{hex_file(CUST,208,2)})}
'1497 MHz' = {json_file(0,{hex_file(CUST,212,2)})}
'1536 MHz' = {json_file(0,{hex_file(CUST,216,2)})}

[Speedos1]
;mode=table
;background=false
;spacing=4
;gap=15
;header_indent=true
;info_text_color=header
;section_text_color=header
'Device Info' = ' CPU   GPU    SOC'

[Speedos2]
;mode=table
;spacing=4
;gap=25
'Speedo' = '{cpu_speedo} | {gpu_speedo} | {soc_speedo}'
mariko:
'IDDQ' = '   {cpu_iddq} |     {gpu_iddq} |     {soc_iddq}'
erista:
'IDDQ' = ' {cpu_iddq} |   {gpu_iddq} |   {soc_iddq}'

[Device Info Table]
;mode=table
;spacing=4
;gap=15
'系统版本' = 'HOS {hos_version} | AMS {ams_version}'
'内存型号' = '{ram_model}'