Commit Graph

200 Commits

Author SHA1 Message Date
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
7bf7e9726d white space only
Change-Id: I11a30f7963f9a5c610910f5f9755e42802d0e73d
2019-10-25 11:04:08 +01:00
David Banks
58e445e10b Firmware: remove manual step in cmdContinue (no longer needed on 6502 or Z80)
Change-Id: I75cdb43b782f8a016ea8e1009cbdac1ecd67169e
2019-10-24 19:29:28 +01:00
David Banks
b80bade3f8 Firmware: rd/wr cmds now use global memAddr
Change-Id: Ia345095fa4dbc6c3d700bf5704aa20cf5bcd911b
2019-10-24 15:54:58 +01:00
David Banks
fbb611ca73 Firware: show ascii value in single location rd/wr
Change-Id: Ie927f677040fc833d43bb598399116e201983023
2019-10-24 15:25:21 +01:00
David Banks
3b4e7802c5 Kicad 6809: manufacturing files for v1.0
Change-Id: Iccc9d5314c6add4ce1db8a4003bc7f81f70e0e75
2019-10-24 14:23:09 +01:00
David Banks
c045ebd10c All 6809 designs now use MC6809CpuMonCore
Change-Id: I97ca73690c7e1258a5b359260d695af25c21ca54
2019-10-24 14:06:03 +01:00
David Banks
ec577bda83 Kicad 6502: manufacturing files for v1.1
Change-Id: I9c5a19ac39c9cb72a955f99ebef8a15e5d3e459c
2019-10-24 10:43:06 +01:00
David Banks
46b832ba62 Kicad: added PDF schematics
Change-Id: I9ea1371b15862b6ded98f4d37e33abbbcdb53a38
2019-10-23 14:19:06 +01:00
David Banks
dc5f96a00a Kicad 6809: fix SOT323; add weak pullup/downs
Change-Id: I9bffce01c26d58362b31c5cb85f868515f82cf0f
2019-10-22 15:03:09 +01:00
David Banks
a6ea45da3f kicad 6502: added weak pullups to 6502 control signals
Change-Id: Iba7afce3f12305b795a8ec8d95fa880e29d4dc03
2019-10-18 12:15:14 +01:00
David Banks
bee6a8cd87 All: Update version to 0.82
Change-Id: I590f0962a7591300747328507ba3b57524d5b3ab
2019-10-18 10:48:15 +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
3cc7789923 6502/65c02: Uncomment Rdy in .ucf file
Change-Id: I6ef4f92dc4e0438c169d20ab5b05f8d4162478ff
2019-10-17 14:47:08 +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
12338bffc9 Use #if defined() everywhere for consistency
Change-Id: Ie291a7cb155b0a2244bdb4d31e91d03d29006157
2019-10-16 20:44:36 +01:00
David Banks
f4bff7757c Use CPU_65C02 for defined as CPU == 65C02 doesn't work
Change-Id: Ibedbac5941ab897f0d530dfa3d73cc516d62bd8f
2019-10-16 20:41:08 +01:00
David Banks
1c44718f91 Seperate 6502 and 65c02 builds
Change-Id: I41af27c62e61a6490bda4da01da6e4f8740121fb
2019-10-16 20:40:15 +01:00
David Banks
cc1c8ba709 Multiboot: increase cclk to 26MHz
Change-Id: I7bb6c17a582c7d283458bd7ed8a1bc2852bb73b3
2019-10-16 16:11:44 +01:00
David Banks
131312e0e9 Multiboot: initial impl
Change-Id: I7efa2cf8079b4bfc1e89c5c26ecce30dfae34782
2019-10-16 15:49:58 +01:00
David Banks
833471b31f z80: version now 0.80
Change-Id: I9b2b81f5f38fbc1da1eb5d61321512e7d7772d61
2019-10-15 18:03:43 +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
9bcea56588 z80: CLK_n timing constraint now 8MHz
Change-Id: Ia544905845a8b7996ff3e381a1e47184cc5dda82
2019-10-15 11:45:51 +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
984ac1a2d3 z80: fixed an error in board.ucf in the previous commit
Change-Id: Ib83916a7e1d1dcc163001ab342e65b80858d9c29
2019-10-03 18:26:15 +01:00
David Banks
dfeaff9488 6502: minor fixes to lx9_dave, boots in beeb
Change-Id: I18c909f7586b439d52ecc938d4a9bb7a3e6d76e5
2019-10-03 13:17:18 +01:00
David Banks
c08084d703 Kicad 6809e: Initial schematic and layout
Change-Id: I1f3988a54ba62f626f5644a8ad20651948e5fbe7
2019-10-01 18:37:35 +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
a1591e4e97 Kicad z80: added manufacturing files
Change-Id: I90ceb9f1e56ee000a9704d423b4f0298baf85de8
2019-09-22 16:01:34 +01:00
David Banks
6b2cc8c6ed Kicad 6502: added manufacturing files
Change-Id: I9ec163c55ca61acad41b0155dbb50ff9f188ccf4
2019-09-22 16:01:21 +01:00
David Banks
80a3003e86 Kicad 6502: change via sizes
Change-Id: I8dcd3cc5ac6fae908891b67d9d1c4ddfbb9d1988
2019-09-22 15:46:52 +01:00
David Banks
08aea66a31 Kicad z80: change via sizes
Change-Id: I87a36dab22496e9229797047826a10f0319e28f1
2019-09-22 15:46:43 +01:00
David Banks
cf34e40cd9 Kicad z80: add more power vias
Change-Id: If1bc8cabde72e3d8b67fdd21e4c5b55accf4307d
2019-09-22 14:34:11 +01:00
David Banks
9413f4beef Kicad 6502: add more power vias
Change-Id: I293a495840e0f96dae8bd8866a7b1adfe1f79e49
2019-09-22 13:52:25 +01:00
David Banks
675e32ca92 Kicad 6502: final tweaks
Change-Id: Id3d45fc11b7cfa304b3275ba0561da354e969d0a
2019-09-22 12:43:02 +01:00
David Banks
7d6c003f97 Kicad 6502: renamed v2 to v1
Change-Id: I493f0bce7b4e01e127eb6f59b814509261079bc2
2019-09-20 15:41:45 +01:00
David Banks
30e9db9f0a Kicad 6502: deleted old v1 design
Change-Id: I587c707cf754200da95cf51cbf9c0cd49d687b72
2019-09-20 15:41:11 +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
864bcf68df Kicad z80: added clock filtering
Change-Id: Iffb927aec6c569c380b294d3bcf015d7ca117871
2019-09-20 12:42:26 +01:00
David Banks
18556aa2f6 Kicad 6502: added clock filtering
Change-Id: Ie6bed6f3463082afe51a1fb8c050a8b091c48733
2019-09-20 12:42:18 +01:00
David Banks
9c6960cc04 ICE-6809: Added glitch filtering to E
Change-Id: Ide53c1776bc1eafc5fd746415a83a1f34f32b3a0
2019-09-17 17:36:11 +01:00