RetroForum Welcome, Guest. Please login or register.
March 11, 2010, 11:45:32 AM
Home Help Search Calendar Login Register

RetroForth Discussion  |  Main  |  Discussion  |  Topic: Just a little question about rs232 « previous next »
Pages: 1 Go Down Print
Author Topic: Just a little question about rs232  (Read 1357 times)
Mataatti
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Just a little question about rs232
« on: July 28, 2006, 03:04:39 PM »

Hi!

I don't know if this is a right place to ask this but here it goes...  I am building a small controller based on atmel's avr microcontroller. All I need to know is how I can open and use com-port. The program should only read single key (using the "key" command) and send that key from com1.

I think it has something to do with store -command, but how can I find out com1's hardware address?
Logged
Helmar
Library Contributor
Full Member
****

Karma: +1/-0
Offline Offline

Posts: 129

TUCK what??? SWAP OVER!!!


View Profile
Re: Just a little question about rs232
« Reply #1 on: July 28, 2006, 07:11:08 PM »

<joke>Use Nmap if you want to find the right port.</joke>

RF is a x86 based FORTH. But well, you could find people here that know about Amtel chips. I can not help Sad How about reading specs for your system?

-Helmar
Logged
Charles Childers
Administrator
Sr. Member
*****

Karma: +2/-0
Offline Offline

Posts: 745


View Profile WWW
Re: Just a little question about rs232
« Reply #2 on: July 29, 2006, 05:25:13 PM »

I have no experience with the AVR microcontrollers, but on x86 the com ports are controlled by ports, not direct memory addressing. My x86 code for dealing with them is at http://retroforth.org/repos/902n/drivers/serial.forth

Logged
Pages: 1 Go Up Print 
RetroForth Discussion  |  Main  |  Discussion  |  Topic: Just a little question about rs232 « previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Valid XHTML 1.0! Valid CSS!