- Prefixing the path with `CMAKE_SOURCE_DIR` will be wrong if including melonDS as a dependency
- Replace the path given to `add_custom_command` with a `CMAKE_CURRENT_LIST_DIR` prefix
* fix vcount writes hanging the sw renderer if the value written is the same as the previous value in the internal reg
* that variable isn't doing much anymore
it seems like gdb considers the PacketSize option as the max size of the
packet content exclusively, not the entire sent packet with $, # and
checksum. Reduce the reported size to avoid potentially writing out of
bounds for larger memory read requests.
sleep mode 2 ("power saving disabled", used by dswifi in infrastructure
mode) was treated like automatic mode: when the one-shot W_BeaconCount2
countdown armed at wifi init (0xFFFF TUs = ~67s) reached zero, IRQ13
powered the transceiver off. stations running with power saving disabled
never service IRQ13/IRQ15, so nothing ever turned it back on, silently
killing all wifi traffic ~67 seconds after init. real hardware does not
power down in this mode.
actions/upload-artifact@v7 now supports disabling zipping the uploaded
artifact, so let's use that to avoid double-zipping the macOS app
bundle, as well as the AppImage as those should already be compressed.
Although it did work at some point, I think that FreeBSD's locking
over NFS is a bit unreliable, so we end up with Qt's automoc/autorcc
just hanging indefinitely. (some sort of deadlock?)
Fix this by building in /tmp inside the VM, and then copying it back
to the NFS-synced workspace when we are done.
* CI : update actions/checkout to latest version
* CI: update actions/upload-artifact from v4 to v7
---------
Co-authored-by: Rayyan Ansari <[email protected]>
* refine cart interface implementation to match hardware, including timing fixes
* add second cart slot for DSi
* fully implement SCFG_MC
* move cart classes to subdirectory
fixes#2586fixes#380 (might need extensive testing)
fixes Surviving High School (DSiWare)
* Allow booting in DSi direct mode without BIOS/firmware/NAND dumps.
This is an initial patch which enables booting programs in DSi direct mode
without requiring BIOS/firmware/NAND dumps from increasingly expensive
consoles:
- The open DSi BIOS is derived from a modified build of FreeBIOS; minor patches
have been done (such as moving SWI 0x12 to 0x02), but no new SWI functions
have been implemented.
- The DSi firmware stub is generated in the same way as the NDS firmware stub;
this appears to be good enough for BlocksDS's dswifi to pick up the new AP
definitions.
- The DSi NAND is currently not stubbed at all; rather, the code has been
edited to allow bringup without a NAND image. This is sufficient for DSi
mode homebrew; programs running from the cartridge slot are likewise not
expected to require NAND access.
More work has to be done before it's useful for non-homebrew scenarios.
* Implement a less stub DSi::NeedsDirectBoot()
* Do not block direct boots if DSi NAND is missing but BIOS/firmware is present
* Correctly initialize extended header for DSi generated firmware
* Fix overriding firmware language in DSi mode, add experimental support for Chinese language option