60 Commits

Author SHA1 Message Date
Gyorgy Szombathelyi
830fd0315f T80a: port from Z80n 2021-03-31 00:41:13 +02:00
Gyorgy Szombathelyi
0917cdf114 There should be no auto wait states in NMI 2021-03-30 23:45:43 +02:00
Gyorgy Szombathelyi
8cebad773e Latch IM2 vector at the end of TState=2 2021-03-30 23:33:17 +02:00
Gyorgy Szombathelyi
3436a60705 Prevent address bus overwrite
...without combinatorial logic on output
2021-03-28 11:58:54 +02:00
Gyorgy Szombathelyi
c34e6cfbaf GB: fix interrupt acknowledge cycle (by paulb-nl) 2021-01-08 17:48:19 +01:00
Gyorgy Szombathelyi
35ea9d4286 Merge R800 multiplier by TobiFlex 2020-08-21 15:33:57 +02:00
Gyorgy Szombathelyi
6d9358c94d GB: add toplevel 2020-08-10 20:19:23 +02:00
Gyorgy Szombathelyi
44fd7014d4 Update README with Gameboy fixes 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
0f1eb09080 Fix signal name 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
b2edeebe13 ALU: silence warning 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
72af3ccc9a GB: Jump doesn't set WZ 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
dbb60677e6 GB: fix test constants 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
72fe92ccb2 GB: fix JP cycles 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
701d6e508a GB: fix RETI cycles 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
e42f5a0c25 GB: Redo ADD SP,dd 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
c5092d1300 GB: fixed F flag so that 4 lowest bits always return 0 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
a68906221e GB: redo LD HL,SP 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
0568d4bf70 Fix LD SP,HL timings 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
82241cb8aa Fix ADD HL,ss timings 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
cae28f6b81 GB: set ACC and F reset value 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
3c776d9ba1 GB: fix IM2 INT cycles 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
bc23c68405 GB: apply "LD ($FF00+C)" fix by TH 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
71a109cc95 GB: fix PUSH qq cycles 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
2c31a097cd GB: fix INC ss cycles 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
15c006a7d3 GB: fix CALL cycles 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
4a5ea54df5 GB: fix RET cycles 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
b18f91acb3 GB: halt bug implemented 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
91f1d2ca12 GB: skip byte after a stop opcode, fixes the Konami Collection Startup bugs 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
b475441fa1 GB: fixed rst xx timing (16 cycles) 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
ac8aa0cf7b GB: fixed 16 bit DEC opcode timing 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
f52ed600f9 GB: fixed rotate, cpl, scf and ccf opcodes, finally passed blargg's cpu_instr tests 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
9a4698a6b8 GB: IStatus update 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
cf7649292a GB: fixed DAA instruction (different from Z80) 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
8937b8c015 GB: cpu can use IRQ without IME set to resume from Halt 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
5153e10cd9 GB: ret cc mcycles 20/8 2020-08-10 20:18:04 +02:00
Gyorgy Szombathelyi
dd3244e455 Hold address bus for Z80 only 2020-08-10 20:16:26 +02:00
Gyorgy Szombathelyi
0e89c1826c Exchange ED 5E <-> ED 77 (undocumented NOP/IM2) 2020-08-04 14:40:40 +02:00
Gyorgy Szombathelyi
1866ce483d Refresh address also can remain on the bus (+move bus hold to T80.vhd) 2020-08-04 00:18:34 +02:00
Gyorgy Szombathelyi
e221144f2c Use the component defs from T80_Pack 2020-07-12 18:51:11 +02:00
Gyorgy Szombathelyi
52bc9a9faf Auto-wait is enough for the NMI cycle 2020-07-12 18:44:19 +02:00
Gyorgy Szombathelyi
1a6bf49b82 Add the NMI cycle fix patch 2020-07-12 18:31:15 +02:00
Gyorgy Szombathelyi
f653172436 Don't restart busack cycle if busreq was held during reset
(from Genesis)
2020-06-28 00:45:18 +02:00
Gyorgy Szombathelyi
250a292fef Apply the external register set patch 2020-06-28 00:41:06 +02:00
sorgelig
4872af96c7 T80: some fixes and updates. 2018-12-04 20:54:31 +01:00
sorgelig
3a38412d13 T80: fix MEMPTR for all known cases. 2018-08-02 16:45:39 +08:00
sorgelig
c6bf68741e T80: Fix IN/INI/INIR/IND/INDR/OUTI/OTIR/OUTD/OTDR flags. 2018-08-02 16:45:31 +08:00
sorgelig
2827372ffa T80: Fix X/Y flags of BIT N,(HL)/(XY) instrictions. 2018-08-02 16:45:22 +08:00
sorgelig
aa3fc8f802 T80: remove false comment. 2018-07-23 20:54:50 +08:00
sorgelig
d85ced11eb T80: Fix undocumented flags of CPI/CPIR/CPD/CPDR instructions. 2018-07-22 02:57:34 +08:00
sorgelig
cbe6aae02f T80: fix interrupt ack after IN/OUT instructions. 2018-07-21 09:08:47 +08:00