Commit Graph

109 Commits

Author SHA1 Message Date
David Banks
c6bc245b3d Z80: indicate NMI and INT cycles when single stepping
Change-Id: Iafef4059bd136dd9f3aebf2b03ab5ac186e035a6
2019-10-29 15:48:43 +00:00
David Banks
4818f026b2 Removed unused h44780 support (free AVR PortA)
Change-Id: Iadde3718cfd6e8be08b680796d8c9cd01016e694
2019-10-29 14:56:16 +00:00
David Banks
b6abb6964a Z80: Update all builds to 8 comparators and 16KB code
Change-Id: I8adc986caab323de395301ba397f4c7874e50d49
2019-10-27 17:32:29 +00:00
David Banks
ab80df2406 Z80: give a tad more address delay time (Acorn 2nd Proc issue)
Change-Id: I4872f8cc25d68978e856610ca7abaf4a12520028
2019-10-27 16:27:35 +00:00
David Banks
e76bdc6da2 Z80: Stop T80 in T3 not T2 (work in progress)
Change-Id: I19fa754cc09a068b628116b9636a995c162ad964
2019-10-27 14:52:42 +00:00
David Banks
d479dedf4b Z80: fix bug when NOP mode disbled
Change-Id: I1853967582bf241a74f8fd8687deda2d5555b153
2019-10-27 10:14:35 +00:00
David Banks
2c4ad8363b Z80: corrected watch/breakpoint when wait is being used
Change-Id: Ifb464548650e82fc655524186c07f98ed188e957
2019-10-26 17:39:56 +01:00
David Banks
c39cf8649b Z80: Added mode input to control idle mode
Change-Id: I59c4696c9921ecad62be0785764fdf35ec9d82d5
2019-10-26 15:35:53 +01:00
David Banks
26f0bea110 Z80: Output NOPs when paused (inc M1)
Change-Id: I100fac021d68662497fbd2d0c7428dcaf9ef98a3
2019-10-26 15:19:44 +01:00
David Banks
ac521aad15 Z80: support interrupt masking in hardware
Change-Id: I97683cc03e9d65e496e5f9f2ee366cc0bc18087b
2019-10-25 17:14:27 +01:00
David Banks
a29aa3015a lx9_dave z80: increase code space to 32KB
Change-Id: I7ab22f8cca51184b94e709336b661b8685d02d0b
2019-10-25 17:11:13 +01:00
David Banks
89cd34c7db T80: comments only
Change-Id: Id680066f04c3ede403eea87b6c433c6c913f09a8
2019-10-25 17:07:27 +01:00
David Banks
c045ebd10c All 6809 designs now use MC6809CpuMonCore
Change-Id: I97ca73690c7e1258a5b359260d695af25c21ca54
2019-10-24 14:06:03 +01:00
David Banks
be8e23fdfb 6502/65C02: Add memory state machine that takes account of Rdy
Change-Id: I11ae008f630cb2803727204f5c383218656e6cfc
2019-10-18 10:47:50 +01:00
David Banks
b4402844ae 6502/65c02: Implement Rdy internally
Change-Id: I0ddc55cf7d4674c68760f7ad53fcea7d07629f8b
2019-10-17 15:55:49 +01:00
David Banks
9d0e74b94e 6502/65C02: Add power up reset generation (AlanD 65C02 core needs this)
Change-Id: I8e24d0f724dc353be296546815462feba8dffc4b
2019-10-17 11:25:32 +01:00
David Banks
1c44718f91 Seperate 6502 and 65c02 builds
Change-Id: I41af27c62e61a6490bda4da01da6e4f8740121fb
2019-10-16 20:40:15 +01:00
David Banks
131312e0e9 Multiboot: initial impl
Change-Id: I7efa2cf8079b4bfc1e89c5c26ecce30dfae34782
2019-10-16 15:49:58 +01:00
David Banks
ddaa266c12 z80: fix a T80 build error on Spartan 3
Change-Id: I6fca1eea44e1cc8e244d3d892ee25e0b7fea9eac
2019-10-15 16:28:55 +01:00
David Banks
f710f7a20f z80: updated T80 to version 350
Copyright (c) 2018 Sorgelig

Taken from https://github.com/EisernSchild/t80/commit/cbaa6450b

Changes I needed to make afterwards:
1. Fixup T80_Pack.vhd (missing params)
2. Replace T80a.vhd with my own version

Change-Id: I275153ffbddb0d9d5b2d8b1fdc2109468cafb256
2019-10-15 15:47:55 +01:00
David Banks
975ba22848 z80: temporarily disable IORQ_inhibit
The fixed unreliable IM2 interrupts on the Acorn Z80 Co Pro

Change-Id: Icd7e55a8a92391bd81218e9646bd243992677ce8
2019-10-15 11:48:32 +01:00
David Banks
5845409961 z80: added a resume state
This allows time for the paused instruction to be re-read

Without this, the Acorn Z80 Co Pro always seemed to be single
stepping NOP instructions.

