mdcomp
mdcomp copied to clipboard
Add KosinskiPlusM asm code
Can you upload ASM-decoder for KosinskiPlusM?
It is pretty much identical to KosM.asm except for:
- these lines:
should be changed tomove.l (Kos_decomp_source).w,d1 sub.l d1,d0 andi.l #$F,d0 add.l d0,d1 ; round to the nearest $10 boundary move.l d1,(Kos_module_queue).w ; and set new sourcemove.l (Kos_decomp_source).w,(Kos_module_queue).w ; set new source - this line:
should be changed toinclude "_inc/Kosinski_internal.asm"include "_inc/KosinskiPlus_internal.asm" - This line
should be changed tomovem.w (Kos_decomp_stored_Wregisters).w,d0-d6movem.w (Kos_decomp_stored_Wregisters).w,d0/d2/d4-d7 - This line
should be changed tomovem.w d0-d6,(Kos_decomp_stored_Wregisters).wmovem.w d0/d2/d4-d7,(Kos_decomp_stored_Wregisters).w - You should create a file
"_inc/KosM_internal.asm"modeled after"_inc/Kosinski_internal.asm"and use it on "KosinskiPlus.asm"
Optionally, you can also change all function names in the modified file to use "KosPlus" instead of "Kos", but this is only an issue if you want to use KosPlusM and KosM in the same hack.
It's working! Thank you very much
Could you add asm files to the repository so that others can add it to their projects?