cafe-alpha
Established Member
Sorry for this simple question.
In assembly, just after BUP_Init is called, where (=which register ?) do address of tp is stored ?
#ifndef __GNUC__
#define BUP_Init ((void (*)(Uint32 *lib,Uint32 *work,BupConfig tp[3])) (BUP_LIB_ADDRESS))
#else
#define BUP_Init ((void (*)(volatile Uint32 *lib,Uint32 *work,BupConfig tp[3])) (BUP_LIB_ADDRESS))
#endif
edit : according to yabause sources, it is stored in R6.
In assembly, just after BUP_Init is called, where (=which register ?) do address of tp is stored ?
#ifndef __GNUC__
#define BUP_Init ((void (*)(Uint32 *lib,Uint32 *work,BupConfig tp[3])) (BUP_LIB_ADDRESS))
#else
#define BUP_Init ((void (*)(volatile Uint32 *lib,Uint32 *work,BupConfig tp[3])) (BUP_LIB_ADDRESS))
#endif
edit : according to yabause sources, it is stored in R6.
Last edited: