OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [monitor/] [monitor/] [common/] [boot.c] - Diff between revs 59 and 88

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 59 Rev 88
Line 39... Line 39...
   *   $18  total number of sectors of disk or partition to boot
   *   $18  total number of sectors of disk or partition to boot
   */
   */
  cpuSetReg(16, dskno);
  cpuSetReg(16, dskno);
  cpuSetReg(17, 0);
  cpuSetReg(17, 0);
  cpuSetReg(18, capacity);
  cpuSetReg(18, capacity);
  cpuSetReg(29, TOS_BOOT);
 
  cpuSetPC(VIRT_BOOT);
  cpuSetPC(VIRT_BOOT);
  cpuRun();
  cpuRun();
}
}
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.