MiGS for HSP このモジュールはAXオブジェクトコードの動的挿入を可能にするモジュールです。 利用方法 1,HSPプログラムの最初の行に #include "migs.as" を設置する 2,以下の通りにプログラムしほかのAXオブジェクトコードをサブルーチン化する。 ldim labelforprg,1 lpoke labelforprg,0,_faddproc("example.ax") *この例ではexample.axを挿入 3,_faddproc関数の戻り値のポインターにGOTOかGOSUBする。 2の例示の場合では goto labelforprg か gosub labelforprg をプログラムするとexample.axの中身が実行される。 なおmigs_stabilizer.asはrepeat文を利用可能にするマクロですので是非ご利用ください。 This module inserts another ax object code! How to use it. 1,You have to place the below line. #include "migs.as" 2,You have to insert below program to subroutinalize another ax object code! ldim labelforprg,1 lpoke labelforprg,0,_faddproc("example.ax") *The example inserts "example.ax"! 3,You have to goto or gosub to The pointer which is the result from _faddproc function to execute subroutinalized program! In the second instruction,You have to place 'goto labelforprg' or 'gosub labelforprg' to an your program what you using the module! And You can use "migs_stabilizer.as" to stabilize repeat instruction!