To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 2207
2206  |  2208
Subject: 
Re: Low level programming of the RCX
Newsgroups: 
lugnet.robotics.rcx
Date: 
Fri, 12 Sep 2003 16:13:32 GMT
Viewed: 
3418 times
  
In lugnet.robotics.rcx, Kevin L. Clague wrote:
In lugnet.robotics.rcx, Benjamin Sigonneau wrote:
Hello everybody,

I try to program the RCX at low level. I want to be able to program
using the Hitachi h8/3292 directly. For example, I want to use the
free-running timer, define own interrupt handlers and so on. In fact, I
*really* need to control the timer (this is for educational purpose).

My tries so far leads to failures... I tried using Quite C and libRCX,
but I think I have to shortcut some ROM routines (particularly the
init_timer routine).

Can anyone give me a tip about controlling Hitachi free-running timer
directly ? Thanks.

[snip]

A good place to learn *everything* you want to know about this is brickOS.

[snip]

I'll second that.  The BrickOS source code provides a good example of using the
FRC as well as other low-level I/O.  Between that source and the H8 manuals, you
should be set.

If you have specific questions, there are quite a few here that should be able
to answer them.

Have fun,

Mark



Message is in Reply To:
  Re: Low level programming of the RCX
 
(...) Quite C is your best place to start with a language. C can give you direct access to the timer. The timer is considered an I/O device, but all I/O on the H8 is memory mapped. Having said that, if you know the address of the timer, you can (...) (21 years ago, 12-Sep-03, to lugnet.robotics.rcx)

7 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR