************************** *** ESTIENNE Sebastien *** *** 2004 *** ************************** **************************** *** function inicard *** **************************** inicard * Initialisation des timers* clr.l MC_tt1 ; raz compteur move.b #%00000110,MC_tt1_cr ; mode cr move.b #%00011001,MC_tt1_icr ; modeicr clr.l MC_tt2 ; raz compteur move.b #%00000110,MC_tt2_cr ; mode cr move.b #%00011001,MC_tt2_icr ; mode icr move.b #2,MC_GCR move.b #$50,MC_VBR move.l #IT_Game,$59*4 ; màj table IT move.l #IT_Cycle,$58*4 ; màj table IT * Initialisation des diodes * move.b #$21,crb ; mode auto, sortie avec IT clr.b srb ; raz état * Initialisation des clefs * move.b #$01,cra ; mode auto, entree avec IT clr.b sra ; raz etat * Initialisation des boutons * move.b #$40,vra ; enreg ds reg bn1 move.l #BN_Quit,$40*4 ; adr prog appele a l IT move.b #$41,vrb ; enreg ds reg bn2 move.l #BN_Break,$41*4 ; adr prog appele a l IT rts finicard