HPMANLe 03/06/2016 à 20:21
The CARD command isn't register safe according to the documentation, so you probably need to save/restore thoses.
__asm__ ("movem.l %d0-%d7/%a0-%a6,-(%sp) \n \
jsr 0xc00468 \n \
movem.l (%sp)+, %d0-%d7/%a0-%a6 \n");
Also hi-score savings is typically a MVS prerogative, avoiding to spread scores across systems with a card.