示例#1
0
int main(){
  // Initializing the Safe Stack Pointer
  SSPL = 0x68;
  SSPH = 0x09;

  // Initialize memory
  mem_init();
  dom0_main();
  while(1);
  return 0;
}
示例#2
0
int main(){
  // Initializing the Safe Stack Pointer
  SSPL = 0x68;
  SSPH = 0x09;

  // The following is a temp addition and should be removed
  SET_DOM_LWBND(0,0x110);
  SET_DOM_UPBND(0,0x17a);
  SET_DOM_LWBND(1,0xf6);
  SET_DOM_UPBND(1,0x10e);

  sei();

  // Initialize memory
  mem_init();
  dom0_main();
  while(1);
  return 0;
}