Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #283

Merged
merged 115 commits into from
Jun 10, 2024
Merged

Develop #283

merged 115 commits into from
Jun 10, 2024

Commits on Mar 9, 2024

  1. Configuration menu
    Copy the full SHA
    c5fb3aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    593aa94 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    32ddd8e View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. HiROM | FastROM support

    DigiDwrf committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    0e971e6 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Merge pull request #273 from DigiDwrf/develop

    HiROM | FastROM support
    alekmaul committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    79da463 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0517562 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2897097 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f2abdee View commit details
    Browse the repository at this point in the history
  5. chore(*): change tcc version

    alekmaul committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    e5d50c2 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. Configuration menu
    Copy the full SHA
    564dab0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    772c67d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c151033 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    82ef660 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2024

  1. Configuration menu
    Copy the full SHA
    d5ad8e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c78c29e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fd2645a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d3f4d67 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    91bc91e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a6c9e8d View commit details
    Browse the repository at this point in the history
  7. chore(*): change version

    alekmaul committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    340b5a2 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2024

  1. chore(*): fix some typo

    alekmaul committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    63447fe View commit details
    Browse the repository at this point in the history
  2. feat(*): initial commit

    alekmaul committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    de174d6 View commit details
    Browse the repository at this point in the history
  3. feat(*): initial commit

    alekmaul committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    636e860 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cb7061a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7803c65 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c296d69 View commit details
    Browse the repository at this point in the history
  7. chore(*): fix typo

    alekmaul committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    3d94663 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    540b539 View commit details
    Browse the repository at this point in the history
  9. chore*(): fix typo

    alekmaul committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    20e9f80 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    adc3168 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. Configuration menu
    Copy the full SHA
    2fe3893 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

  1. Configuration menu
    Copy the full SHA
    481eb70 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Configuration menu
    Copy the full SHA
    58e1146 View commit details
    Browse the repository at this point in the history
  2. Mouse support

    DigiDwrf committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    7385179 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'alekmaul:develop' into develop

    and some other fixes from previous commit
    DigiDwrf committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    9f06c3e View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2024

  1. Merge pull request #274 from DigiDwrf/develop

    Mouse support
    alekmaul committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    bc5c31a View commit details
    Browse the repository at this point in the history
  2. feat(*): add mouse example

    alekmaul committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    3f7a4d7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    024b8e4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c9adc1a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1caf3fd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    89204e9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d7f26e5 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Configuration menu
    Copy the full SHA
    983292c View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Super Scope support added, some other changes

    What has been done:
    
    - Super Scope code is usable and available now, comes with example mini game.
    - Some minor changes to mouse support, now we can also use detectMouse() function to set snes_mouse automatically. Example was updated to display this function. MouseSpeedChange funciton was renamed to mouseSpeedChange(). My bad ^^
    - Pad folder name was changed to "input"
    - input folder inside old pad folder was renamed to "controller", as well as other assets
    - pad.h was renamed to input.h, and every reference to that file inside other files
    - input name folder was changed to "controller", as well as assets inside
    - Some minor tabs
    
    P.D. Sorry for the big change! I think that input is a more suitable name, now that we have more controlling devices in addition to pad controllers.
    
    ***SUPER SCOPE USAGE***
    
    first, we might use detectSuperScope() on boot to detect Super Scope presence. Other way is to force detection by populating snes_sscope to 1 manually, but we dont need to do that if we call this function. We need to call this function everytime Scope gets disconnected from the system, a usefull way to do it is inside this conditional:
    
    ```
    if (snes_sscope == false)
    {
      detectSuperScope();
      // some other code you might need in your program, like displaying warning messages and stopping your game.
    }
    
    ```
    
    Here is a brief explanation of every variable we might be using:
    
    ```
    extern u16 scope_holddelay; /*! \brief Hold delay. */
    extern u16 scope_repdelay;  /*! \brief Repeat rate. */
    extern u16 scope_shothraw;  /*! \brief Horizontal shot position, not adjusted. */
    extern u16 scope_shotvraw;  /*! \brief Vertical shot position, not adjusted. */
    extern u16 scope_shoth;     /*! \brief Horizontal shot position, adjusted for aim. */
    extern u16 scope_shotv;     /*! \brief Vertical shot position, adjusted for aim. */
    extern u16 scope_centerh;   /*! \brief 0x0000 is the center of the screen, positive values go to bottom right. */
    extern u16 scope_centerv;   /*! \brief 0x0000 is the center of the screen, positive values go to bottom right. */
    extern u16 scope_down;      /*! \brief flags that are currently true.*/
    extern u16 scope_now;       /*! \brief flags that have become true this frame.*/
    extern u16 scope_held;      /*! \brief flagsthat have been true for a certain length of time.*/
    extern u16 scope_last;      /*! \brief flags that were true on the previous frame.*/
    extern u16 scope_sinceshot; /*! \brief Number of frames elapsed since last shot was fired.*/
    ```
    
    for scope_down, scope_now, scope_held, scope_last, we need to mask our bits with this usefull bits:
    
    ```
    typedef enum SUPERSCOPE_BITS
    {
        SSC_FIRE = BIT(15),     //!< superscope FIRE button.
        SSC_CURSOR = BIT(14),   //!< superscope CURSOR button.
        SSC_PAUSE = BIT(12),    //!< superscope PAUSE button.
        SSC_TURBO = BIT(13),    //!< superscope TURBO flag.
        SSC_OFFSCREEN = BIT(9), //!< superscope OFFSCREEN flag.
        SSC_NOISE = BIT(8),     //!< superscope NOISE flag.
    } SUPERSCOPE_BITS;
    ```
    
    And that's most of it. You can look inside the example file to have an idea of how you can program Super Scope games.
    
    ***MOUSE USAGE UPDATE***
    
    Same as Super Scope, mouse uses detectMouse() to populate snes_mouse to 1, so It can be called at boot and like this:
    
    ```
    if (snes_mouse == false)
    {
      detectMouse();
      // some other code you might need in your program, like displaying warning messages and stopping your game.
    }
    
    ```
    
    Co-Authored-By: alekmaul <alekmaul@portabledev.com>
    DigiDwrf and alekmaul committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    242c543 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #276 from DigiDwrf/develop

    Super Scope support added, some other changes
    alekmaul committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    7123743 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7c00264 View commit details
    Browse the repository at this point in the history
  4. chore(*): typo fixes

    alekmaul committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    00279bb View commit details
    Browse the repository at this point in the history
  5. chore(*): typo fixes

    alekmaul committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    4199b78 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. Super Scope Example update

    Calibration now works as it should. scope_held functions are best explained too. Offscreen sprites now are hidden. Removed some unnecessary messages because we don't know if the fist aim adjust shot is in the middle of screen, so it's just a test screen.
    
    Noise and Offscreen bits are not used in this example, but they are present on lib.
    DigiDwrf committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    47e194d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #277 from DigiDwrf/develop

    Super Scope Example update
    alekmaul committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    f39d91d View commit details
    Browse the repository at this point in the history
  3. SMCONV fix

    soundbank.asm now fill banks with HiROM mapping, following -i usage. This is necessary or sound will be broken.
    DigiDwrf committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    bce77f3 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #278 from DigiDwrf/develop

    SMCONV fix
    alekmaul committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    5f7d0e2 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2024

  1. Music inside HiROM mapped rom example

    soundbank is smaller than $10000 in size, so it fits in one single bank.
    
    Musical theme rearranged and some fun animations have been added ;)
    DigiDwrf committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    ffc3ae0 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2024

  1. Bug fixes for mouse input and example

    I removed a branch present in bios, so both ports are read in one single vblank interrupt.
    detectMouse() is called later, after nmi, so mouse is detected. snes_mouse is set to 0 when both mouses are not found, not the second one, this is to prevent potential issues.
    DigiDwrf committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    e07033f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    69a5fa1 View commit details
    Browse the repository at this point in the history
  3. chore(*): fix typo

    alekmaul committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    e18743a View commit details
    Browse the repository at this point in the history
  4. chore(*): change version

    alekmaul committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    9162f9a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b1a01d2 View commit details
    Browse the repository at this point in the history
  6. chore(*): fix ypo

    alekmaul committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    bd4d3c7 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #280 from DigiDwrf/develop

    Music inside HiROM mapped rom example and mouse support bug fixes
    alekmaul committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    4e48784 View commit details
    Browse the repository at this point in the history
  8. fix(*): fix BG3 priority

    alekmaul committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    41b1f22 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a096c9d View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2024

  1. Configuration menu
    Copy the full SHA
    6f9fb9c View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. feat: initial commit

    alekmaul committed May 1, 2024
    Configuration menu
    Copy the full SHA
    03521c8 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Configuration menu
    Copy the full SHA
    06dd119 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0de8a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    555a85b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0b6ce0d View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Read pads, mice and scope at the end of the VBlank ISR

    to free VBlank time that can be used by the `nmi_handler`
    undisbeliever committed May 13, 2024
    Configuration menu
    Copy the full SHA
    337533f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a26e62 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    95bc7ac View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Split input.asm into input.asm and vblank.asm

    The functions that are called by the VBlank ISR have been moved to
    vblank.asm
    undisbeliever committed May 14, 2024
    Configuration menu
    Copy the full SHA
    499f3fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5743982 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0147d3f View commit details
    Browse the repository at this point in the history
  4. Remove scan pads/MPlay5/Scope/Mouse from input.h

    These functions are called by the VBlank ISR and should not be called
    multiple times per frame.
    undisbeliever committed May 14, 2024
    Configuration menu
    Copy the full SHA
    c43a70e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1084656 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. Fix scanMplay5

    The getpad1data loop did a 16-bit read of REG_JOYA, which also reads
    from REG_JOYB, preventing the getpad23data loop from reading joypad
    values.
    
    scanMplay5 now tests if a standard controller is connected to the
    multitap.
    
    This commit also optimises the multitap reading code by:
     * Using Joypad Auto-Read to read the first three controllers.
     * Using ScanPads to read the first two controllers.
     * Using an 8 bit A when reading the last two controllers.
     * Using the carry output of `rol` to determine when all of the
       controller bits have been read.
    
    As a consequence of the Joypad Auto-Read optimisation, the WRIO register
    must not be written to when `snes_mplay5` is set.  I do not think this
    will be an issue, since `REG_WRIO` (nor 4201) is not defined in the
    header files nor the snes-examples directory.
    
    Tested by running the multiplay5 example in Mesen
    undisbeliever committed May 16, 2024
    Configuration menu
    Copy the full SHA
    3a3db70 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    080ae02 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3be8f8b View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Only test if Joypad Auto-Read has finished once in the VBlank ISR

    This is safe as the input reading subroutines/macros are private to the
    vblank_isr section
    undisbeliever committed May 17, 2024
    Configuration menu
    Copy the full SHA
    1913579 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    431c8c4 View commit details
    Browse the repository at this point in the history
  3. Add lag detection to the VBlank ISR

    During a lag frame:
     * oamMemory will not be transfered to the PPU OAM
     * the pads/mouse/scope will not be read
    
    nmi_handler will be called on every VBlank interrupt.
    
    The vblank_flag variable can be used to detect lag-frames in the
    nmi_handler.
    undisbeliever committed May 17, 2024
    Configuration menu
    Copy the full SHA
    8ca97da View commit details
    Browse the repository at this point in the history
  4. Add lag_frame_counter

    undisbeliever committed May 17, 2024
    Configuration menu
    Copy the full SHA
    38fc171 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6933902 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2024

  1. Fix crash when using HIROM mapping

    Crash was caused by a missing `.BASE 0` in the `.vblank_bss` ramsection.
    
    This commit also fixes 2 more sections with the wrong .BASE.
    undisbeliever committed May 18, 2024
    Configuration menu
    Copy the full SHA
    4de1501 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    adc0cd2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f9ca99f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6ee9075 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eb80472 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    33ac17f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7eb88c2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3fd2131 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Configuration menu
    Copy the full SHA
    8787ec2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d450096 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. Fix lag_frame_counter incrementing in fade/mosaic effects

    Modifies WaitForVBlank() so it can be called with any DB register value.
    
    Also documents that WaitForVBlank() will preserve A/X/Y registers.
    undisbeliever committed May 24, 2024
    Configuration menu
    Copy the full SHA
    49ab255 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d28e303 View commit details
    Browse the repository at this point in the history
  3. Fix _MouseRead speed_change call

    The speed_change jsr in `_MouseRead` can crash if `mouseSpeedChange` is
    in a different bank to `_MouseRead`.
    
    speed_change has been changed to a child label to illuminate that
    `_MouseRead` is calling a subroutine outside of vblank.asm.
    undisbeliever committed May 24, 2024
    Configuration menu
    Copy the full SHA
    71248fb View commit details
    Browse the repository at this point in the history
  4. Remove mouse_read comments from input.asm

    mouse_read has been moved to vblank.asm and the same comments already
    exist in vblank.asm.
    undisbeliever committed May 24, 2024
    Configuration menu
    Copy the full SHA
    5bfe11d View commit details
    Browse the repository at this point in the history
  5. Use jsr/rts to call _MouseRead

    Saves 2 cycles and matches the _GetScope call in the VBlank ISR.
    undisbeliever committed May 24, 2024
    Configuration menu
    Copy the full SHA
    d84abae View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c52383e View commit details
    Browse the repository at this point in the history

