Hi everyone!
I have been lurking around in this project for a short while. I've been looking at it from an Apple Silicon angle. I've also looked at the work
@John Knipper has been doing on Macaros. Not a C/C++ expert by any means, but continuously learning.
I noticed during my early testing that, on darwin-aarch64, the display driver appears to load twice during boot. Not sure if anyone else has noticed the same thing? On Linux, this goes unnoticed because the X11 driver's disk startup returns when x11gfx.hidd is already loaded. The Cocoa driver on darwin has no such check and ends up with two CocoaGfx instances and two input poller tasks (haven't been able to check on Windows).
I'm proposing a small change in
rom/dos/cliinit.c
to prevent this, and I would love to open my first PR in the project for it.