Continue development on RX port - work in progress.

This commit is contained in:
Richard Barry 2010-08-22 08:32:09 +00:00
parent 68201d2f99
commit 9391d8a186
15 changed files with 880 additions and 136 deletions

View file

@ -48,14 +48,14 @@ void main(void);
}
#endif
//#ifdef __cplusplus // Use SIM I/O
//extern "C" {
//#endif
//extern void _INIT_IOLIB(void);
//extern void _CLOSEALL(void);
//#ifdef __cplusplus
//}
//#endif
#ifdef __cplusplus // Use SIM I/O
extern "C" {
#endif
extern void _INIT_IOLIB(void);
extern void _CLOSEALL(void);
#ifdef __cplusplus
}
#endif
#define PSW_init 0x00010000
#define FPSW_init 0x00000100
@ -91,7 +91,7 @@ void PowerON_Reset_PC(void)
_INITSCT();
// _INIT_IOLIB(); // Use SIM I/O
_INIT_IOLIB(); // Use SIM I/O
// errno=0; // Remove the comment when you use errno
// srand((_UINT)1); // Remove the comment when you use rand()
@ -108,7 +108,7 @@ void PowerON_Reset_PC(void)
main();
// _CLOSEALL(); // Use SIM I/O
_CLOSEALL(); // Use SIM I/O
// _CALL_END(); // Remove the comment when you use global class object