You should be able to fix DS compatibility by following this guide ("DSi / DS functionality is broken..."):
https://3ds.hacks.guide/troubleshooting#software-issues-on-devices-with-custom-firmware (
Available in Polish too)
Although it tells you to open System Settings to run a system update, you can instead power off your console and power it on while holding the buttons L, R, A, and DPad Up, which should take you directly to a system update menu. There's a chance that doing the system update will fix the system settings issue as well. However, if there are more serious problems with the system, there's also a tiny chance that the update will break more things in the OS, so make sure that all your important game saves are backed up using a homebrew save manager.
If the update didn't fix the issue or if trying to enter the update menu also results in a black screen, you should next try doing a CTRTransfer.
Here's the guide for that,
also available in Polish,