1. get mame source codeWhat do you mean by that?
2. open the cv1k.cpp driver file and modify it to remove the 1 character before the ROM definition for SDOJ and for AK
3. compile mame
congratulations you now have a mame build that runs on those games.
If you're unfamiliar with a term, in software you can add "comments" to the source code, which is basically notes in plain text in the code so that a programmer can better understand what they're looking at. When the code is compiled it ignores the comments since they're not useful to anyone but humans reading the code.
"commenting out" is a common programmer term where you convert a section of code to a "comment" (usually by simply sticking a # character at the beginning of the line). it's an easy way to quickly enable and disable sections of code.