0000000000000000000000000000000000000000 fbd78a340417806682a2e3836a209ed1882f109d Aubrey Lewman 1791231203 -0700 commit (initial): Pin the Game Boy references, test ROMs and tools for a pure-Python board fbd78a340417806682a2e3836a209ed1882f109d e582e9ecab754d59ed3dae9707a5b9408f68f186 Aubrey Lewman 1791231203 -0700 commit: Add the SameBoy and MAME detector drivers and the MBC census e582e9ecab754d59ed3dae9707a5b9408f68f186 0bff9455f34cba50dff4724f81739558863862cf Aubrey Lewman 1791231203 -0700 commit: Document the Game Boy for a pure-Python board on sm83-python 0bff9455f34cba50dff4724f81739558863862cf 047015c59a77c543fe730e48e20f6590bd3b67b8 Aubrey Lewman 1791231237 -0700 commit: Record the measured dmg-sim run: mem_oam passes on the die model 047015c59a77c543fe730e48e20f6590bd3b67b8 8ef30aefc044a7bca8c203cd85d517c5e8f98e8b Aubrey Lewman 1791232134 -0700 commit: Record Aubrey's decisions and boot from the real boot ROMs by default 8ef30aefc044a7bca8c203cd85d517c5e8f98e8b 0271bf86bacf756fa2ecfa3cea08947e77d3a66d Aubrey Lewman 1791233355 -0700 commit: Close the IE/IF decision: both live in sm83-python 0271bf86bacf756fa2ecfa3cea08947e77d3a66d 21541b990bf856e5e24d4060a12ebdd518f6ea92 Aubrey Lewman 1791417452 -0700 commit: Start the board: bus, timer, serial, joypad, OAM DMA, PPU skeleton, MBC1, harness 21541b990bf856e5e24d4060a12ebdd518f6ea92 06a67b4bdf7c7241b02693aa4868c8f854b64e61 Aubrey Lewman 1791418588 -0700 commit: Milestone 1 progress: Mooneye 56/66 applicable, blargg, boot variants 06a67b4bdf7c7241b02693aa4868c8f854b64e61 b150331a2a0341200fe3359f7a943af9af578a80 Aubrey Lewman 1791418797 -0700 commit: Add board state, JSONL trace and command-line runner b150331a2a0341200fe3359f7a943af9af578a80 08f1f7fd642e02a2eb4dd03f38a6b98fc572e2b0 Aubrey Lewman 1791418823 -0700 commit: Add MAME per-instruction comparison script (1.2M instructions agree) 08f1f7fd642e02a2eb4dd03f38a6b98fc572e2b0 ae6d12c95c4c9174ca1c9b3b54bb1873cafa675f Aubrey Lewman 1791418855 -0700 commit: Import-boundary test, milestone 1 results ae6d12c95c4c9174ca1c9b3b54bb1873cafa675f 42dcc5ca992cfe5226f2e453b0e261cf6b700f7d Aubrey Lewman 1791418860 -0700 commit: Fix wording in results 42dcc5ca992cfe5226f2e453b0e261cf6b700f7d 3ac3216ab07c40a20661725a4e99373a8f6efe58 Aubrey Lewman 1791428061 -0700 commit: Docs: settle milestone 1 decisions 3ac3216ab07c40a20661725a4e99373a8f6efe58 238d0b903b495cd6e130c6758625895e3c34b26c Aubrey Lewman 1791429080 -0700 commit: Milestone 2 begins: dot-by-dot PPU with a pixel stepper; dmg-acid2 pixel-exact, all 66 Mooneye pass 238d0b903b495cd6e130c6758625895e3c34b26c 28190da578ab062d8af7305acdc490abcb08c995 Aubrey Lewman 1791430101 -0700 commit: PPU: background fetch reads at fixed pixel phases, latched fine scroll, pixel pipeline delay; --png 28190da578ab062d8af7305acdc490abcb08c995 0514b9b3b55941324c11deff57cc178b33386210 Aubrey Lewman 1791430186 -0700 commit: Mealybug comparison script; fitted fetch phases; milestone 2 status in validation.md 0514b9b3b55941324c11deff57cc178b33386210 22ca0159bc1b7e8c481fb4ed84a0e74a64b1caa0 Aubrey Lewman 1791432061 -0700 commit: PPU: a real background fetcher, two FIFOs and object fetches (Pan Docs pixel_fifo) 22ca0159bc1b7e8c481fb4ed84a0e74a64b1caa0 22ca0159bc1b7e8c481fb4ed84a0e74a64b1caa0 Aubrey Lewman 1791434948 -0700 reset: moving to HEAD 22ca0159bc1b7e8c481fb4ed84a0e74a64b1caa0 3127e8f91b8771f90d2c1a9cecf5d8f4c5453651 Aubrey Lewman 1791435180 -0700 commit: PPU: per-register pixel sample delays, DMG BGP OR glitch, latched SCX fine scroll, line-0 pipeline lead 3127e8f91b8771f90d2c1a9cecf5d8f4c5453651 fc5505357cdca2099a48dfffa17507227fd95865 Aubrey Lewman 1791436919 -0700 commit: PPU: deferred background VRAM reads (tile tickets), Mealybug 5 of 24 exact fc5505357cdca2099a48dfffa17507227fd95865 babb563f00ff6de783e001c790446b72c9dce8f4 Aubrey Lewman 1791437421 -0700 commit: Mealybug exact pictures as tests; milestone 2 results babb563f00ff6de783e001c790446b72c9dce8f4 a72193e2deae61ea01a0e41b6fc2e76e89c7343c Aubrey Lewman 1791442784 -0700 commit: PPU: line 0 events early (not a no-lag special); no HBlank IRQ in the fake mode 0; microtest runner fix a72193e2deae61ea01a0e41b6fc2e76e89c7343c de8b18621ff7663c4218138da6df4feede2e3178 Aubrey Lewman 1791444780 -0700 commit: PPU: OAM source as a line-start pulse; LY=LYC interrupt 4 dots before the flag; HBlank not in the fake mode 0 (GBMicrotest 353/513) de8b18621ff7663c4218138da6df4feede2e3178 dae67a2567be611558e21c35b2f98bc634797112 Aubrey Lewman 1791449508 -0700 commit: PPU: DMG STAT write glitch, window restart cost, hidden window pixels free (GBMicrotest win* 35/36) dae67a2567be611558e21c35b2f98bc634797112 f8c603b3c66ce0a332c079536ba11561c9ec96b5 Aubrey Lewman 1791452303 -0700 commit: GBMicrotest runner, pass list and regression test; halt_bug screen test; results f8c603b3c66ce0a332c079536ba11561c9ec96b5 3ec241a5781830d6ecc3816920f006a9465982bc Aubrey Lewman 1791452307 -0700 commit: Lint 3ec241a5781830d6ecc3816920f006a9465982bc ab1ca04f7966117193746dc44e01f51b52fec8c0 Aubrey Lewman 1791452312 -0700 commit: Lint ab1ca04f7966117193746dc44e01f51b52fec8c0 a1faab5c35b97639685038ebb09b8fd38c988dea Aubrey Lewman 1791459375 -0700 commit: Interrupt phase: the CPU's dispatch sees the line-start OAM interrupt 4 dots early (IF reads do not); halted wake unchanged; refit Mealybug delays; WX comparator lag a1faab5c35b97639685038ebb09b8fd38c988dea ca4dffb2719bfc820a4642f19764139a28536a07 Aubrey Lewman 1791461198 -0700 commit: GBMicrotest 403/513; document the interrupt-phase resolution ca4dffb2719bfc820a4642f19764139a28536a07 ca4dffb2719bfc820a4642f19764139a28536a07 Aubrey Lewman 1791567191 -0700 reset: moving to HEAD ca4dffb2719bfc820a4642f19764139a28536a07 e5d43219600437afa790a42082d1f6de0426632e Aubrey Lewman 1791567732 -0700 commit: HBlank interrupt 2 dots early on lines 1+, halted wake 2 dots after it is raised (GBMicrotest hblank_int_scx*, int_hblank_halt_*; Mooneye still 66) e5d43219600437afa790a42082d1f6de0426632e 5d3e83dd5529cc5bfd0eb63820ecead7f2e4620c Aubrey Lewman 1791568019 -0700 commit: Skip-boot hand-off at dot 396 (what the real boot ROM leaves); early HBlank IF hidden for 2 dots (GBMicrotest hblank: 93 of 94) 5d3e83dd5529cc5bfd0eb63820ecead7f2e4620c 607156c3fa8ed62991103cd65322e53f114da4e2 Aubrey Lewman 1791569000 -0700 commit: GBMicrotest 446/513 607156c3fa8ed62991103cd65322e53f114da4e2 711f0b2542b5f8f7d81efde0b5a5cbd077460695 Aubrey Lewman 1791569447 -0700 commit: STAT shows mode 0 one dot after the end of mode 3 on lines without objects or window (GBMicrotest ppu_sprite0_scx*) 711f0b2542b5f8f7d81efde0b5a5cbd077460695 3ad8e2a37d153a05bb1314fcc7e236199f89ef73 Aubrey Lewman 1791569841 -0700 commit: GBMicrotest 452/513; docs 3ad8e2a37d153a05bb1314fcc7e236199f89ef73 81b4f3a6a12a566f9c036445182217c3a81f1dc6 Aubrey Lewman 1791570990 -0700 commit: Line 153 comparator timing, VBlank STAT source seen by dispatch on time but by IF later, IF writes do not clear a bit raised in the same cycle 81b4f3a6a12a566f9c036445182217c3a81f1dc6 1217fe924eced2033d1681c721e5caa0e91c1890 Aubrey Lewman 1791571141 -0700 commit: VBlank IF bit shows later than its dispatch; STAT write glitch sees the mode as a read does; IF-write phase 0 1217fe924eced2033d1681c721e5caa0e91c1890 82b48af0c596827325ddbc705cb89dab23a68dd2 Aubrey Lewman 1791571264 -0700 commit: IF shows HBlank/LYC interrupts later than dispatch does (line 0 included) 82b48af0c596827325ddbc705cb89dab23a68dd2 4a25acfb71098b4e19c3070635cbe5c91aad9c0f Aubrey Lewman 1791571579 -0700 commit: Line 153 LYC interrupt decided after the cycle's access (GBMicrotest line_153_lyc0_int_inc_sled, line_153_lyc_int_b) 4a25acfb71098b4e19c3070635cbe5c91aad9c0f 20c8e0faf9a976860b0071e9baf597f1100955a1 Aubrey Lewman 1791573620 -0700 commit: GBMicrotest 476/513 (SameBoy's count); OBP power-on value; docs 20c8e0faf9a976860b0071e9baf597f1100955a1 ee10d70729f04e0cc21dc55ec5eb2596b9e7bb3f Aubrey Lewman 1791575466 -0700 commit: Timer interrupt wakes a halted CPU a cycle later (GBMicrotest int_timer_halt*); 478/513 ee10d70729f04e0cc21dc55ec5eb2596b9e7bb3f 3f09a60e51f1f505e3eec5261a9e3d6273fee2ce Aubrey Lewman 1791578552 -0700 commit: Shadow PPU: the pixel-drawing PPU is a lagged copy of the timing one (lag 2), refit delays 3f09a60e51f1f505e3eec5261a9e3d6273fee2ce 5748e954b2c19cfa55e1c0e655d9b705b261d417 Aubrey Lewman 1791579382 -0700 commit: Window WX-glitch experiment (off); Mealybug state in validation.md 5748e954b2c19cfa55e1c0e655d9b705b261d417 e0dc570a7759f14017f72c81a7d3166382c017a5 Aubrey Lewman 1791590413 -0700 commit: Milestone 3: the OAM corruption bug (blargg oam_bug 1-6, 8); test 7 documented as open e0dc570a7759f14017f72c81a7d3166382c017a5 b696e686c1a368044e11f08a2006288a207a05f1 Aubrey Lewman 1791602910 -0700 commit: Milestone 4: the APU (four channels, frame sequencer on DIV-APU, mixer, samples, --wav) b696e686c1a368044e11f08a2006288a207a05f1 11c6274eab2363822e0c1f336cdad411e09f7ae4 Aubrey Lewman 1791615546 -0700 commit: Milestone 5: MBC2, MBC3 (RTC), MMM01, MBC1M; Mooneye emulator-only 28/28; compat sweep 11c6274eab2363822e0c1f336cdad411e09f7ae4 3256d9b454bfb1e02638382dc490a3e17cd7206c Aubrey Lewman 1791631019 -0700 commit: Milestone 6 (part): DMG 0 STAT non-blocking, GBMicrotest VRAM-flag protocol (481/513), gambatte_dmg08 runner, SameBoy tables 3256d9b454bfb1e02638382dc490a3e17cd7206c 351e230b484ec12494bf9ffe1ea3948ae5380f3d Aubrey Lewman 1791648247 -0700 commit: Milestone 6: DMA-busy FExx reads $FF, DMG DMA/CPU write AND conflict, serial IF/finish delay, gambatte_dmg08 reuse-SameBoy mode 351e230b484ec12494bf9ffe1ea3948ae5380f3d 2ff11b6b3d68b4a8825f5832e8041a9a7d26fc71 Aubrey Lewman 1791650467 -0700 commit: Milestone 6: SCY write lag 4 dots (Gambatte scy_during_m3 0->5/18) 2ff11b6b3d68b4a8825f5832e8041a9a7d26fc71 3826f4589629928593ae99fef0f11791da025f29 Aubrey Lewman 1791651488 -0700 commit: Milestone 6: WY==LY compared on WY writes (Gambatte window/arg 20->44/52) 3826f4589629928593ae99fef0f11791da025f29 424a0b353a95bde5ed6d833b2d7d25a45e270dcb Aubrey Lewman 1791653698 -0700 commit: Milestone 6: validation results, gambatte_table.py 424a0b353a95bde5ed6d833b2d7d25a45e270dcb 0f75b83794c6eb23406fd57e7e8d5e802fed57ce Aubrey Lewman 1791653980 -0700 commit: Milestone 6: Gambatte dmg08 regression sample (36 of the 1,418 passing verdicts) 0f75b83794c6eb23406fd57e7e8d5e802fed57ce 1c23d635833e21a4b5a6b0c9e420a50dc071ce50 Aubrey Lewman 1791675559 -0700 commit: Milestone 7: CGB board plumbing, CGB PPU (banks, attributes, palettes, priority), HDMA/GDMA, speed switch, colour PNG; cgb-acid2 pixel-exact from the real CGB boot ROM 1c23d635833e21a4b5a6b0c9e420a50dc071ce50 4b00382310edcfc527f4b617c1870fe5bf25ee10 Aubrey Lewman 1791676996 -0700 commit: Milestone 7: Mooneye CGB E set (58 ROMs) passes; CGB VBlank interrupt 4 dots after the OAM one, TAC glitch on CGB, OPRI default 4b00382310edcfc527f4b617c1870fe5bf25ee10 7aac88172a91519d022f6342de8e02c48c7a36c5 Aubrey Lewman 1791686572 -0700 commit: Milestone 7: CGB suite runners (SameSuite, AGE, Gambatte cgb04c, pictures), LY=153 on CGB E, speed-switch wake fix 7aac88172a91519d022f6342de8e02c48c7a36c5 194c2320752650a67b87ab7b783f98fa66412305 Aubrey Lewman 1791689025 -0700 commit: Milestone 7: HDMA/GDMA start-up and double-speed byte timing fitted to Gambatte gdma/hdma cycle tests; gambatte_digits.py, --set for constant sweeps 194c2320752650a67b87ab7b783f98fa66412305 a3c03214e83582699b4662d1aecfac929c8bd58f Aubrey Lewman 1791691832 -0700 commit: Milestone 7: CGB APU differences (length counters on power-off, wave RAM reachable while on, no trigger corruption): blargg cgb_sound 12/12 a3c03214e83582699b4662d1aecfac929c8bd58f f5e8ebb1a9972b86423c6313d9bcdcd45b9edc6e Aubrey Lewman 1791694644 -0700 commit: Milestone 7: validation results (first pass), CGB regression lists and tests f5e8ebb1a9972b86423c6313d9bcdcd45b9edc6e f5e8ebb1a9972b86423c6313d9bcdcd45b9edc6e Aubrey Lewman 1791746539 -0700 reset: moving to HEAD f5e8ebb1a9972b86423c6313d9bcdcd45b9edc6e f5e8ebb1a9972b86423c6313d9bcdcd45b9edc6e Aubrey Lewman 1791746576 -0700 reset: moving to HEAD f5e8ebb1a9972b86423c6313d9bcdcd45b9edc6e f5e8ebb1a9972b86423c6313d9bcdcd45b9edc6e Aubrey Lewman 1791746674 -0700 reset: moving to HEAD f5e8ebb1a9972b86423c6313d9bcdcd45b9edc6e a2a0fabd2c26dd180aac5e7a43d3dbe69437d721 Aubrey Lewman 1791746899 -0700 commit: Milestone 7: CGB OAM-DMA bus rules (Gambatte conflict map), invalid sources from $E0, regression list rewritten from skip-boot (oamdma 369 of 418) a2a0fabd2c26dd180aac5e7a43d3dbe69437d721 30a82b26e94d4b5852d4b2333d9ec0194ae30fa1 Aubrey Lewman 1791747649 -0700 commit: Milestone 7: GDMA start-up back to 2 (Mooneye boot_div), conflict with Gambatte gdma_cycles documented; compat sweep and OAM-DMA results in validation.md 30a82b26e94d4b5852d4b2333d9ec0194ae30fa1 839ca7257af0de61786795ee8f13f16ef215e7d1 Aubrey Lewman 1791761578 -0700 commit: Milestone 7: speed switch clears DIV; halt-length and timer-lag sweeps recorded (speedchange 132 of 206) 839ca7257af0de61786795ee8f13f16ef215e7d1 8f7ee78ff6e40594b37951224021ddc978eb25a1 Aubrey Lewman 1791771224 -0700 commit: Milestone 7: LCDC map/data select lag at the background fetcher; speed switch and lag findings in validation.md 8f7ee78ff6e40594b37951224021ddc978eb25a1 d8eef759c25281bc99296899f42948a6f8b53a9f Aubrey Lewman 1791790206 -0700 commit: Milestone 7: first-object cost 2 dots lower in CGB double speed; regenerate Gambatte CGB pass list (2,458) d8eef759c25281bc99296899f42948a6f8b53a9f 1e12f737c5643c33f15f76358a092c97ab3fe954 Aubrey Lewman 1791802246 -0700 commit: Milestone 7: window comparator lag 1 on the timing PPU (Gambatte CGB window 148 of 193); pass list 2,463 1e12f737c5643c33f15f76358a092c97ab3fe954 7bf8b2d17411e95128cf6d10f524d0d1bc8808c5 Aubrey Lewman 1791814314 -0700 commit: Document the rejected LYC_IRQ_EARLY sweep 7bf8b2d17411e95128cf6d10f524d0d1bc8808c5 4c5b48604c48872bdaa970eab26a370f2261fb3e Aubrey Lewman 1791820409 -0700 commit: Record the LINE0_START_DOT whole-list sweep 4c5b48604c48872bdaa970eab26a370f2261fb3e 575e237e945a2c9c550caef937baccac8d2115c8 Aubrey Lewman 1792649913 -0700 commit: Milestone 7: APU in 2 MHz ticks with SameBoy's start-up, envelope and sweep rules (SameSuite APU 63 of 63) 575e237e945a2c9c550caef937baccac8d2115c8 1000858b1b6ddc5eadaa1b23310e1fb63da0a993 Aubrey Lewman 1792662717 -0700 commit: Milestone 7: an HBlank DMA started with the LCD off copies its first block at once (SameSuite 69 of 69) 1000858b1b6ddc5eadaa1b23310e1fb63da0a993 88a9e58248c1cc747bf42842ef77baa6f06355d9 Aubrey Lewman 1792673938 -0700 commit: Milestone 7: a speed switch clears DIV in STOP's operand read, then holds it with IME off (Gambatte speedchange 141 of 206) 88a9e58248c1cc747bf42842ef77baa6f06355d9 2b6862fd735aab0ab5c283d57986eeef25e23123 Aubrey Lewman 1792673956 -0700 commit: Add AGE spsw-div to the CGB suites pass list 2b6862fd735aab0ab5c283d57986eeef25e23123 f31b320933eac543cceda578d6fe74b12229d4b2 Aubrey Lewman 1792809117 -0700 commit: PPU: mode 3's end in double speed (no mode-0 read lag, palettes held 2 dots) f31b320933eac543cceda578d6fe74b12229d4b2 90fd360d8ba1f613b9ac8c37914ae815a372b371 Aubrey Lewman 1792931865 -0700 commit: PPU: SCX in mode 3 as SameBoy's fetcher reads it (Gambatte scx_during_m3 DMG 3 -> 37 of 44); smoke gate 90fd360d8ba1f613b9ac8c37914ae815a372b371 1bfb2854b1e13798e240d2031a2e140d138ec6f1 Aubrey Lewman 1792938491 -0700 commit: PPU: __slots__, so PyPy keeps its fixed attribute layout (dmg-acid2 3x, cgb-acid2 8x faster) 1bfb2854b1e13798e240d2031a2e140d138ec6f1 1bfb2854b1e13798e240d2031a2e140d138ec6f1 alewman 1793809065 -0800 reset: moving to HEAD 1bfb2854b1e13798e240d2031a2e140d138ec6f1 1bfb2854b1e13798e240d2031a2e140d138ec6f1 alewman 1793823627 -0800 reset: moving to HEAD 1bfb2854b1e13798e240d2031a2e140d138ec6f1 fa6dc290ac5d4f2e51084d77058e9ddb49e4b8f3 alewman 1793823957 -0800 commit: PPU: SCX in mode 3, drop wrap and double speed (Gambatte scx_during_m3 DMG 41, CGB 84 of 97) fa6dc290ac5d4f2e51084d77058e9ddb49e4b8f3 fa6dc290ac5d4f2e51084d77058e9ddb49e4b8f3 alewman 1793856910 -0800 reset: moving to HEAD fa6dc290ac5d4f2e51084d77058e9ddb49e4b8f3 36188ab7c45fdaddd587df124099d21244b7c643 alewman 1793859993 -0800 commit: DMA write conflicts (DMG), CGB DMA after the fetch, CGB WY/LYC write timing 36188ab7c45fdaddd587df124099d21244b7c643 2e4045251d2baf2ca87ee8d646d440c05aac0a0d alewman 1793865497 -0800 commit: PPU: a window after an object stalls 4 dots in double speed (Gambatte sprites/space +9) 2e4045251d2baf2ca87ee8d646d440c05aac0a0d b96c9b1c0d5d3dc78f7d80df817430f47cf8dc2e alewman 1793869537 -0800 commit: PPU: CGB single-speed VRAM read lock follows STAT's lagged mode (CGB 2,615) b96c9b1c0d5d3dc78f7d80df817430f47cf8dc2e 29b96a0e302a03ddcd49d2535cf3a43222fd24a4 alewman 1793904888 -0800 commit: CGB: halted wake, HBlank HDMA at the fetch, STAT writes vs the OAM interrupt (CGB 2,670) 29b96a0e302a03ddcd49d2535cf3a43222fd24a4 29b96a0e302a03ddcd49d2535cf3a43222fd24a4 alewman 1793939783 -0800 reset: moving to HEAD 29b96a0e302a03ddcd49d2535cf3a43222fd24a4 29b96a0e302a03ddcd49d2535cf3a43222fd24a4 alewman 1793939818 -0800 reset: moving to HEAD 29b96a0e302a03ddcd49d2535cf3a43222fd24a4 2dc7109fa094062d096815b0176f9ba677a2921e alewman 1793942267 -0800 commit: PPU: WY needs the window on, window head, CGB LYC write timing (CGB 2,686, DMG 1,557) 2dc7109fa094062d096815b0176f9ba677a2921e 3c8e378afe4af3b858c1e4147ea2770330bba4ea alewman 1793989878 -0800 commit: PPU: a speed switch moves the LCD against the CPU; 1-dot IRQ lead (CGB 2,719) 3c8e378afe4af3b858c1e4147ea2770330bba4ea 3c8e378afe4af3b858c1e4147ea2770330bba4ea alewman 1793990867 -0800 reset: moving to HEAD 3c8e378afe4af3b858c1e4147ea2770330bba4ea d632e1cb48dfd0cbfb223aecfec030ef400db564 alewman 1793993896 -0800 commit: The APU is the gb-apu-python core now, pinned by revision d632e1cb48dfd0cbfb223aecfec030ef400db564 b2e8fe67c1b1054e9f3212f8c69389ed39695f97 alewman 1793994039 -0800 commit: Repin gb-apu-python to f0a7f48 (tests and docs only; the APU source is unchanged) b2e8fe67c1b1054e9f3212f8c69389ed39695f97 3ec4c93f01428f0e85ac16c59701deee229077b8 alewman 1793999892 -0800 commit: PPU: line-start mode 2 and the CGB VRAM lock show 1 dot sooner in single speed (CGB 2,723) 3ec4c93f01428f0e85ac16c59701deee229077b8 3ec4c93f01428f0e85ac16c59701deee229077b8 alewman 1794000433 -0800 checkout: moving from master to sgb-icd 3ec4c93f01428f0e85ac16c59701deee229077b8 3ec4c93f01428f0e85ac16c59701deee229077b8 alewman 1794000461 -0800 reset: moving to HEAD 3ec4c93f01428f0e85ac16c59701deee229077b8 3ec4c93f01428f0e85ac16c59701deee229077b8 alewman 1794000546 -0800 checkout: moving from sgb-icd to master 3ec4c93f01428f0e85ac16c59701deee229077b8 7f29c44516e42f1e8affe771c38c20c1df26572b alewman 1794012167 -0800 commit: PPU: LCD on in double speed starts line 0 two dots sooner; LY keeps its place (CGB 2,741) 7f29c44516e42f1e8affe771c38c20c1df26572b 1e63df5f2bb947c72bbe10655e19705729b73e2e alewman 1794017235 -0800 commit: PPU: on CGB a STAT write can cancel the mode 1 interrupt (CGB 2,743) 1e63df5f2bb947c72bbe10655e19705729b73e2e d97634e5379dd3a7d1bb511dc7f525039f6dedaf alewman 1794017253 -0800 commit (amend): PPU: on CGB a STAT write can cancel the mode 1 interrupt (CGB 2,743) d97634e5379dd3a7d1bb511dc7f525039f6dedaf 38556f60918cf1aa07ede1a53df9f289dc3120dd alewman 1794072630 -0800 commit: PPU: on CGB a window cleared just after it starts is undone (CGB 2,757) 38556f60918cf1aa07ede1a53df9f289dc3120dd b469c1aa562b588e786a97b3114d59a7158927a3 alewman 1794092697 -0800 commit: PPU: line 144's mode 1 source rises a dot after LY=LYC falls; CGB line-0 WY compare 5 dots in (DMG 1,565, CGB 2,769) b469c1aa562b588e786a97b3114d59a7158927a3 2fa75c267b3246c8cc3bf658691213c4d334fcfc alewman 1794099336 -0800 commit: PPU: on CGB the HBlank STAT source ends a dot before the line (CGB 2,776) 2fa75c267b3246c8cc3bf658691213c4d334fcfc 2fa75c267b3246c8cc3bf658691213c4d334fcfc alewman 1794157451 -0800 reset: moving to HEAD 2fa75c267b3246c8cc3bf658691213c4d334fcfc 20df17504793dc39a5570203099cb4c91fe68f04 alewman 1794160777 -0800 commit: Serial: clock is SameBoy's bit-7 toggle; writes act before their cycle's fall (DMG 1,572, CGB 2,786) 20df17504793dc39a5570203099cb4c91fe68f04 b4d0df8c35c7fbd824ac61fe852286cd3bdd2591 alewman 1794168742 -0800 commit: PPU: DMG WX=166 starts the window at the next line (SameBoy) b4d0df8c35c7fbd824ac61fe852286cd3bdd2591 1311b17ca1c41fd73632fe2dba954c22fda02f8e alewman 1794177777 -0800 commit: Board: HALT sees a STAT interrupt raised in its fetch (SameBoy) 1311b17ca1c41fd73632fe2dba954c22fda02f8e 262f72e92f1c64743dea63ec68eea086d8a73cf2 alewman 1794183023 -0800 commit: Score the board on gbdev's GBEmulatorShootout list (230 of 258) 262f72e92f1c64743dea63ec68eea086d8a73cf2 660493b89d23783bbae0af9e7864efdc0910280b alewman 1794183163 -0800 commit: Board: mark STAT interrupts for HALT with the core's halt_sees (sm83 7b8d6e3) 660493b89d23783bbae0af9e7864efdc0910280b af362fff82112ffd1e1527346d9a6e8d43553d8d alewman 1794190411 -0800 commit: Pin sm83-python to master ab85260 (PR #1 merged) af362fff82112ffd1e1527346d9a6e8d43553d8d 3c48cb39b0a2646f7311b34d788eb54f4528b4c4 alewman 1794198294 -0800 commit: Board: a dispatch misses an HBlank interrupt raised after its IF sample (SameBoy) 3c48cb39b0a2646f7311b34d788eb54f4528b4c4 f47ba3738114b75438d396061febe26b3c954375 alewman 1794199623 -0800 commit: Pin sm83-python to master 95f2b8b (PR #2 merged) f47ba3738114b75438d396061febe26b3c954375 38d933b1683f037096097ef477b9e74232395678 alewman 1794281423 -0800 commit: Board: a STAT write cancels the early HBlank interrupt in its M-cycle 38d933b1683f037096097ef477b9e74232395678 266ad9e06af9e66b4feecf6e3da380b16a4a9b04 alewman 1794290150 -0800 commit: Board: a STAT or LYC write uncovers the HBlank rise under a held line 266ad9e06af9e66b4feecf6e3da380b16a4a9b04 6589ce8db00ef3938dbe0388605f5642e74c4e79 alewman 1794329912 -0800 commit: Board: a STAT write lands before the line's fall earlier in its M-cycle 6589ce8db00ef3938dbe0388605f5642e74c4e79 4238d2e049e6699cddcd679ead7722e5687e3376 alewman 1794334103 -0800 commit: Board: a write enabling line 0's OAM pulse as it rises makes an edge 4238d2e049e6699cddcd679ead7722e5687e3376 454fc176b64835e3e9e3a468be54bc27f88a9d7a alewman 1794338514 -0800 commit: Board: DMG LYC writes land first in their M-cycle 454fc176b64835e3e9e3a468be54bc27f88a9d7a 84fee66b669bfa247c2c34ceaa9940f2febc698b alewman 1794347578 -0800 commit: Board: the DMG LY=LYC interrupt comes one dot later 84fee66b669bfa247c2c34ceaa9940f2febc698b 01da87834b589faef6e78a3deb0315cbfe1b4092 alewman 1794354197 -0800 commit: Board: IF shows line 0's OAM interrupt a cycle after its raise 01da87834b589faef6e78a3deb0315cbfe1b4092 401ac3633e7cc23376488ec10da807c602c6f50b alewman 1794421748 -0800 commit: Add the play window; make the game sweep resumable, tiered and five times faster 401ac3633e7cc23376488ec10da807c602c6f50b 401ac3633e7cc23376488ec10da807c602c6f50b alewman 1794430267 -0800 reset: moving to HEAD 401ac3633e7cc23376488ec10da807c602c6f50b 8dff83e8f76f0e5b40316f2ddca946840cfcc89e alewman 1794431327 -0800 commit: Board: STOP mode, MBC3 select and latch, the stale BGP glitch; a CGB game sweep 8dff83e8f76f0e5b40316f2ddca946840cfcc89e 9d1e640200ee6c2c6148857c63ad7f6efb45c532 alewman 1794435670 -0800 commit: PPU: the CGB's TILE_SEL glitch in single speed (cgb-acid-hell exact) 9d1e640200ee6c2c6148857c63ad7f6efb45c532 1fa8c91a1fa572d0e4070a72329a4e737a05668a alewman 1794449618 -0800 commit: PPU: WX below 7 by its own dot, the DMG window's re-match pixel and hidden pixels 1fa8c91a1fa572d0e4070a72329a4e737a05668a 1fa8c91a1fa572d0e4070a72329a4e737a05668a alewman 1794450554 -0800 reset: moving to HEAD 1fa8c91a1fa572d0e4070a72329a4e737a05668a 1fa8c91a1fa572d0e4070a72329a4e737a05668a alewman 1794450554 -0800 checkout: moving from master to wip-mealybug-batch2 1fa8c91a1fa572d0e4070a72329a4e737a05668a f12f5d9064a95760ebc7c2e7cb1d16dff8b68cfe alewman 1794450554 -0800 commit: WIP (ungated): window row per start, drawing PPU pays first object in full f12f5d9064a95760ebc7c2e7cb1d16dff8b68cfe 1fa8c91a1fa572d0e4070a72329a4e737a05668a alewman 1794450554 -0800 checkout: moving from wip-mealybug-batch2 to master 1fa8c91a1fa572d0e4070a72329a4e737a05668a f12f5d9064a95760ebc7c2e7cb1d16dff8b68cfe alewman 1794450581 -0800 checkout: moving from master to wip-mealybug-batch2 f12f5d9064a95760ebc7c2e7cb1d16dff8b68cfe 22a5d82af05a3be836921f5b21210fcc1d66b354 alewman 1794450581 -0800 commit: WIP: full first-object cost on the DMG drawing PPU only (CGB loses 12 Gambatte pictures with it) 22a5d82af05a3be836921f5b21210fcc1d66b354 ff81edd9f2391e5bd987944222c528b97bc61da2 alewman 1794459176 -0800 commit: PPU: sprite row mask, early left objects, DMG colouring delays (gated) ff81edd9f2391e5bd987944222c528b97bc61da2 77e272483d41417d4cb12d63f7ecf2d2680835c7 alewman 1794463045 -0800 commit: Draw the DMG picture with a fetcher-and-FIFO machine after docboy: Mealybug 24 of 24 77e272483d41417d4cb12d63f7ecf2d2680835c7 1fa8c91a1fa572d0e4070a72329a4e737a05668a alewman 1794463052 -0800 checkout: moving from wip-mealybug-batch2 to master 1fa8c91a1fa572d0e4070a72329a4e737a05668a 77e272483d41417d4cb12d63f7ecf2d2680835c7 alewman 1794463052 -0800 merge wip-mealybug-batch2: Fast-forward 77e272483d41417d4cb12d63f7ecf2d2680835c7 daf5d09667d459fa070e872c8981771c49be0fae alewman 1794463602 -0800 commit: Draw the CGB's compatibility mode with the same machine: Mealybug CGB D 20 of 20 daf5d09667d459fa070e872c8981771c49be0fae 275616c2ced1df002009237f92bebabc56ce4688 alewman 1794463613 -0800 commit: tests/compat_differs_cgb.txt: the first Color title sweep's differences (45 of 1,130, at 9d1e640) 275616c2ced1df002009237f92bebabc56ce4688 cd70313b658d4dcd356e1e304b97314533bc5ed7 alewman 1794467044 -0800 merge oam-dma-reads: Fast-forward cd70313b658d4dcd356e1e304b97314533bc5ed7 eec27da3abe46670ed7a163d3f53c18ba7566853 alewman 1794468175 -0800 commit: Draw CGB games with the machine too (renamed pixels.py): Gambatte CGB +43 eec27da3abe46670ed7a163d3f53c18ba7566853 1efabf09ee437719a9a1c59acbead4aa3bfe48e7 alewman 1794470230 -0800 commit: Remove the shadow PPU: pixels.py draws every picture, ppu.py only times 1efabf09ee437719a9a1c59acbead4aa3bfe48e7 d8fa6a24dc4597d0c92c7f3004856d9b174e1517 alewman 1794470505 -0800 commit: docs/validation.md: the Color sweep's differences on the new CGB drawing d8fa6a24dc4597d0c92c7f3004856d9b174e1517 4721c2d51393444ad2cb803514fcf8df1a6eb04e alewman 1794497876 -0800 commit (cherry-pick): Super Game Boy taps for snes-python's ICD2: LCD lines, frame start, P1 lines and writes 4721c2d51393444ad2cb803514fcf8df1a6eb04e 2d3e8e37d2661a03da593bd945115dcfb9bda7dc alewman 1794497877 -0800 commit (amend): Super Game Boy taps for snes-python's ICD2: LCD lines, frame start, P1 lines and writes 2d3e8e37d2661a03da593bd945115dcfb9bda7dc efdde44ee78ac6c1064dcedad272fe8637d17314 alewman 1794504110 -0800 commit: Double speed: line 0 shows mode 2 at once too; sweep looks past LCD-off blinks efdde44ee78ac6c1064dcedad272fe8637d17314 36e14e1096c5863e8827513af575cc6b5bac769b alewman 1794504788 -0800 commit: Color sweep triage: 13 of 45 no longer differ (validation.md, compat_differs_cgb.txt) 36e14e1096c5863e8827513af575cc6b5bac769b 36e14e1096c5863e8827513af575cc6b5bac769b alewman 1794516970 -0800 reset: moving to HEAD 36e14e1096c5863e8827513af575cc6b5bac769b 120a400ff632f2e41c70b7817c0aaa4b33157169 alewman 1794526480 -0800 commit: CGB revision rows: a cpu CGB C machine, and line 153's LY=LYC 4 dots later on D/E 120a400ff632f2e41c70b7817c0aaa4b33157169 313c78205a047f21d44f35e9160e103c706b76dd alewman 1794526480 -0800 commit: Docs for a public repository; No-Intro path from the environment 313c78205a047f21d44f35e9160e103c706b76dd a994be8e04491a0b8e9b7670b45839edb86452ca alewman 1794527350 -0800 commit: Lint clean: ruff format over the repo, long comments wrapped, rule exemptions explained a994be8e04491a0b8e9b7670b45839edb86452ca 47a97e60c2e0486796800600c212750ba577808a alewman 1794530724 -0800 commit: Copyleft clean-up: CGB OAM-DMA conflicts and the Gambatte reader no longer come from Gambatte 47a97e60c2e0486796800600c212750ba577808a 2b0b40ffb412fb27b2a37653b7770e88380c4153 alewman 1794591616 -0800 commit: Comments: cite Pan Docs, SameBoy and the hardware verdicts instead of Gambatte's source 2b0b40ffb412fb27b2a37653b7770e88380c4153 2b0b40ffb412fb27b2a37653b7770e88380c4153 alewman 1794606914 -0800 checkout: moving from master to sgb-hle 2b0b40ffb412fb27b2a37653b7770e88380c4153 e29576fdb8604236f01de6f549e741a2e12cd349 alewman 1794607613 -0800 commit: Add an HLE Super Game Boy (sgb.py) and scripts/sgb_picture.py e29576fdb8604236f01de6f549e741a2e12cd349 0a1ac397c45d6dc4d6aa6ebdf7fb70806645ea18 alewman 1794608166 -0800 commit: SGB: blank the last screen line, add tests and a SameBoy runner 0a1ac397c45d6dc4d6aa6ebdf7fb70806645ea18 a8bdf5ebe71a2c121280625130ad7f638dbaac19 alewman 1794608892 -0800 commit: SGB: comparison scripts, default-palette option, docs/sgb.md and results a8bdf5ebe71a2c121280625130ad7f638dbaac19 c5e9568fe6ffa2ac91f76e67d76f77bc2814a733 alewman 1794610866 -0800 commit: SGB: from skip-boot the ICD2 starts at $30, so a game's first packet arrives c5e9568fe6ffa2ac91f76e67d76f77bc2814a733 2b0b40ffb412fb27b2a37653b7770e88380c4153 alewman 1794612436 -0800 checkout: moving from sgb-hle to master 2b0b40ffb412fb27b2a37653b7770e88380c4153 c5e9568fe6ffa2ac91f76e67d76f77bc2814a733 alewman 1794612436 -0800 merge sgb-hle: Fast-forward c5e9568fe6ffa2ac91f76e67d76f77bc2814a733 17cb4063e41fe4bd82b18a75833bec952efa5ac1 alewman 1794624770 -0800 commit: SGB scripts: per-frame CGRAM/INIDISP log on the LLE run, HLE pictured while the LCD is off 17cb4063e41fe4bd82b18a75833bec952efa5ac1 8538ac2c32671d83aa4913efaf732aa77cb96bb6 alewman 1794624771 -0800 commit: SGB: the BIOS's border fade, measured on the low-level SGB 8538ac2c32671d83aa4913efaf732aa77cb96bb6 ac01aff0fad75f46076dcb1d85b164e9106917ca alewman 1794624771 -0800 commit: validation: SGB border fade, before/after against the real BIOS ac01aff0fad75f46076dcb1d85b164e9106917ca 030d3a7f1f3f06dc51b5a2a92ec26ef0e4ac70c5 alewman 1795111351 -0800 reset: moving to 030d3a7f1f3f06dc51b5a2a92ec26ef0e4ac70c5 030d3a7f1f3f06dc51b5a2a92ec26ef0e4ac70c5 9ee9e22ec37a0f077fc2cc632df83ffac6ea6d0e alewman 1795309573 -0800 merge 9ee9e22ec37a0f077fc2cc632df83ffac6ea6d0e: Fast-forward 9ee9e22ec37a0f077fc2cc632df83ffac6ea6d0e bdca752a5fc89ce0930cf9fb865038a2fea0ca69 alewman 1795454745 -0800 commit: docs: describe the frontend romsets and SameBoy's path without machine paths bdca752a5fc89ce0930cf9fb865038a2fea0ca69 0000000000000000000000000000000000000000 alewman 1795480759 -0800 Branch: renamed refs/heads/master to refs/heads/main 0000000000000000000000000000000000000000 bdca752a5fc89ce0930cf9fb865038a2fea0ca69 alewman 1795480759 -0800 Branch: renamed refs/heads/master to refs/heads/main bdca752a5fc89ce0930cf9fb865038a2fea0ca69 474b84cc1f38f7a7f13b6b2f9e4b13fc7e8bd696 alewman 1795565186 -0800 commit: No closed-box source fetched: GateBoy, giibiiadvance, mooneye-gb; Gambatte's emulator 474b84cc1f38f7a7f13b6b2f9e4b13fc7e8bd696 3d1d93efcd291c508fc72b5ad2cff54b663c356e alewman 1795686848 -0800 merge author-respect: Fast-forward 3d1d93efcd291c508fc72b5ad2cff54b663c356e ff3c643be19cd664b4397e78fb3a88e860f7baf9 alewman 1795688241 -0800 commit: Author respect: SonoSooS's Gameboy CPU internals set aside; STOP docstring re-cited