Skip to content
Branch: master
Commits on Nov 13, 2019
  1. Fix CRT beam dot position in debug mode. (#295)

    scarybeasts committed Nov 13, 2019
  2. Trigger dummy raster or not based on more testing. (#294)

    scarybeasts committed Nov 13, 2019
    Kieran's MODE 7/75 shows that interlace plus frame rupture is a more nuanced combination than we handled.
    These changes repair MODE 7/75 as well as pass other interlace timing tests.
Commits on Nov 8, 2019
  1. Fix SAA5050 to start new frame on VSYNC falling edge. (#293)

    scarybeasts committed Nov 8, 2019
    Also paint correctly in interlace modes when stuck in the odd or even frame.
  2. Wire up the SAA5050 to the 6845 correctly. (#292)

    scarybeasts committed Nov 8, 2019
    Improves some corner case MODE 7 craziness, but still work to do.
Commits on Oct 28, 2019
  1. Fix R6 handling again after more careful testing. (#290)

    scarybeasts committed Oct 28, 2019
    Looks like R6 can hit and disable display in the middle of a
    scanline after all, but the first scanline of a frame always
    displays in full.
Commits on Oct 27, 2019
  1. Improve accuracy of when key registers are checked. (#289)

    scarybeasts committed Oct 27, 2019
    - Enables removal of a couple of ugly special cases.
    - Emulates R0=0 a little better.
    - Matches real hardware for when R4/R9 and R5 are read, to the clock.
Commits on Oct 24, 2019
  1. Remove some unnecessary logging

    mattgodbolt committed Oct 24, 2019
Commits on Oct 21, 2019
  1. Add a simple printer to jsbeeb. (#287)

    scarybeasts committed Oct 21, 2019
    It opens a new window on Ctrl-B (the Beeb printer VDU).
    Printer characters write to a textarea in the new window.
  2. Fix exception if an early key up event is taken. (#286)

    scarybeasts committed Oct 21, 2019
    This exception occurs in an async callback context so it's harmless,
    but is annoying if you have the JS debugger open because it stops.
  3. Fix bugs causing the disc spinning noise to never stop. (#285)

    scarybeasts committed Oct 21, 2019
    - Hard reset would lose track of state.
    - The 1770 driver would often cause bad state upon an error.
  4. Implement latch for pending end of vertical adjust. (#284)

    scarybeasts committed Oct 21, 2019
    This is how the real model B behaves.
Commits on Oct 17, 2019
  1. Merge pull request #282 from kieranhj/pause-and-step

    mattgodbolt committed Oct 17, 2019
    Add pause and step feature.
  2. Add pause and step feature.

    kieranhj committed Oct 17, 2019
    Add pauseEmu state, similar to debugger but no UI.
    Add stepEmuWhenPaused state to continue and display a single frame of the emulator.
    Pause on CTRL-END. 'g' to go/continue (same as debugger), 'n' to step to next frame (similar to debugger next instruction).
  3. Automate @tom-seddon's NOP test

    mattgodbolt committed Oct 17, 2019
    Makes it part of the suite of tests. Very hacky and I really don't
    like the test framework here, but been meaning to do this for ages.
    Closes #68
Commits on Oct 14, 2019
  1. Initial hack to implement CRTC R0=1 megaquirk. (#281)

    scarybeasts committed Oct 14, 2019
    Latest Bitshifters prototypes render ok with this.
Commits on Oct 12, 2019
  1. Check R6 at scanline rollover. (#280)

    scarybeasts committed Oct 12, 2019
    Wave Runner still works fine.
    MODE1:?&FE00=6:?&FE01=0 gives a single, complete scanline at start of frame like real hardware.
Commits on Oct 11, 2019
  1. Use a 2d canvas in preference to WebGL CPU fallback. (#279)

    scarybeasts committed Oct 11, 2019
Commits on Oct 8, 2019
  1. Fix interlace timing and modeling. (#278)

    scarybeasts committed Oct 8, 2019
    - Odd and even interlace frames are now the same length.
    - The even frame dummy raster is a vertical adjust scanline.
Commits on Oct 7, 2019
Commits on Oct 5, 2019
  1. Fix various vertical adjust bugs and quirks. (#276)

    scarybeasts committed Oct 5, 2019
    - Advance row address while in vertical adjust.
    - Fix regression with missing first vertical adjust line.
Commits on Oct 4, 2019
  1. Count CRTC frames at end of vertical display. (#275)

    scarybeasts committed Oct 4, 2019
    Previously this was done at vsync and testing shows that was not
Commits on Oct 3, 2019
Commits on Oct 2, 2019
  1. Fix vsync check and timing. (#272)

    scarybeasts committed Oct 2, 2019
    On a real machine, vsync will fire at any horizontal character position,
    providing it's the first time in the character row and providing it is
    not already in progress.
    This also fixes vsync timing, which was triggering one 6845 clock too
    (Passes: Twisted Brain, Wave Runner, Firetrack, Uridium)
Commits on Sep 30, 2019
  1. Always increment MA, even if outside display border. (#271)

    scarybeasts committed Sep 30, 2019
    Confirmed on a real model B.
Commits on Sep 29, 2019
  1. Correctly vsync if R7=0. (#270)

    scarybeasts committed Sep 29, 2019
Commits on Sep 28, 2019
  1. Display scanlines 16-23 correctly. (#269)

    scarybeasts committed Sep 28, 2019
    They should be a mirror of 0-7.
    MODE 0:?&FE00=9:?&FE01=31
Commits on Sep 27, 2019
  1. Add comment regarding ACIA reset beahvior discrepancy.

    scarybeasts committed Sep 27, 2019
Commits on Sep 26, 2019
  1. Fix emulation of DCD flag in 6850 status register. (#267)

    scarybeasts committed Sep 26, 2019
  2. End the tape carrier tone if the motor is switched off. (#266)

    scarybeasts committed Sep 26, 2019
  3. Fix some DCD flag management bugs. (#265)

    scarybeasts committed Sep 26, 2019
    Fixes #262
    - Don't raise DCD on reset, it must follow line level.
    - Track DCD line level as cassette vs. RS423 is toggled.
  4. Emulate CTS a little better. (#264)

    scarybeasts committed Sep 26, 2019
    This includes inhibiting TDRE correctly.
    Previously, ?&FE08 on a fresh boot gave 10, which is not supposed
    to be a possible combination.
    We now give 8, matching a real beeb.
Commits on Sep 23, 2019
  1. Fix regression with cursor showing in Arcadians. (#261)

    scarybeasts committed Sep 23, 2019
Commits on Sep 22, 2019
  1. Make cursor blink faster, as per real beeb.

    scarybeasts committed Sep 22, 2019
You can’t perform that action at this time.