Change-Id: I0bcb424293071efc0370b862854455a33f42faf2
2019-10-15 11:46:50 +01:00
David Banks
50658b358e z80: generate RFSH_n cycles when stopped
Change-Id: Ice9a78932bda74098cdde8d0a5571bc4bb784bb4
2019-10-14 20:26:04 +01:00
David Banks
d9d552475a z80: rework wait state / break point logic
Change-Id: I2b41c014165e8d753693d3ed7806087e85202a6e
2019-10-14 17:33:32 +01:00
David Banks
4c746994cb z80: major rewrite of memory access state machine
Change-Id: Icc5c7c991120ed155691c1e74517ac02f8ea2ada
2019-10-14 13:35:13 +01:00
David Banks
2a79bc6819 6809: Added special command to inhibit IRQ/FIRQ/NMI
Change-Id: I9b94fec5f464ecdb6bb0a4cd2a430401a182c929
2019-10-01 15:21:28 +01:00
David Banks
c660ea87be Updated lx9_dave/ice6502 for active level shifter design
Change-Id: Ib2e98050d02c9c1e3dd7c9a9b63eea118b95a540
2019-09-20 15:34:44 +01:00
David Banks
a25a008ffc Updated lx9_dave/icez80 for active level shifter design
Change-Id: I546e1afc0943443f444ae7f55783bac7e3379453
2019-09-20 15:34:34 +01:00
David Banks
9c6960cc04 ICE-6809: Added glitch filtering to E
Change-Id: Ide53c1776bc1eafc5fd746415a83a1f34f32b3a0
2019-09-17 17:36:11 +01:00
David Banks
d86d51e020 ICE-6809: Adjusted the timings slightly
Change-Id: I56ef5d22df2a329bba2853bcc7d39571492edb01
2019-09-17 16:17:36 +01:00
David Banks
b7d6ca23b3 Revert accidental change to MC6809ECpuMon
Change-Id: I7c5627b8a056bc1a784af1d8ed4cdc61862e7aa2
2019-09-17 10:31:12 +01:00
David Banks
4b88d2aedd Kicad v2: complete routing
Change-Id: Iae7b92ccb95a640158a3a9c1239e2491624e5da2
2019-09-11 18:19:02 +01:00
David Banks
efdd41a239 6502: Added special command to inhibit IRQ/NMI
Change-Id: I6ba8a1b3b92e5852382d35eee7a59b6a9d7e63e8
2019-06-15 17:50:29 +01:00
David Banks
285697d175 6502: remove 40ns skew between phi1/phi2 outputs, as this erodes address hold time time from phi1
Change-Id: Idd2b1418a18f6bb5cf2b553b6a069c42a0e64b97
2018-12-21 17:25:37 +00:00
David Banks
1dcf9fa247 Updated lx9_dave/ice6502 with correct .ucf file and a new top-level design
Change-Id: Ic67e37fb876322983a44c35e9db08b1b8371aea2
2018-11-20 17:32:02 +00:00
David Banks
c1b0902f96 6502: Change din sampling from Phi0_b to Phi0_a
Change-Id: Id1cf604cfa61dba7aae8da670a38e460a059e7bb
2018-02-15 13:06:25 +00:00
David Banks
a4aa6df31a Added new top level generics to 6502 and 6809 designs
Change-Id: I14d70471b97948c165210bebad88b60965531207
2017-08-01 09:25:12 +01:00
David Banks
f2974d12df Swapped names of sw_interrupt_n and sw_reset_n (as they were wrong way around)
Change-Id: I8819b4898be3beb36ec7f2ecb97f6797a7ab03b2
2017-08-01 08:18:20 +01:00
David Banks
6415a81a40 On LX9 board, updated Tx=51 and Rx=55
Change-Id: I5bcd032eab29ef93d36e8011fee673028042483f
2017-07-29 19:55:27 +01:00
David Banks
7453cf4f9f LX9 support: massive refactor of the build system
Change-Id: I75ff141a0d3b2c30a37d8f0e497f4f923e302b8b
2017-07-26 14:59:20 +01:00
David Banks
78adf0030b LX9 support: corrected pin assignment in Z80CpuMonLX9Jason.ucf
Change-Id: Iacf21daea16b68a3886eb68618016e76c8dc0998
2017-07-26 09:45:01 +01:00
David Banks
79d890bcb9 LX9 support: in Z80CpuMon made the switch/led polarity configurable with generics
Change-Id: I026bc8e56fe760b453edf970b33f6897a695d0d2
2017-07-25 19:18:59 +01:00
David Banks
17acd5afdd LX9 support: updated Z80CpuMon ucf file - not final yet!
Change-Id: I8dbf4f4012c3b43d8bdf07ca707d6d8b6ef8a1d1
2017-07-25 19:17:55 +01:00
David Banks
0da1fa06bb LX9 support: work in progress
Change-Id: I76249db20f992f92c5fc0454f698c40e578b5e54
2017-07-25 17:34:19 +01:00
David Banks
f64641f99c Added build scripts for xc3s500e
Change-Id: Icc7990c3ee257d1511fa478fd0d2b3575362eb29
2016-10-24 14:24:18 +01:00
David Banks
6291faa4bd Updated to 0249 of the Z80 core by TobiFlex to fix issues with Spectrum Keyboard
Change-Id: I2d92c541cdb7feaad84bd3d37ec125594b6b47a8
2016-08-22 14:46:41 +01:00
David Banks
de6f722978 Adjusted Din sampling point ~40ns later so it co-incides with Phi2
Change-Id: Ibdd44b83a139b6560efc886e95714ee91daef3dc
2016-08-01 16:34:47 +01:00
David Banks
5410c32db3 Eliminated some warnings - changes mostly cosmetic
Change-Id: Ic7a7a107f9343bac2b49512d92ee2ad8f13c8bb2
2015-11-29 12:22:13 +00:00
David Banks
de16b3af1a Eliminated some warnings - changes mostly cosmetic
Change-Id: I141b05c932d0736e689ff3a2cb2c90c24c850933
2015-11-29 12:06:42 +00:00
David Banks
dd2ea9182b Fixed an incorrect module name
Change-Id: I952135d7be04e332ca4cc5de7f6491bc0fedf5ec
2015-11-28 17:32:08 +00:00