#include "6502.h"
#include "6522.h"
#include "memory.h"

typedef struct _template {
#    include "public_template.h"
} t_template;

/*
 * Define module list in order of initialisation required.
 * We currently have no mechanism to work around the case where two modules
 * may be required for 'simultaneous' initialisation. This is exceptionally
 * rare as most modules are either entirely standalone, or only require
 * the memory module first.
 */
#define N_MODULES 2
t_template *module[N_MODULES] = {
    (t_template *)&i_memory,
    (t_template *)&i_6502
};

/*    (t_template *)&i_6522 */
