Dadebug assembler modules in rom
Colin (478) 2433 posts |
Does anyone have DADebug working with assembler modules in ROM? I have dadebug working with C modules in ROM and softloaded assembler modules but when I put the assembler module, which outputs to dadebug info ok when softloaded, in rom the rom fails to start. Can anyone confirm that I should be able to get dadebug output from assembler modules in rom. |
Colin (478) 2433 posts |
It turns out that DADebug doesn’t work for assembler modules because Debug_Open and Debug_Close in NdrDebug write a value to dadebug_writec which is in the code area as NdrDebug doesn’t have access to workspace. In case it helps anyone else I worked around it as follows: 1) Compile a rom without any debugging set with the DaDebug module loaded just after the kernel. |