eris2010

Documentation: http://frombelow.net/projects/eris2010/
Clone: git clone https://git.frombelow.net/eris2010.git
Log | Files | Refs | README | LICENSE

serial_line_echo.asm (395B)


      1 ;;; Copyright 2021 Gerd Beuster (gerd@frombelow.net). This is free
      2 ;;; software under the GNU GPL v3 license or any later version. See
      3 ;;; COPYING in the root directory for details.
      4 
      5 	.include "os.inc"
      6 
      7 init:
      8 	cld
      9         #io.SETUP
     10 loop:   
     11         #io.PRINTSNL "Serial line echo"
     12         #io.INPUTS $1000, #$10
     13         jsr io.putnl
     14         #io.PRINT $1000
     15         jsr io.putnl
     16         jmp loop