+ /* memory mapping of interrupt vectors to static ram */
+
+ //mmap_init(MMAP_RAM);
+
+ /* uart initialization */
+
+#ifdef USE_FUNCTIONS
+ //uart0_init();
+#else
+ PINSEL0=0x05; // pin select -> tx, rx
+ UART0_FCR=0x07; // enable fifo
+ UART0_LCR=0x83; // set dlab + word length
+ UART0_DLL=0x10; // br: 9600 @ 10/4 mhz
+ UART0_DLM=0x00;
+ UART0_LCR=0x03; // unset dlab
+#endif
+
+ /* external memory init */
+
+ while(1) {
+ while(!(UART0_LSR&(1<<5)))
+ continue;
+ UART0_THR=0x23;
+ }
+
+ return 0;