*PSP Dev Memo [#seb11c30]
 
 **1.50での起動(kxploit) [#h9e40222]
 メモリスティック入れ替えを必要としない1.50での起動方法が公開されました。 http://putoamo.addr.com/index2.html
 これは、XMB用のEBOOT.PBP(従来の1枚目)のディレクトリとして /PSP/GAME/HOMEBREW%/ を使用し、実行用のEBOOT.PBP(従来の2枚目)のディレクトリとして /PSP/GAME/HOMEBREW/ を使用するものです。HOMEBREWの部分はなんでも良いわけですが、後ろの%が重要ってことです。雰囲気的には、パス名生成にsprintfみたいなのを使っていて、そこを突いたんでしょうか。
 
 やっぱ手を動かさないとダメですねぇ。といいますか、モチベーションが足りない今日この頃。次は何をしたらいいんでしょうねぇ。
 
 
 **1.51での起動 [#i18bdfab]
 なんとなく思ったんですが、1.51でもXMBでのチェックを通れば起動はできちゃうかもしれません。1.5でのスワップと同じ方法で、1枚目のEBOOT.PBPをアップデータにしておいて、2枚目に起動したいののabosolute elfを入れて、同様に入れ替えしたらどんなもんでしょう。自分でテストしろって話もありますが。だれかやってみた人がいましたら、結果を教えてもらると。
 -アップデータのファイルの名前はupdateしかできません. -- [[1.51]] &new{2005-06-18 19:45:05 (土)};
 -自作ゲームの名前のファイルをupdateにすると破損データになる -- [[1.51]] &new{2005-06-18 19:46:34 (土)};
 -だからできない -- [[1.51]] &new{2005-06-18 19:46:56 (土)};
 -フォルダ名だった -- [[1.51]] &new{2005-06-18 20:48:08 (土)};
 -情報ありがとうございます。1枚目にアップデータをPSP/GAME/UPDATEに入れておいて、2枚目のPSP/GAME/UPDATEにabsolute elfが入ったEBOOT.PBPを入れるって感じでもダメでした? --  &new{2005-06-19 15:17:21 (日)};
 -だめでした -- [[1.51]] &new{2005-06-19 22:42:37 (日)};
 -テストどうもです。やっぱ別の方法を考えないとダメですかね。 --  &new{2005-06-20 00:12:01 (月)};
 -・・・ですかね。 -- [[1.51]] &new{2005-06-20 19:44:15 (月)};
 -少 し は 勉 強 し ろ ! 教えて君はRead meを読めば一発でわかるだろ!これでわからないのならカスタムファームウェアもできないんだろうな・・・これほど簡単なものないのにw -- [[('A`]] &new{2006-08-06 10:59:31 (日)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-10-31 00:30:41 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-10-31 10:57:41 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-10-31 22:56:19 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-01 08:52:05 (水)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-02 00:37:13 (木)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-03 04:16:05 (金)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-03 10:33:00 (金)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-03 12:32:06 (金)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-04 04:25:05 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-04 10:20:57 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-04 20:02:30 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-05 12:31:48 (日)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-06 11:40:43 (月)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-06 23:44:56 (月)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-07 01:41:21 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-07 22:14:25 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-07 23:00:21 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-08 03:12:06 (水)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-09 02:43:29 (木)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-09 07:06:16 (木)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-09 19:24:49 (木)};
 - servermetka -- [[RuleZ016]] &new{2006-11-10 02:55:46 (金)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-10 07:10:13 (金)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-10 17:17:14 (金)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-10 22:27:34 (金)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-11 09:34:25 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-11 09:59:52 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-11 20:57:44 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-11 23:16:41 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-12 11:58:29 (日)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-12 14:15:36 (日)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-12 16:30:06 (日)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-13 05:18:51 (月)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-13 15:04:22 (月)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-13 17:36:18 (月)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-14 20:30:02 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-14 21:24:20 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-15 23:01:41 (水)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-16 16:40:54 (木)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-16 23:07:43 (木)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-17 09:14:08 (金)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-17 09:34:40 (金)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-18 15:43:42 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-19 10:43:04 (日)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-19 13:58:59 (日)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-20 03:15:50 (月)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-20 15:12:15 (月)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-21 01:58:27 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-21 17:40:19 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-22 01:42:32 (水)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-22 07:22:51 (水)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-22 18:49:08 (水)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-24 21:42:57 (金)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-25 01:38:40 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-25 16:47:31 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-25 21:46:29 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-26 05:51:41 (日)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-26 15:36:43 (日)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-26 19:08:24 (日)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-27 05:55:05 (月)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-27 09:23:57 (月)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-28 09:39:48 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-28 09:43:15 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-29 14:58:04 (水)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-30 09:59:05 (木)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-30 22:49:22 (木)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-11-30 23:45:05 (木)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-01 13:43:16 (金)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-02 01:49:56 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-02 14:16:57 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-02 20:43:23 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-02 21:04:06 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-03 13:23:07 (日)};
 - servermetka -- [[RuleZ016]] &new{2006-12-04 00:22:02 (月)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-04 13:23:05 (月)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-05 16:24:57 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-06 18:15:07 (水)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-06 22:36:31 (水)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-06 22:44:23 (水)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-07 18:59:28 (木)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-08 08:03:03 (金)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-08 08:43:21 (金)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-08 20:24:10 (金)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-09 02:26:15 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-09 09:50:34 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-09 10:56:17 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-10 18:28:55 (日)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-10 18:45:52 (日)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-11 12:07:19 (月)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-12 08:49:30 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-12 08:57:00 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-12 23:27:24 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-13 18:10:12 (水)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-14 14:25:31 (木)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-14 19:59:45 (木)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-15 10:32:24 (金)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-16 08:41:00 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-16 09:07:57 (土)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-17 16:13:33 (日)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-17 22:19:53 (日)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-17 23:38:52 (日)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-18 21:20:11 (月)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-19 00:42:35 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-19 14:03:14 (火)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-20 11:01:45 (水)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-20 23:45:16 (水)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-21 17:16:26 (木)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-21 20:47:23 (木)};
 - botmetkasecond -- [[RuleZ016]] &new{2006-12-22 17:47:36 (金)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-23 10:34:11 (土)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-23 13:58:37 (土)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-23 17:38:03 (土)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-23 17:48:30 (土)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-24 10:22:49 (日)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-24 15:20:12 (日)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-24 16:56:10 (日)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-24 19:34:39 (日)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-25 16:31:09 (月)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-26 03:28:08 (火)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-26 17:14:58 (火)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-26 21:13:00 (火)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-27 01:18:21 (水)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-27 20:40:01 (水)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-28 03:20:36 (木)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-29 03:32:36 (金)};
 - botmetkatres -- [[RuleZ016]] &new{2006-12-29 10:52:22 (金)};
 - http://bosja.com/ -- [[RuleZ016]] &new{2006-12-30 00:54:56 (土)};
 - http://bosja.com/ -- [[RuleZ016]] &new{2006-12-30 01:37:22 (土)};
 - http://bosja.com/ -- [[RuleZ016]] &new{2006-12-30 15:43:20 (土)};
 - http://bosja.com/ -- [[RuleZ016]] &new{2006-12-31 18:23:37 (日)};
 - http://bosja.com/ -- [[RuleZ016]] &new{2006-12-31 20:20:00 (日)};
 - http://bosja.com/ -- [[RuleZ016]] &new{2007-01-02 02:33:53 (火)};
 - http://bosja.com/ -- [[RuleZ016]] &new{2007-01-02 13:56:46 (火)};
 - http://bosja.com/ -- [[RuleZ016]] &new{2007-01-03 11:27:05 (水)};
 - http://bosja.com/ -- [[RuleZ016]] &new{2007-01-03 23:22:10 (水)};
 - http://bosja.com/ -- [[RuleZ016]] &new{2007-01-04 15:18:58 (木)};
 - http://bosja.com/ -- [[RuleZ016]] &new{2007-01-05 01:10:18 (金)};
 - http://bosja.com/ -- [[RuleZ016]] &new{2007-01-05 13:56:04 (金)};
 - http://bosja.com/ -- [[RuleZ016]] &new{2007-01-05 20:24:48 (金)};
 - http://bosja.com/ -- [[RuleZ016]] &new{2007-01-06 12:51:53 (土)};
 - http://bosja.com/ -- [[RuleZ016]] &new{2007-01-07 00:05:02 (日)};
 - http://askbigtits.com/ -- [[RuleZ016]] &new{2007-01-08 21:20:42 (月)};
 - http://askbigtits.com/ -- [[RuleZ016]] &new{2007-01-09 01:42:40 (火)};
 - http://askbigtits.com/ -- [[RuleZ016]] &new{2007-01-09 21:07:40 (火)};
 - http://askbigtits.com/ -- [[RuleZ016]] &new{2007-01-09 22:05:36 (火)};
 - http://askbigtits.com/ -- [[RuleZ016]] &new{2007-01-10 13:04:49 (水)};
 - http://askbigtits.com/ -- [[RuleZ016]] &new{2007-01-11 08:08:35 (木)};
 - http://askbigtits.com/ -- [[RuleZ016]] &new{2007-01-11 19:42:40 (木)};
 - http://askbigtits.com/ -- [[RuleZ016]] &new{2007-01-12 03:04:06 (金)};
 - http://askbigtits.com/ -- [[RuleZ016]] &new{2007-01-12 06:26:53 (金)};
 - http://askbigtits.com/ -- [[RuleZ016]] &new{2007-01-12 16:46:19 (金)};
 - http://askbigtits.com/ -- [[RuleZ016]] &new{2007-01-13 19:38:51 (土)};
 - http://askbigtits.com/ -- [[RuleZ016]] &new{2007-01-14 02:19:59 (日)};
 
 #comment
 //#comment
 
 
 **GPUが解析できれば? [#cad62f29]
 GPUが解析されればメチャクチャ速くなるって話があるようですが、少なくともエミュレータにおいては大きな効果はないんじゃないでしょうか。非整数倍率の拡大表示などでは大きな効果がありそうですが、単に表示だけだとすごいというほどの効果はないような。逆にバッテリが早くなくなりそうだし。ある程度は速くなると思いますけどね。
 
 GPUの解析自体は、現時点では困難というわけじゃありません。すごく面倒だけど。あと、結果を基にどんなライブラリを作るかってのは難しそう。
 
 -参考 http://forums.ps2dev.org/viewtopic.php?t=2197#15961
 
 
 **1.5での起動(swaploit) [#g54c64f3]
 http://www.only4.info/psp-dev/ において1.5での自作ソフト起動方法が公開されました。これは起動時にメモリスティックを入れ替えることにより起動を可能にしたものです。これは以下の背景事情によると思われます。
 -XMBでMS起動プログラムとして認識するにはPBP形式でなければならない
 -PBP形式ファイルの中には実行ファイルが入っているが、この実行ファイル部分が、1.5では1.0において利用できたabsolute elfだと何故かうまく起動しない
 -システムのプログラムローダはEBOOT.PBPをロードするが、その場合PBP形式でなくても読み込んでしまう。つまり、EBOOT.PBPの中身がabsolute elfでも良い
 -しかし、EBOOT.PBPの中身がabsolute elfだとXMBで認識してくれない
 -なので、まずPBP形式のEBOOT.PBPをXMBに認識させ、それを実行させる途中でabosolute elfなEBOOT.PBPに入れ替えることで実行させてしまおう
 
 という話です。なのでメモリスティックの入れ替えが必要なわけで。XMBでもロード時でも認識してくれるファイルを作ることができれば、1.5でも入れ替えしなくて読めるようになるはずですが、まだ難しいようで。
 
 ちなみに、1.51以降ではチェックが厳しくなっているようで、別な方法を探さないとダメな模様。
 
 
 
 **ファーム書き換え [#oae69372]
 現時点においてファームウエアを書き換えることは可能です。適切なプログラムを組めば、1.0,1.5ともに内蔵フラッシュメモリの全域について更新することができます。ですが大変危険なのでオススメはしません。もしそういうプログラムを作ろうとする場合、以下に注意したほうが良いでしょう。
 -方法によってはフラッシュメモリの全域を書き換えることはできません。いろいろと研究が必要です。
 -フラッシュメモリ内には機体毎に異なるシリアル番号等が書き込まれたエリアがあります。そのあたりを無用に更新しないよう十分な配慮が必要です。
 -失敗した場合、起動できなくなり(現時点の知識では)修復も不能となります。イッパツで動かす気合が必要です。
 -方法が一般化すると破壊活動に使われる可能性があります。あまりオープンにしすぎるのも微妙なところです。
 --まぁ時間の問題ですが。
 -1.5についてはもうちょっと簡単に起動する方法があるかもしれません。そちらのほうがより良いかと。
 
 
 **gp設定について [#pb9fc4aa]
 従来のstartup.sにおいて、_start直後でgpを設定していますが、これは初期開発段階における試行錯誤の残骸です。現時点において、このgp設定がなくても動作するという報告がありますので、おそらくユーザー側で明示的に設定してやらなくても大丈夫なような雰囲気です。とりあえず動けばいい主義者なので、安全側に振ってあるところの再検討は後回しになりがちなため、まだ詳細な検討をしていません。
 
 カーネルは.rodata.sceModuleInfoにあるgp初期値を参照しユーザー側に処理を渡す前に設定していると思われます。これも詳細に確認をしたわけではありませんので注意。単に想像です。
 
 と書いていて思ったんですが、もしかしたらこのへんからカーネルに入り込めるかも。1つの可能性ですね。

トップ   一覧 単語検索 最終更新   ヘルプ   最終更新のRSS