mirror of https://github.com/zxdos/zxuno.git
Añado últimos cambios McLeod
This commit is contained in:
parent
d5e24bf0b0
commit
5f79223298
|
|
@ -2,7 +2,7 @@ SET machine=zxuno_a2601
|
|||
SET ruta_ucf=a2601
|
||||
SET ruta_bat=..\..\
|
||||
call %ruta_bat%genxst.bat
|
||||
call %ruta_bat%generar.bat v2
|
||||
call %ruta_bat%generar.bat v3
|
||||
rem call %ruta_bat%generar.bat v2
|
||||
rem call %ruta_bat%generar.bat v3
|
||||
call %ruta_bat%generar.bat v4
|
||||
call %ruta_bat%generar.bat Ap
|
||||
rem call %ruta_bat%generar.bat Ap
|
||||
|
|
|
|||
|
|
@ -39,10 +39,10 @@ module coreid (
|
|||
text[ 1] = "2";
|
||||
text[ 2] = "1";
|
||||
text[ 3] = "-";
|
||||
text[ 4] = "2";
|
||||
text[ 5] = "3";
|
||||
text[ 4] = "0";
|
||||
text[ 5] = "5";
|
||||
text[ 6] = "0";
|
||||
text[ 7] = "6";
|
||||
text[ 7] = "7";
|
||||
text[ 8] = "2";
|
||||
text[ 9] = "0";
|
||||
text[10] = "1";
|
||||
|
|
|
|||
|
|
@ -40,13 +40,15 @@ module turbosound (
|
|||
if (reset_n==1'b0)
|
||||
ay_select <= 1'b1;
|
||||
else if (disable_ay == 1'b0 && disable_turboay == 1'b0 && bdir && bc1 && din[7:1]==7'b1111111)
|
||||
ay_select <= din[0];
|
||||
ay_select <= din[0]; // 1: select first AY, 0: select second AY
|
||||
end
|
||||
|
||||
wire oe_n_ay1, oe_n_ay2;
|
||||
wire [7:0] dout_ay1, dout_ay2;
|
||||
assign dout = (ay_select)? dout_ay1 : dout_ay2;
|
||||
assign oe_n = (ay_select)? oe_n_ay1 : oe_n_ay2;
|
||||
assign oe_n = (ay_select && !disable_ay)? oe_n_ay1 :
|
||||
(!ay_select && !disable_ay && !disable_turboay)? oe_n_ay2 :
|
||||
1'b1;
|
||||
|
||||
YM2149 ay1 (
|
||||
.I_DA(din),
|
||||
|
|
|
|||
Loading…
Reference in New Issue