Last commit made on 2023-12-13
Get this branch:
git clone -b mk-error

Branch merges

Branch information


Recent commits

f81d93d... by Damien Ciabrini

Detect errors when calling make recursively

When building tools, we loop and call make recursively and
fail to react to track errors returned from those calls.
To fix that, force the shell targets to exit as soon as
they detect a submake failure.

6f4bae1... by Damien Ciabrini

Fix deps in README-linux

Ref #101

ab961dd... by Damien Ciabrini

Reimplementation of nullsound sound driver

Breaking change.

nullsound is now a z80 library that can be linked by users. The
sound commands are now implemented by the user, which just calls
a series of functions from the nullsound library.

nullsound internally is now much simpler. It provides simple actions
for trigerring immediate sounds; it manages a state tracker for every
part of the YM2610.

This rebuild prepares nullsound for managing interrupts and playback
of simple sound fx or music via VDM.

155bf1f... by Damien Ciabrini

Update toolchain dependencies in

ddce2f5... by Damien Ciabrini

Update doc sections and CI script for M1 SoC

39214f1... by Damien Ciabrini

Fix .data2 LMA section overlapping with linkscript

The current linkscript doesn't specify LMA for sections as
they are not considered when an ELF is processed by objcopy.
However this might confuse ld when the objects are compiled
by a more recent compiler than gcc 5.5.

Fix LMA assignment by making .data, .data2 and .text consecutive.

Ref dciabrin/homebrew-ngdevkit#4

859fc94... by Damien Ciabrini

nullsound: z80 fixes for mame / real hardware

* Init didn't configure z80 ports appropriately [1] so NMI were not
received by the sound driver, and no sound was emitted on Mame.
This is likely the same issue on real hardware.

* Sound commands 01/03 didn't mute the ADPCMa channel correcly, this
one is fixed. More improvement will follow in another commit to mute
all channels (SSG, ADPCMa/b, FM).

* The write to YM2610 was unecessarily waiting for YM2610 status.
This is now changed in favour of busy waiting on Z80 to allow the
YM2610 to settle between writes. This follows the information from
neogeodev wiki [1], but could not be tested on real hardware. This is
working on Mame and GnGeo.


Closes #64

c69ad54... by Damien Ciabrini

Update main README and its badges

2506b68... by Damien Ciabrini

msys2: Update build and docs to target ucrt64

Nightly CI deprecated mingw64 packages in favour of ucrt64
package. Update the source build steps and documentation to
drop mingw support and only provide msys2/ucrt64 support.

Ref #94

dd66c56... by Damien Ciabrini

msys2: move CI build to ucrt64 subsystem

Ref dciabrin/ngdevkit#92