So taking inspiration from here: https://www.mattgreer.dev/blog/mame-lua-for-better-retro-dev/
It will be cool to have this kind of debug.
TLDR:
- Create a memory address specific to write debug messages
- Call in the game
- From the lua script in MAME get that memory aaddress and print the value
As in this case we are talking about a script engine there is anything as default to do that, but it will simplify a lot the development.
So taking inspiration from here: https://www.mattgreer.dev/blog/mame-lua-for-better-retro-dev/
It will be cool to have this kind of debug.
TLDR:
As in this case we are talking about a script engine there is anything as default to do that, but it will simplify a lot the development.