tanamの日記

2018-08-30

Hatena Blog

20:54

言われるがままにはてなブログへ移行してみました。

https://tms9918.hatenablog.com/

2018-08-25

PC-6001Fの音声出力ピンアサインを変更その6

10:41

DE0版OCMの改造方法をまとめておきます。

http://caro.su/msx/ocm_de0.htm

まずはBIOSを入れかえます。

http://d.hatena.ne.jp/tanam/20150707/1436272359

emsx_top.hex ← BIOS
iplrom.vhd ← IPL

ピンアサインをDEXT0に対応します。SOFファイルでは動かないので、必ずPOFファイルを作成してください。

https://tms9918.booth.pm/

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

2018-08-20

PC-6001Fの音声出力ピンアサインを変更その5

00:12

DE1版OCMの改造方法をまとめておきます。

http://caro.su/msx/ocm_de1.htm

まずはBIOSを入れかえます。

http://d.hatena.ne.jp/tanam/20150707/1436272359

emsx_top.hex ← BIOS
iplrom.vhd ← IPL

ピンアサインをDEXT0に対応します。SOFファイルでは動かないので、必ずPOFファイルを作成してください。

https://tms9918.booth.pm/

EMSX_TOP.QSF

(省略)
set_location_assignment PIN_B14 -to pJoyA[0]
set_location_assignment PIN_A15 -to pJoyA[1]
set_location_assignment PIN_B15 -to pJoyA[2]
set_location_assignment PIN_A16 -to pJoyA[3]
set_location_assignment PIN_B16 -to pJoyA[4]
set_location_assignment PIN_A17 -to pJoyA[5]
set_location_assignment PIN_B17 -to pStrA
set_location_assignment PIN_A18 -to pJoyB[0]
set_location_assignment PIN_B18 -to pJoyB[1]
set_location_assignment PIN_A19 -to pJoyB[2]
set_location_assignment PIN_B19 -to pJoyB[3]
set_location_assignment PIN_A20 -to pJoyB[4]
set_location_assignment PIN_B20 -to pJoyB[5]
set_location_assignment PIN_C22 -to pStrB
(省略)
set_location_assignment PIN_H13 -to pSltClk
set_location_assignment PIN_G15 -to pSltAdr[0]
set_location_assignment PIN_G16 -to pSltAdr[1]
set_location_assignment PIN_F13 -to pSltAdr[2]
set_location_assignment PIN_D14 -to pSltAdr[3]
set_location_assignment PIN_D16 -to pSltAdr[4]
set_location_assignment PIN_C18 -to pSltAdr[5]
set_location_assignment PIN_C20 -to pSltAdr[6]
set_location_assignment PIN_D20 -to pSltAdr[7]
set_location_assignment PIN_F20 -to pSltAdr[8]
set_location_assignment PIN_E18 -to pSltAdr[9]
set_location_assignment PIN_G18 -to pSltAdr[10]
set_location_assignment PIN_H17 -to pSltAdr[11]
set_location_assignment PIN_H18 -to pSltAdr[12]
set_location_assignment PIN_N21 -to pSltAdr[13]
set_location_assignment PIN_N15 -to pSltAdr[14]
set_location_assignment PIN_P18 -to pSltAdr[15]
set_location_assignment PIN_E20 -to pSltDat[0]
set_location_assignment PIN_E19 -to pSltDat[1]
set_location_assignment PIN_G20 -to pSltDat[2]
set_location_assignment PIN_G17 -to pSltDat[3]
set_location_assignment PIN_J15 -to pSltDat[4]
set_location_assignment PIN_N22 -to pSltDat[5]
set_location_assignment PIN_P15 -to pSltDat[6]
set_location_assignment PIN_P17 -to pSltDat[7]
set_location_assignment PIN_G22 -to pSltInt_n
set_location_assignment PIN_J21 -to pSltIorq_n
set_location_assignment PIN_D19 -to pSltM1_n
set_location_assignment PIN_K21 -to pSltMerq_n
set_location_assignment PIN_K22 -to pSltRd_n
set_location_assignment PIN_J19 -to pSltRfsh_n
set_location_assignment PIN_J20 -to pSltRst_n
set_location_assignment PIN_J18 -to pSltWr_n
set_location_assignment PIN_R22 -to pSW[0]
set_location_assignment PIN_R21 -to pSW[1]
set_location_assignment PIN_T22 -to pSW[2]
set_location_assignment PIN_T21 -to pSW[3]
set_location_assignment PIN_C19 -to pSltBdir_n
set_location_assignment PIN_L18 -to pSltCs1_n
set_location_assignment PIN_L19 -to pSltCs2_n
set_location_assignment PIN_F12 -to pSltCs12_n
set_location_assignment PIN_E14 -to pSltRsv5
set_location_assignment PIN_F15 -to pSltRsv16
set_location_assignment PIN_E15 -to pSltSlts2_n
set_location_assignment PIN_C14 -to pSltSltsl_n
set_location_assignment PIN_C17 -to pSltSw1
set_location_assignment PIN_D15 -to pSltSw2
set_location_assignment PIN_K20 -to pSltWait_n
(省略)
#set_location_assignment PIN_G16 -to pCMT_in
set_location_assignment PIN_J22 -to pDac_S
#set_location_assignment PIN_F13 -to pCMT_out
#set_location_assignment PIN_D16 -to pREM_out

2018-08-18

PC-6001Fの音声出力ピンアサインを変更その4

23:32

PC-6001F(DE0)の音声出力とジョイスティック入力に対応したドーターボードを設計してみました。

https://tms9918.booth.pm/items/972867

f:id:tanam:20180818233816j:image:w240

せっかくなのでMSX1FPGA(DE1)のジョイスティック入力にも使ってみました。

https://github.com/fbelavenuto

de1_top.vhd

	-- Joystick (Minimig Standard)
	alias J0_UP	: std_logic	is gpio0_io(3);-- Pin 1
	alias J0_DOWN	: std_logic	is gpio0_io(4);-- Pin 2
	alias J0_LEFT	: std_logic	is gpio0_io(5);-- Pin 3
	alias J0_RIGHT: std_logic	is gpio0_io(6);-- Pin 4
	alias J0_MMB	: std_logic	is gpio0_io(9);-- Pin 5
	alias J0_BTN	: std_logic	is gpio0_io(7);-- Pin 6
	alias J0_BTN2	: std_logic	is gpio0_io(8);-- Pin 9
	alias J1_UP	: std_logic	is gpio0_io(10);
	alias J1_DOWN	: std_logic	is gpio0_io(11);
	alias J1_LEFT	: std_logic	is gpio0_io(12);
	alias J1_RIGHT: std_logic	is gpio0_io(13);
	alias J1_MMB	: std_logic	is gpio0_io(17);
	alias J1_BTN	: std_logic	is gpio0_io(14);
	alias J1_BTN2	: std_logic	is gpio0_io(15);

2018-08-11

PC-6001Fの音声出力ピンアサインを変更その3

08:22

PC-6001Fの音声出力とジョイスティック入力に対応したドーターボードを設計してみました。

http://sbeach.seesaa.net/

f:id:tanam:20180811082244j:image:w360

ついでにカートリッジスロットを2つ追加してみました。ピンアサインはオリジナルなので、そのままではPC-6001Fや1Chip MSXでは使えません。

対応する回路はこれから設計しようと思っています。

http://tms9918.booth.pm