DE0版OCMの改造方法をまとめておきます。
http://caro.su/msx/ocm_de0.htm
まずはBIOSを入れかえます。
https://tms9918.hatenablog.com/entry/2015/07/07/213239
emsx_top.hex ← BIOS iplrom.vhd ← IPL
ピンアサインをDEXT0に対応します。SOFファイルでは動かないので、必ずPOFファイルを作成してください。
EMSX_TOP.QSF
(省略) # Slots set_location_assignment PIN_U7 -to pSltCs1_n set_location_assignment PIN_V5 -to pSltCs2_n set_location_assignment PIN_W6 -to pSltWait_n set_location_assignment PIN_W7 -to pSltWr_n set_location_assignment PIN_V8 -to pSltRst_n set_location_assignment PIN_T8 -to pSltRfsh_n set_location_assignment PIN_W10 -to pSltRd_n set_location_assignment PIN_Y10 -to pSltMerq_n set_location_assignment PIN_T16 -to pSltM1_n set_location_assignment PIN_R10 -to pSltIorq_n set_location_assignment PIN_V12 -to pSltInt_n set_location_assignment PIN_V6 -to pSltDat[7] set_location_assignment PIN_Y7 -to pSltDat[6] set_location_assignment PIN_U9 -to pSltDat[5] set_location_assignment PIN_U10 -to pSltDat[4] set_location_assignment PIN_R11 -to pSltDat[3] set_location_assignment PIN_U12 -to pSltDat[2] set_location_assignment PIN_T14 -to pSltDat[1] set_location_assignment PIN_AA7 -to pSltDat[0] set_location_assignment PIN_V7 -to pSltAdr[15] set_location_assignment PIN_U8 -to pSltAdr[14] set_location_assignment PIN_T9 -to pSltAdr[13] set_location_assignment PIN_T10 -to pSltAdr[12] set_location_assignment PIN_R12 -to pSltAdr[11] set_location_assignment PIN_T12 -to pSltAdr[10] set_location_assignment PIN_R14 -to pSltAdr[9] set_location_assignment PIN_AB7 -to pSltAdr[8] set_location_assignment PIN_AA9 -to pSltAdr[7] set_location_assignment PIN_AB9 -to pSltAdr[6] set_location_assignment PIN_V15 -to pSltAdr[5] set_location_assignment PIN_T15 -to pSltAdr[4] set_location_assignment PIN_W17 -to pSltAdr[3] set_location_assignment PIN_AB17 -to pSltAdr[2] set_location_assignment PIN_AB20 -to pSltAdr[0] # set_location_assignment PIN_AB5 -to pJoyB[4] set_location_assignment PIN_AB10 -to pJoyB[0] set_location_assignment PIN_U8 -to GPIO1_D29 set_location_assignment PIN_AA10 -to pJoyB[1] set_location_assignment PIN_T9 -to GPIO1_D27 set_location_assignment PIN_AB8 -to pJoyB[2] set_location_assignment PIN_AA5 -to pJoyB[5] set_location_assignment PIN_AA8 -to pJoyB[3] set_location_assignment PIN_AA13 -to pStrA set_location_assignment PIN_AB4 -to pStrB set_location_assignment PIN_AB14 -to pJoyA[4] set_location_assignment PIN_AA16 -to pJoyA[0] set_location_assignment PIN_AA14 -to pJoyA[3] set_location_assignment PIN_AA15 -to pJoyA[1] set_location_assignment PIN_AB13 -to pJoyA[5] set_location_assignment PIN_AB15 -to pJoyA[2] set_location_assignment PIN_AA9 -to GPIO1_D15 #set_location_assignment PIN_T16 -to GPIO1_CLKOUT1 set_location_assignment PIN_AB9 -to GPIO1_D14 set_location_assignment PIN_R16 -to pSltBdir_n set_location_assignment PIN_V15 -to GPIO1_D13 set_location_assignment PIN_W15 -to pSltSw1 set_location_assignment PIN_T15 -to GPIO1_D11 set_location_assignment PIN_U15 -to pSltSw2 set_location_assignment PIN_V11 -to pDac_S set_location_assignment PIN_Y17 -to pSltSltsl_n set_location_assignment PIN_AA17 -to pSltCs12_n set_location_assignment PIN_AB18 -to pSltRsv16 set_location_assignment PIN_AB19 -to pSltSlts2_n set_location_assignment PIN_AA19 -to pSltRsv5 set_location_assignment PIN_AA18 -to pSltAdr[1] set_location_assignment PIN_AA11 -to GPIO1_CLKIN1 set_location_assignment PIN_AA20 -to pCpuClk set_location_assignment PIN_AB11 -to GPIO1_CLKIN0 # #set_location_assignment PIN_T15 -to pREM_out #set_location_assignment PIN_AB17 -to pCMT_out #set_location_assignment PIN_AA18 -to pCMT_in