ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/10/04:40:23

Message-Id: <199808100840.KAA07011@swiatowit.ii.uni.wroc.pl>
From: Jerzy Witkowski <Jerzy DOT Witkowski AT ii DOT uni DOT wroc DOT pl>
To: djgpp AT delorie DOT com
Subject: BCSerio20 - two questions for Bill Currie
Date: Fri, 7 Aug 1998 17:55:43 +1200

From `bcserio/readme' file:

	If you have any questions, email me at:
	Bill Currie <billc AT blackmagic DOT tait DOT co DOT nz>
	or (if the above bounces):
	djgpp AT delorie DOT com

I tried, it bounced, so here it is:

Hi,

I downloaded your `bcsio' package and it worked great (that is, as
long as I didn't try to recompile it myself - described problem
with gas?).  I have only two questions:

1. I looked at `serio.s' and I found something unconsistent there
- it may be a bug:

		.align	2
_sio_setlcr:	.globl	_sio_setlcr
		movl	4(%esp),%ecx
		movl	portMCR(%ecx),%edx 
                            ^------- should't it be LCR? -------
		movb	8(%esp),%al
		outb	%al,%dx
		ret

		.align	2
_sio_getlcr:	.globl	_sio_getlcr
		movl	4(%esp),%ecx
		movl	portLCR(%ecx),%edx
		xorl	%eax,%eax
		inb		%dx,%al
		ret

2. I tried to connect with old digital multimeter.  In its
instruction I found a small program in BASIC with the following
statement:

OPEN #1,"COM2,1200,n,7,2,RS,DS,TR,DS"
(ooops, sorry, I forgot the instruction, so it is written from
memory and surely contains mistakes - I'll check it if needed).

Could you explain (very generally) what these two letter words
mean and how could I obtain this functionality with `bcsio'
package?

TIA,

-- 
Jerzy Witkowski     <Jerzy DOT Witkowski AT ii DOT uni DOT wroc DOT pl>          o       o

University of Wroclaw, Institute of Computer Science         /| |   |/|
Przesmyckiego 20, PL-51151 Wroclaw                            |/|   | |
room: 11, phone: 0048 71 3247360                             /| |/^\| |
phone/fax office secretary: 0048 71 3251271                <__|


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019