Still a work in progress. Need to add flop support.

This commit is contained in:
Richard Barry 2010-01-15 17:20:09 +00:00
parent 188a2c0cc1
commit 559e2a850f
10 changed files with 505 additions and 97 deletions

View file

@ -16,7 +16,14 @@
#pragma section IntPRG
// 4 Illegal code
void INT_Illegal_code(void){for( ;; ); /* sleep(); */}
#pragma interrupt (INT_Illegal_code)
void INT_Illegal_code(void)
{
volatile int i = 0;
while( i == 0 );
}
// 5 Reserved
// 6 Illegal slot