Commit Graph

  • 99f2060fc1 Further improved macros. Thomas Harte 2017-05-18 22:11:54 -04:00
  • 5d3ebcb35a Made a first attempt at LD HL, (nn). Thomas Harte 2017-05-17 22:42:30 -04:00
  • 509d011fbe Implemented JP, my first Z80 operation. Thomas Harte 2017-05-17 22:31:41 -04:00
  • 17ffd604bf Made an attempt to get the Z80 at least as far as rejecting an opcode. Thomas Harte 2017-05-17 21:45:23 -04:00
  • a3dafa9056 Abbreviated uses of enumerations. Thomas Harte 2017-05-17 21:44:08 -04:00
  • 21d0602305 Restored the all RAM 6502's lack of power-on reset. Thomas Harte 2017-05-17 21:43:40 -04:00
  • 64d6ee1be5 Adjusted slightly to adapt to latest Swift warnings. Thomas Harte 2017-05-17 07:49:48 -04:00
  • 1378ab7278 Ensured initial program counter and stack pointer are correct for Zexall, fixed the Z80 to use a compile-time polymorphic call for bus access. Thomas Harte 2017-05-17 07:36:06 -04:00
  • 87a021ec2d Made further attempt to get as fas as having the Z80 attempt to do something. Thomas Harte 2017-05-16 22:19:40 -04:00
  • 189317b80c Added enough of a Z80 test machine to bridge up into Swift. Thomas Harte 2017-05-16 22:05:42 -04:00
  • 4f0775cc7c Imported the Zexall.com tester, as a first thing to throw at the Z80 to be. Thomas Harte 2017-05-16 21:37:09 -04:00
  • 7190f927b7 Factored out the stuff that both all-RAM processors would share, rather than duplicating it. Thomas Harte 2017-05-16 21:28:17 -04:00
  • d559d8b901 Continued edging towards getting the absolute basics of a testable Z80, for test-driven development. Corrected old-fashioned instance naming issues with the corresponding 6502 class and removed an unnecessary source file while at it. Thomas Harte 2017-05-16 21:19:17 -04:00
  • 2562306802 Merge branch 'master' into Z80 Thomas Harte 2017-05-16 21:05:00 -04:00
  • 15394358df Merge pull request #126 from TomHarte/GCRAnalysis 2017-05-16 Thomas Harte 2017-05-16 20:54:24 -04:00
  • df4d4467b3 Ensured GCR parser spins the disk. Thomas Harte 2017-05-16 20:53:06 -04:00
  • 67ec0b9e6c Merge pull request #125 from TomHarte/SampledComposite Thomas Harte 2017-05-16 20:47:20 -04:00
  • 2ee8a7056e Corrected TIA no longer to assume phase is an automatic quarter askew. Thomas Harte 2017-05-16 20:43:28 -04:00
  • a5075d9eb5 Formalised the reasoning behind the colour phase fix-up and made it an opt-in per-caller value. Only the Oric currently needs to opt in. Thomas Harte 2017-05-16 20:31:39 -04:00
  • 50bb4f0142 There's finally a loop in here, at least. Thomas Harte 2017-05-15 22:25:52 -04:00
  • df80c37adb Renamed TestMachine to TestMachine6502 since there's going to be multiple of them. Thomas Harte 2017-05-15 08:18:57 -04:00
  • 7da51602d5 Moved flush, added run_for_cycles, which does nothing right now. Thomas Harte 2017-05-15 07:59:21 -04:00
  • 5152517887 Added the boilerplate stuff necessary to query registers. Thomas Harte 2017-05-15 07:55:53 -04:00
  • eb8a2de5d6 Settled definitively on flush as more communicative than synchronise (and slightly more locale neutral); culled some more duplication from the Z80. Thomas Harte 2017-05-15 07:38:59 -04:00
  • f2a1a906ff Adapted what negligible amount there is of the z80 as per the new CPU namespace. Thomas Harte 2017-05-14 22:15:16 -04:00
  • 0808e9b6fb Pulled the 6502 into a CPU namespace, making it an instance of something that has micro-opcodes and schedules them, and factoring out the formulation of a register pair. Thomas Harte 2017-05-14 22:08:15 -04:00
  • b81a2cc273 First tentative steps towards adding a Z80 implementation. Thomas Harte 2017-05-14 17:46:41 -04:00
  • abeaedf16f Merge pull request #123 from TomHarte/RemovedDeadOption 2017-05-14 Thomas Harte 2017-05-14 17:03:33 -04:00
  • 8e35e913bb Formally withdrew the 'load automatically' option for the Vic, having removed that option elsewhere. Thomas Harte 2017-05-14 16:59:24 -04:00
  • 81c5f4ab19 Merge pull request #122 from TomHarte/16bit6560 Thomas Harte 2017-05-13 22:03:08 -04:00
  • e270b726b3 Tweaked blue, increased saturation. Thomas Harte 2017-05-13 22:01:02 -04:00
  • c2b5a9bb1f Minor fix: given that phase is now a function of position, stop nudging position. Thomas Harte 2017-05-13 21:50:48 -04:00
  • 44ce7fa54c Corrected luminances across the board, and PAL colours. Thomas Harte 2017-05-13 21:50:09 -04:00
  • b0142cf050 Made an updated stab at NTSC colours. Thomas Harte 2017-05-13 14:29:36 -04:00
  • a340331229 Introduced 1-bit of saturation, returning black and white as black and white. Thomas Harte 2017-05-11 21:31:58 -04:00
  • b14c892740 Switched to a safer RAII approach to this lock. Thomas Harte 2017-05-10 21:29:39 -04:00
  • 15d17c12d5 Switched the 6560 to two bytes per pixel, since one isn't sufficient for precision and because mixing up the implementation might help me to figure out what's amiss. Thomas Harte 2017-05-09 21:22:01 -04:00
  • 99800d9840 Merge pull request #121 from TomHarte/VicColours Thomas Harte 2017-05-08 22:18:47 -04:00
  • 5d91a2600d Permitted ROM-style PRGs that are not a power-of-two in size, and added extra safety checks on loading data from a tape. Thomas Harte 2017-05-08 22:15:35 -04:00
  • cb66c7e2dc Performed some minor tidying. Thomas Harte 2017-05-08 21:05:35 -04:00
  • 58488c93be Merge pull request #120 from TomHarte/Vic20Colours Thomas Harte 2017-05-08 20:59:29 -04:00
  • 61f8f2f18c Switched to a more straightforward way of exiting from tape data loading. Thomas Harte 2017-05-08 20:58:55 -04:00
  • 7b43ae0a92 Implemented a catch for loading the data portion of files. Thomas Harte 2017-05-07 22:22:59 -04:00
  • 2807e3134f Implemented speedy header finding. So that's half of it. Thomas Harte 2017-05-07 20:32:48 -04:00
  • 0771363f3b Removed one piece of unnecessary logging. Thomas Harte 2017-05-06 22:22:03 -04:00
  • 1f56e85f6d Centralised resetting of tape files within the static analyser, having implemented it patchily. Thomas Harte 2017-05-06 22:19:08 -04:00
  • 2edf73908c Temporarily disabled the existing fast loading implementation in pursuit of another, and started trying to correct the lack of connection between the userport VIA and the tape drive. Thomas Harte 2017-05-06 22:00:12 -04:00
  • 6a37a02eee Switched to std::ostringstream to avoid the need to make a string length count (and I was one off when loading a disk). Thomas Harte 2017-05-06 19:55:42 -04:00
  • 5998123868 Added some consts, for a minor safety improvement. Thomas Harte 2017-05-06 19:53:24 -04:00
  • 26cb903b08 Merge pull request #119 from TomHarte/C11 Thomas Harte 2017-04-15 21:45:48 -04:00
  • 92a8b68859 Dumped Mach-specific test-and-set in favour of ordinary C11. Thomas Harte 2017-04-15 21:41:59 -04:00
  • 4127350abe Merge pull request #118 from TomHarte/HighResolutionAtariAudio Thomas Harte 2017-04-15 21:21:58 -04:00
  • ed6b135015 Made final switch to permit high-sampling rate Atari audio. Thomas Harte 2017-04-15 21:18:00 -04:00
  • f95015c7f6 Pulled out the divisor for audio. Thomas Harte 2017-04-03 21:16:39 -04:00
  • defec2c9b0 Fixed: operation reads now fulfil the promise of seeding the value to be read with 0xff. 2017-03-26.2 Thomas Harte 2017-03-26 20:56:27 -04:00
  • 04921e64de Merge pull request #117 from TomHarte/AudioRace Thomas Harte 2017-03-26 20:29:41 -04:00
  • bdd432fe1d Added an ugly workaround for the empirical sound shutdown issues. Thomas Harte 2017-03-26 20:28:04 -04:00
  • 6e9ab9f330 Merge pull request #116 from TomHarte/YarsBug 2017-03-26 Thomas Harte 2017-03-26 18:38:51 -04:00
  • 814c0ada13 Fixed action counts for border motion. Thomas Harte 2017-03-26 18:33:05 -04:00
  • dfc468f220 Locked down all initial state. Thomas Harte 2017-03-26 15:47:04 -04:00
  • 6817b38322 Merge pull request #115 from TomHarte/Style Thomas Harte 2017-03-26 14:37:23 -04:00
  • e01f3f06c8 Completed curly bracket movement. Thomas Harte 2017-03-26 14:34:47 -04:00
  • 3229502fa1 Standardised curly bracket placement across the Atari. Thomas Harte 2017-03-23 21:59:16 -04:00
  • a4c5eebd1e The latest Atari Age-discovered numbers suggest this starts up in 1024T mode. Thomas Harte 2017-03-21 18:22:50 -04:00
  • a3c22d5abb Merge pull request #114 from TomHarte/Pitfall2 Thomas Harte 2017-03-20 20:44:43 -04:00
  • a26b87f348 Fixed: mistake was failure to count ready cycles. Thomas Harte 2017-03-20 20:44:03 -04:00
  • 4c3cc42c91 This gives a very noisy version of the real audio. Thomas Harte 2017-03-20 20:38:29 -04:00
  • f3f4e1a541 Made a first, hacky, attempt at audio. Thomas Harte 2017-03-20 19:35:51 -04:00
  • 4722f6b5c4 Fixed sprite disappearance: test should be applied predecrement, not post — it relates to the address being used this access, not the next one. Thomas Harte 2017-03-19 18:58:35 -04:00
  • 7d8d1c7828 Fixed 'random' number generator. Thomas Harte 2017-03-19 18:54:35 -04:00
  • 4bb70e7d31 Resetting the mask upon low byte write appears to resolve some issues. Thomas Harte 2017-03-19 18:49:37 -04:00
  • 321030bb44 Added a slightly faulty but seemingly 'close' version of masking. Thomas Harte 2017-03-19 18:28:06 -04:00
  • 6c161b1150 This gives something that might be the correct background. Thomas Harte 2017-03-19 17:49:48 -04:00
  • d5c37c8619 Shushed a little, so as to be able to see a reasonable amount of output during my lifetime. Thomas Harte 2017-03-19 17:38:54 -04:00
  • c445eaec3e Switched startup values, following a comment on AtariAge. May or may not be correct, the thread was speculative. Thomas Harte 2017-03-19 17:38:26 -04:00
  • 7c66c36d3f Attempted at least to manage appropriate data storage. Thomas Harte 2017-03-19 17:31:08 -04:00
  • 031a68000a Added a class to contain the Pitfall 2 pager and a skeleton of initial work. Thomas Harte 2017-03-18 22:08:47 -04:00
  • 7d7b665be8 Merge pull request #113 from TomHarte/PagingTemplates Thomas Harte 2017-03-18 21:05:01 -04:00
  • c3d82f88a5 Tidied up and commented on the Activision stack implementation. Thomas Harte 2017-03-18 21:01:58 -04:00
  • c033bad0b9 Here's MNetwork! Thomas Harte 2017-03-18 20:51:49 -04:00
  • c31d85f820 Re-emplaced the MegaBoy. Also cut detritus from the main Atari header. Thomas Harte 2017-03-18 19:02:34 -04:00
  • 217fbf257e CBS RAM Plus returns. Thomas Harte 2017-03-18 18:56:20 -04:00
  • 0b611a14b9 Tigervision paging returns. Thomas Harte 2017-03-18 18:50:13 -04:00
  • df6861c9dc Parker Bros paging is back. Thomas Harte 2017-03-18 18:21:01 -04:00
  • a4cd12394e Reinstated the Activision stack pager. Thomas Harte 2017-03-18 18:03:48 -04:00
  • e0bca1e37b Reinstated the 16 and 32 kb Atari pagers, and ensured the 6532 always starts in a valid state. Thomas Harte 2017-03-18 17:34:34 -04:00
  • 55ce851bb2 Fixed types of the 8k cartridges, ensured the 6502 starts without an IRQ request history. Thomas Harte 2017-03-18 17:04:01 -04:00
  • e8d34f2eb4 Having farmed out the bus, the Atari itself no longer is/owns a 6502. Thomas Harte 2017-03-18 16:34:41 -04:00
  • bb3daaa99b Sought to reintroduce the Atari 8k paging scheme, at the same time deciding to do away with the copy and paste of holding on to ROM data. Thomas Harte 2017-03-18 15:04:01 -04:00
  • 36b58d03b7 Formalised read bus value guarantee from the 6502, fixed missing clock signal wiring on the Atari cartridge class, reintroduced CommaVid support. Thomas Harte 2017-03-18 14:46:46 -04:00
  • 7958459db9 In theory unpaged cartridges should now work. Time to debug. Thomas Harte 2017-03-18 14:01:04 -04:00
  • 14a76af0d3 Started trying to float out bus control to cartridges. Thomas Harte 2017-03-17 20:28:07 -04:00
  • a04a58e01f Merge pull request #112 from TomHarte/LineTiming Thomas Harte 2017-03-14 21:34:19 -04:00
  • afbd9fd41b Fixed declared line length. Thomas Harte 2017-03-14 21:33:38 -04:00
  • 3d53d4e55e Merge pull request #111 from TomHarte/ActivisionStack Thomas Harte 2017-03-14 20:41:04 -04:00
  • 7302703039 Implemented the Activision stack paging scheme. Thomas Harte 2017-03-14 20:24:05 -04:00
  • 97a8a96593 Rejigged how the memory map is handled and implemented MNetwork support. Thomas Harte 2017-03-14 20:07:54 -04:00
  • be2e99077e Merge pull request #110 from TomHarte/MegaBoy Thomas Harte 2017-03-14 17:40:41 -04:00
  • 3b29276228 Implemented the MegaBoy paging scheme. Thomas Harte 2017-03-14 17:40:01 -04:00
  • 4a528b9ecb Merge pull request #109 from TomHarte/CBSRamPlus Thomas Harte 2017-03-14 17:26:09 -04:00