Commits on May 25, 2024

  1. Fix potential nmiSet() crash

    Writes to nmi_handler are not atomic and the VBlank ISR can crash if a
    VBlank Interrupt occurs in the middle of the nmi_handler write.
    
    To fix this crash, nmiSet() is now a function that will temporarily
    disable interrupts so nmi_handler can be safely written to.
    
    This commit also modifies consoleInit() to use nmiSet().
    undisbeliever committed May 25, 2024
    Configuration menu
    Copy the full SHA
    2c5df2b View commit details
    Browse the repository at this point in the history
  2. Update snes-examples custom nmi_handlers

     * Test for lag-frames
     * Remove oamMemory DMA transfer (now handled by the VBlank ISR)
     * Remove snes_vblank_count++ (now handled by the VBlank ISR)
    undisbeliever committed May 25, 2024
    Configuration menu
    Copy the full SHA
    4cb07a0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0dcb7ee View commit details
    Browse the repository at this point in the history

Commits on May 26, 2024

  1. Fix padsDown(), padsUp() and padsClear()

    These functions did not multiply the argument by 2 when converting the
    `value` argument (0-4) to an X index register value (0, 2, 4, 6, 8).
    undisbeliever committed May 26, 2024
    Configuration menu
    Copy the full SHA
    ff864f0 View commit details
    Browse the repository at this point in the history
  2. Rename pad_keysrepeat to pad_keysdown and change padsDown() to a macro

    I have tested and confirmed `padsDown(i) == pad_keysrepeat[i]` before
    making this change.
    undisbeliever committed May 26, 2024
    Configuration menu
    Copy the full SHA
    55a0924 View commit details
    Browse the repository at this point in the history
  3. Fix and optimise padsClear()

    padsClear() is not clearing the high byte of the pad variables.
    
    Using long addressing is faster then changing DB register.
    
    Also:
     * Added bounds testing to padsClear()
     * padsClear() can be called with an 8 bit Index
    undisbeliever committed May 26, 2024
    Configuration menu
    Copy the full SHA
    4cd71fa View commit details
    Browse the repository at this point in the history
  4. Optimise padsUp()

    undisbeliever committed May 26, 2024
    Configuration menu
    Copy the full SHA
    43c717c View commit details
    Browse the repository at this point in the history
  5. Improve input.h documentation

     * Document pad arrays.
     * pads*() value parameter is an index, not an address.
     * Clarify pads*() parameter range
    undisbeliever committed May 26, 2024
    Configuration menu
    Copy the full SHA
    74d583a View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Rename tcc__registers_irq to tcc__registers_nmi_isr

    It is only used in the NMI ISR and should not be used for IRQ interrupts.
    undisbeliever committed May 27, 2024
    Configuration menu
    Copy the full SHA
    537aa5a View commit details
    Browse the repository at this point in the history
  2. Force tcc imaginary registers to address 0

    Fixes potential memory corruption in NMI ISR.
    undisbeliever committed May 27, 2024
    Configuration menu
    Copy the full SHA
    4b3ec6d View commit details
    Browse the repository at this point in the history
  3. Optimise VBlank ISR by page aligning tcc__registers_nmi_isr

    The VBlank ISR changes the Direct Page Register to
    `tcc__registers_nmi_isr`.  If `tcc__registers_nmi_isr` is not page
    aligned, a 1 cycle penalty will be applied to all direct-page
    instructions in the VBlank ISR (including the `nmi_handler`).
    undisbeliever committed May 27, 2024
    Configuration menu
    Copy the full SHA
    f77e5c1 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Remove bg_mutex from Mode1ContinuosScroll example

    `vblank_flag` can be used to determine if it is OK to read from `bgInfo`
    in `myconsoleVblank()`.
    undisbeliever committed May 28, 2024
    Configuration menu
    Copy the full SHA
    f136045 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1333a14 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Merge pull request #282 from undisbeliever/fix-inputs-new-nmi-isr

    Input fixes and VBlank ISR rewrite
    alekmaul committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    e5f7e98 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f49bae6 View commit details
    Browse the repository at this point in the history