These examples use MultiPatch on macOS. It’s very similar to do this on windows, w Lunar IPS.
Add original rom
Add improved rom
Choose name for patch
Change file type to ips
How it looks in MultiPatch when it's ready to create the patch file.