diff options
author | H. Peter Anvin <hpa@zytor.com> | 2004-09-17 05:01:00 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2004-09-17 05:01:00 +0000 |
commit | 7bfc3e162b6d81a9d6add0eb35d44953a5c0f811 (patch) | |
tree | d7331380f04a2d78fe061a16c9b0eb32df708ba2 /t80pio | |
parent | 2453e4027bb4ddb1ec4b0568a9cbc173aa4d94a4 (diff) | |
download | abc80-7bfc3e162b6d81a9d6add0eb35d44953a5c0f811.tar.gz abc80-7bfc3e162b6d81a9d6add0eb35d44953a5c0f811.tar.xz abc80-7bfc3e162b6d81a9d6add0eb35d44953a5c0f811.zip |
- Remove some old compatibility crap;
- Remove debugging stuff in t80pio;
- Adjust timing & addressing in cfdisk/cfram. It now seems to work
with new CF cards, but not with old ones for writing. WTF?
Diffstat (limited to 't80pio')
-rw-r--r-- | t80pio/t80pio.v | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/t80pio/t80pio.v b/t80pio/t80pio.v index 458bcd3..2acf17f 100644 --- a/t80pio/t80pio.v +++ b/t80pio/t80pio.v @@ -19,9 +19,7 @@ module T80PIO ( ASTB_n, ARDY, BSTB_n, - BRDY, - - debug + BRDY ); input CLK_n; input RESET_n; @@ -43,7 +41,6 @@ module T80PIO ( output ARDY; input BSTB_n; output BRDY; - output [7:0] debug; reg [6:0] V; // Interrupt vector reg [1:0] M; // Operating mode (1's hot) @@ -114,28 +111,6 @@ module T80PIO ( // This computes the mode 3 interrupt condition wire [7:0] xor_mask = (ICW[2]^ICW[1]) ? 8'h00 : 8'hFF; wire irq_cond = (((read_data ^ xor_mask) & ~MB) != 8'h00) ^ ICW[2]; - - reg [2:0] intak_debug; - - always @(posedge CLK_n or negedge RESET_n) - begin - if ( !RESET_n ) - intak_debug <= 0; - else - begin - if ( ~M1_n & ~IORQ_n & (my_irq|intak) ) - intak_debug[0] <= 1; - if ( ~M1_n & ~IORQ_n & ~(my_irq|intak) ) - intak_debug[1] <= 1; - end - end // always @ (posedge CLK_n or negedge RESET_n) - - assign debug[0] = irq_cond; - assign debug[1] = servicing_irq; - assign debug[2] = need_irq; - assign debug[3] = ~INT_n; - assign debug[4] = read_data[7]; - assign debug[7:5] = intak_debug; always @(posedge CLK_n or negedge RESET_n) begin @@ -151,7 +126,7 @@ module T80PIO ( need_irq <= 0; intak <= 0; servicing_irq <= 0; - ASTB_n_old <= ASTB_n; + ASTB_n_old <= 0; irq_cond_old <= 0; addressed_old <= 0; end |