DSPRelated.com
Forums

multiple application on single boot prom

Started by kennedy10192002 November 1, 2002
i've made some progress since my previous entries.
using the visual dsp++ environment, i burned 3 executables on
21065L ezkit eprom. using the loader utility, i put one executable
in id#0, the second executable in id#1, and the third executable in
id#2.
in my original source file (065L_PROM.ASM), the instructions that
determines the id stored in R0 is the following:

R0=DM(SYSTAT);
R0XT R0 BY 8:3;

since i want the booting to be controlled by flag0, flag1, and flag2,
i converted the code to the following:

R0=ASTAT;
R0XT R0 BY 16:3;
R0=R0+1;
R7=6;
R0=CLIP R0 BY R7;

now when i boot from the eprom, the first executable (id#0)runs, but
i can't toggle to the 2nd and 3rd executable with the flag
buttons....any suggestions???