Commit Graph

  • 4d2d1d214a Tidy up some C++ code (concentrating on the Z80 at the moment). Adrian Conlon 2021-01-09 08:41:48 +00:00
  • 26cc613c66 Add a slightly simplified variant on signal firing. Adrian Conlon 2021-01-08 09:06:46 +00:00
  • 6261807344 More C++17 tidying up. Should be no user visible changes. Adrian Conlon 2021-01-06 15:30:26 +00:00
  • b4f8c81a94 Use nodiscard, where appropriate and try not to inline virtual methods. Adrian Conlon 2021-01-02 11:49:34 +00:00
  • 4ec462e79a Z80: Tidy the M1 activation sequence a little (start moving towards ZX Spectrum memory contention model) Adrian Conlon 2021-01-02 11:04:38 +00:00
  • e0e137415f Z80: Correct links in cycle accurate Z80 documentation. Adrian Conlon 2021-01-02 10:14:39 +00:00
  • e9900424b7 6809: Start moving away from macro based read/modify/write implementation Adrian Conlon 2020-12-28 18:37:21 +00:00
  • 0609ec1364 6809: Correct reset vector handling Adrian Conlon 2020-12-28 15:49:19 +00:00
  • 5ddbd8a5e8 Correct a couple of small oddities in the IntelProcessor InputOutput class. Adrian Conlon 2020-12-27 15:46:05 +00:00
  • 778aacaef6 Z80: Better interrupt timing response. Adrian Conlon 2020-12-27 15:45:14 +00:00
  • 28ae32b8a2 Z80: Whoops: Correct broken CPDR implementation. Adrian Conlon 2020-11-16 17:09:19 +00:00
  • d785b1eae7 Simplify LR35902 machine timing. Adrian Conlon 2020-11-13 17:28:35 +00:00
  • eb761bc62f LR35902: Whoops: correct broken timer (when it begins at zero!) Adrian Conlon 2020-11-13 14:50:12 +00:00
  • fa7e1480d3 LR35902: Fix lots of timing issues by attaching to the "tick" event. Adrian Conlon 2020-11-13 10:14:06 +00:00
  • efed7dae23 LR35902 Simplify timing mechanism (corrects some timing issues as well!) Adrian Conlon 2020-11-12 18:21:51 +00:00
  • b8a2db96f4 Include interrupt information in the disassembler output. Adrian Conlon 2020-11-12 16:22:44 +00:00
  • f7da03d46b Bring the LR35902 code to be more like the Z80 Adrian Conlon 2020-11-09 11:48:59 +00:00
  • 759b4a9fa8 GameBoy: Correct a few (very minor C++) niggles in the implementation. No functional changes. Adrian Conlon 2020-11-07 09:41:12 +00:00
  • 33dd479421 Updated GameBoy processor documentation. Adrian Conlon 2020-11-07 09:36:47 +00:00
  • 808251d0f6 (Dr Mario Fixes) Second tile selection bank is indexed in a signed manner. Adrian Conlon 2020-10-28 14:02:42 +00:00
  • 5631d2b367 (Dr. Mario Fixes) Correct out of range crash when palette selection is anything but zero. Adrian Conlon 2020-10-28 14:01:40 +00:00
  • 960d6ff181 Whoops: Missed compile module from the LR35902 makefile Adrian Conlon 2020-07-25 09:28:33 +01:00
  • c48a91216e Tidy up linux link-time optimisation flags. Adrian Conlon 2020-06-07 12:33:19 +01:00
  • 3d30fe8f3b Damn: Chip.cpp doesn't exist anymore. Adrian Conlon 2020-06-07 12:04:08 +01:00
  • d956702e05 Whoops: Missed gaming library makefile for linux Adrian Conlon 2020-06-07 11:59:37 +01:00
  • 23219734da Resurrect linux build (checked on Ubuntu 18.04) Adrian Conlon 2020-06-07 11:49:57 +01:00
  • 1663c7caf3 Refactor the "Game" class a little to allow future refactoring. Adrian Conlon 2020-05-03 20:55:58 +01:00
  • 17edcee715 Add a pin activator class to correctly handle "wrapped" pin transitions. Adrian Conlon 2020-05-03 20:45:01 +01:00
  • de800fe9f1 Modify virtual default destructor specification to better match core guidelines. Adrian Conlon 2020-05-03 20:29:18 +01:00
  • 5eedbe1225 Make better use of modern c++ Adrian Conlon 2020-05-02 11:36:43 +01:00
  • 44c6a8c3d1 Correct some EightBit project analysis warnings. Adrian Conlon 2020-04-06 23:11:21 +01:00
  • 7296ff7cce MC6809 tidy a few items and show a "functional" (rather than macro based) rmw routine. Adrian Conlon 2020-04-06 23:08:11 +01:00
  • ff02159886 MC6809: Add a cycle eater routine. Adrian Conlon 2020-04-04 12:27:26 +01:00
  • c81204512c MC6809: Correct a couple of cycle count errors. Adrian Conlon 2020-04-04 11:39:37 +01:00
  • d4e6e13fde First stab at cycle accurate 6809 Adrian Conlon 2020-04-03 10:13:42 +01:00
  • dcb809d8f9 Add finer control of memory and IO events in the Z80 implementation. Allows small tidy of the halt condition. Adrian Conlon 2020-03-23 21:56:23 +00:00
  • 99f0712801 Simplify Z80 instruction timing a little. Adrian Conlon 2020-02-23 09:37:03 +00:00
  • 0b6a656a45 Add cycle count to the z80 fuse test runner. Adrian Conlon 2020-02-22 09:03:17 +00:00
  • 6285a397ab Tidy 6502 whitespace Adrian Conlon 2020-02-22 09:02:37 +00:00
  • e6b26e631c Fix more Z80 instruction timings. Adrian Conlon 2020-02-22 08:32:29 +00:00
  • 255708e0bc Add some more Z80 documentation. Adrian Conlon 2020-02-22 08:30:52 +00:00
  • b89d2cf15c Start correcting Z80 T-cycle counts (DJNZ, JR cc, ADD HL,rp, INC/DEC rp, INC/DEC (HL)) Adrian Conlon 2020-02-16 09:18:34 +00:00
  • a37601df67 Correct recently introduced IO implementation issues in the 8080 core. Adrian Conlon 2020-02-13 09:17:52 +00:00
  • c8bdabf34f Reflect that the I/O for Intel style processors isn't part of the CPU, but attached to the Bus and access controlled by the CPU. Adrian Conlon 2020-02-09 11:51:58 +00:00
  • dc37d61797 Tidy up some shared code for the Z80 pushWord vs call timing. Adrian Conlon 2019-12-29 13:03:44 +00:00
  • d9466082ec M-Cycle accurate Z80 modifications. Adrian Conlon 2019-12-29 01:18:54 +00:00
  • feee7ec2e6 Add some more Z80 documentation Adrian Conlon 2019-12-29 01:13:52 +00:00
  • f9cc29f72e Merge branch 'master' of https://github.com/MoleskiCoder/EightBit Adrian Conlon 2019-11-19 23:06:19 +00:00
  • 98d9199f19 Whoops: missed power on state of the "RFRSH" pin. Adrian Conlon 2019-11-19 23:06:08 +00:00
  • cb502bd65d Halt is of course an "output" pin. (So that the halt instruction can work) Adrian Conlon 2019-11-19 23:05:27 +00:00
  • 3a49a9cc59 Use simpler LR35902 CPU/render sequence. Adrian Conlon 2019-11-18 00:54:52 +00:00
  • 43cf7e523b Merge branch 'master' of https://github.com/MoleskiCoder/EightBit Adrian Conlon 2019-11-16 23:41:04 +00:00
  • 195b0e19bd Correct INT handling on Z80 Adrian Conlon 2019-11-16 23:38:51 +00:00
  • d45c1d7d76 Merge branch 'master' of https://github.com/MoleskiCoder/EightBit Adrian Conlon 2019-11-16 23:38:05 +00:00
  • acf6cf6c71 Sync with .Net version Adrian Conlon 2019-11-16 23:37:57 +00:00
  • e670482721 Merge branch 'master' of https://github.com/MoleskiCoder/EightBit Adrian Conlon 2019-11-12 22:40:33 +00:00
  • 9bc8d85795 Tidy the Z80 RES implementation a little. Adrian Conlon 2019-11-12 22:40:21 +00:00
  • 2d7f87018c Merge branch 'master' of https://github.com/MoleskiCoder/EightBit Adrian Conlon 2019-11-10 11:15:42 +00:00
  • d9f71a5d05 Add some more gameboy documentation Adrian Conlon 2019-11-10 11:15:30 +00:00
  • 5e347b9414 Sync C++ Z80 implementation with C# Adrian Conlon 2019-11-10 11:15:07 +00:00
  • a69770addd Tidy 6809 unit test project Adrian Conlon 2019-11-10 11:14:00 +00:00
  • 1db68a72a7 Update to latest Catch2 testing framework. Adrian Conlon 2019-11-10 11:13:23 +00:00
  • dc91df1177 Some mild reformatting of the Gaming class. Adrian Conlon 2019-11-09 23:01:58 +00:00
  • d0467421ff Improve compatibility with .net emulator code. Adrian Conlon 2019-11-09 18:58:23 +00:00
  • 20ebbd4048 Start added more .net compatibility methods Adrian Conlon 2019-11-03 09:23:28 +00:00
  • 6d90ea6237 Add MREQ (to go along with IORQ) to the Z80 implementation. Adrian Conlon 2019-11-02 17:38:20 +00:00
  • 687df0023a Merge branch 'master' of https://github.com/MoleskiCoder/EightBit Adrian Conlon 2019-11-02 17:30:16 +00:00
  • 238ee30b3c Correct a couple of small Z80 power on issues. Adrian Conlon 2019-11-02 17:30:03 +00:00
  • b95614c65d Correct a couple of small issues in the Z80 disassembler. Adrian Conlon 2019-11-02 17:29:21 +00:00
  • 62d71e44bf Upgrade to latest version of boost (1.71.0) Adrian Conlon 2019-10-13 00:13:35 +01:00
  • 717b0c70ad Merge branch 'master' of https://github.com/MoleskiCoder/EightBit Adrian Conlon 2019-10-12 23:15:57 +01:00
  • be79b5661f Update to latest SDL2 (2.10.0) Adrian Conlon 2019-10-12 23:15:47 +01:00
  • 411fc5fe6a Update to latest version of boost (1.71.0) Adrian Conlon 2019-10-12 23:15:28 +01:00
  • b14663a264 Update to SDL2 2.0.10 Adrian Conlon 2019-10-11 18:39:53 +01:00
  • 89fae1cb6f Tidy the Gaming library a little: Adrian Conlon 2019-10-01 23:54:48 +01:00
  • 1577455a67 Add support for joystick controller pads (especially DPad) Adrian Conlon 2019-09-29 19:12:09 +01:00
  • d8e4853971 Reorder the vertical blank raster lines a little to make it easier to use... Adrian Conlon 2019-09-29 11:36:17 +01:00
  • 74ab3d0f01 Split CPU raster display time from vertical blank time. Adrian Conlon 2019-09-29 01:46:56 +01:00
  • 7a6e0eafcd Modifications to allow gaming class to be used with Space Invaders emulator Adrian Conlon 2019-09-29 00:27:45 +01:00
  • 4afe6b6378 For convenience, add a very lightweight SDL wrapper to the EightBit library. Adrian Conlon 2019-09-28 14:29:44 +01:00
  • ee3ecc682d Add R/W pins to the MC6809 and MOS6502 processors. Hoping it'll ease peripheral development. Adrian Conlon 2019-09-15 12:49:32 +01:00
  • 1ba238bfc7 Add support for RD and WR lines to the Z80 emulator. Adrian Conlon 2019-09-15 01:35:57 +01:00
  • 6d6c95f695 Fix up INT and NMI pin (M1 and IORQ) response a little (still working on ZX81 emulator!) Adrian Conlon 2019-09-14 23:38:47 +01:00
  • 4be4a0603e Refactor the Z80 implementation to: Adrian Conlon 2019-09-14 15:04:46 +01:00
  • 74f70af758 Correct more Z80 disassembler problems (the ZX81 seems to use every instruction available!) Adrian Conlon 2019-09-08 21:27:35 +01:00
  • 3e12ba6200 Sigh: Another Z80 interrupt related bug fix. Avoid a loop when an INT occurs, but interrupts are disabled. Adrian Conlon 2019-09-08 16:28:19 +01:00
  • 0e8813cdf3 Show more state information for debugging output. Adrian Conlon 2019-09-07 23:57:17 +01:00
  • def89dbcce Correct accidental setting of PC to 0x0001 on power on. Adrian Conlon 2019-09-07 11:14:38 +01:00
  • 254cfbe342 Tidied up pin management to be synchronised with the .Net code. Adrian Conlon 2019-09-06 23:55:57 +01:00
  • e1f22f6903 Make it slightly easier to call individual opcodes from external control. Adrian Conlon 2019-08-31 08:45:04 +01:00
  • f48f1d559e Move all Intel derived processors over to the simpler "HALT" method. Adrian Conlon 2019-08-29 08:57:30 +01:00
  • 4f47f3fc4d Simplifying the Z80 halt implementation looks better. Adrian Conlon 2019-08-29 08:51:15 +01:00
  • 2efd53d33a Correct problematic continuation from "halt" on Z80. Adrian Conlon 2019-08-28 23:06:56 +01:00
  • 4b0cf426b9 Add a couple of missing instructions to the disassembler (used by the ZX Spectrum ROM) Adrian Conlon 2019-08-18 17:40:18 +01:00
  • 6940a54355 Update all EightBit projects to VS2019 (Latest SDK, C++17) Adrian Conlon 2019-08-17 11:04:29 +01:00
  • 326ebfd8ea Merge branch 'master' of https://github.com/MoleskiCoder/EightBit Adrian Conlon 2019-08-16 21:57:01 +01:00
  • 5ed01b61d1 Backport fixes from .Net EightBit library to C++ Adrian Conlon 2019-08-16 21:56:48 +01:00
  • 5e9014997a Upgraded to VS2019, default SDK. Adrian Conlon 2019-08-06 13:16:38 +01:00
  • 03975bd76b Remove unneeded "hex" method. Adrian Conlon 2019-08-06 13:15:39 +01:00
  • 58e074b17f Refactor the keyboard scan code a little more, to make it more comprehensible. Adrian Conlon 2019-08-03 17:44:16 +01:00