diff options
Diffstat (limited to 'nuttx/configs/xtrs/src')
-rw-r--r-- | nuttx/configs/xtrs/src/xtr_lowputc.c | 8 | ||||
-rw-r--r-- | nuttx/configs/xtrs/src/xtr_serial.c | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/nuttx/configs/xtrs/src/xtr_lowputc.c b/nuttx/configs/xtrs/src/xtr_lowputc.c index be1628444..c85f540d2 100644 --- a/nuttx/configs/xtrs/src/xtr_lowputc.c +++ b/nuttx/configs/xtrs/src/xtr_lowputc.c @@ -77,10 +77,10 @@ ********************************************************************************/ /******************************************************************************** - * Name: up_lowputc + * Name: z80_lowputc ********************************************************************************/ -void up_lowputc(char ch) __naked +void z80_lowputc(char ch) __naked { _asm ld hl, #2 @@ -92,10 +92,10 @@ void up_lowputc(char ch) __naked } /******************************************************************************** - * Name: up_lowgetc + * Name: z80_lowgetc ********************************************************************************/ -char up_lowgetc(void) __naked +char z80_lowgetc(void) __naked { _asm call _TRS80_M3_KBDSCN ;0x002b diff --git a/nuttx/configs/xtrs/src/xtr_serial.c b/nuttx/configs/xtrs/src/xtr_serial.c index dbe69df67..b6a90baf1 100644 --- a/nuttx/configs/xtrs/src/xtr_serial.c +++ b/nuttx/configs/xtrs/src/xtr_serial.c @@ -277,7 +277,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg) static int up_receive(struct uart_dev_s *dev, uint32 *status) { -// uint8 ch = up_lowgetc(); +// uint8 ch = z80_lowputc(); *status = 0; return ch; @@ -318,7 +318,7 @@ static boolean up_rxavailable(struct uart_dev_s *dev) static void up_send(struct uart_dev_s *dev, int ch) { - up_lowputc(ch); + z80_lowputc(ch); } /**************************************************************************** @@ -409,6 +409,6 @@ void up_serialinit(void) int up_putc(int ch) { - up_lowputc(ch); + z80_lowputc(ch); return 0; } |