X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/8a7deceacd30529e5c32082b2c719eb055841d0d..30d1329e8e5c029a87f657baace698d1d7031f9e:/z180/modebaud.inc diff --git a/z180/modebaud.inc b/z180/modebaud.inc new file mode 100644 index 0000000..2e60e44 --- /dev/null +++ b/z180/modebaud.inc @@ -0,0 +1,31 @@ + ; equates for mode byte bit fields + +mb$input equ 00000001b ; device may do input +mb$output equ 00000010b ; device may do output +mb$in$out equ mb$input+mb$output + +mb$soft$baud equ 00000100b ; software selectable + ; baud rates + +mb$serial equ 00001000b ; device may use protocol +mb$xon$xoff equ 00010000b ; XON/XOFF protocol + ; enabled + +baud$none equ 0 ; no baud rate associated + ; with this device +baud$50 equ 1 ; 50 baud +baud$75 equ 2 ; 75 baud +baud$110 equ 3 ; 110 baud +baud$134 equ 4 ; 134.5 baud +baud$150 equ 5 ; 150 baud +baud$300 equ 6 ; 300 baud +baud$600 equ 7 ; 600 baud +baud$1200 equ 8 ; 1200 baud +baud$1800 equ 9 ; 1800 baud +baud$2400 equ 10 ; 2400 baud +baud$3600 equ 11 ; 3600 baud +baud$4800 equ 12 ; 4800 baud +baud$7200 equ 13 ; 7200 baud +baud$9600 equ 14 ; 9600 baud +baud$19200 equ 15 ; 19.2k baud +