To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / *3358 (-10)
  Re: Programming in Assembly
 
A direct link to the page with the documents is (URL) Jürgen Stuber <stuber@loria.fr> (URL) rot 13 "fr" "se" (21 years ago, 17-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
(...) You should look at Kekoa Proudfoots documentation of RCX internals ((URL) and his librcx library to understand the calling convention for the ROM. Then get yourself the H8300 tools (gcc et al) somewhere, this includes assembler and (...) (21 years ago, 16-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
(...) mentioned previously) that describes the on chip I/O features of the H8 if you plan on doing any work with the sensors. (...) to (...) that (...) To turn on motor C forward you would do this: mov #0x02,r0h mov r0h,@0x80:8 The second (...) (21 years ago, 17-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
Cool, thanks I was able to find the doc here: (URL) post about the motor seems helpful, so if I understand right the way to run motor A forward would be "mov 0x030003,r0h mov 0x80,r0h" and for the motor C the same except 0x06? How does the (...) (21 years ago, 17-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
Here's a more direct link for the H8 docs: (URL) down to the literature section and download the two PDFs. For assembly, I would recommend starting off with an installation of BrickOS and perusing the various source code files for the kernel. You'll (...) (21 years ago, 16-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
(...) find the old documentation files is a bit tricky, it took me some time to figure them out. Anyway, take a look at: (URL) look at the product list. Regards, Michael (21 years ago, 16-Jul-03, to lugnet.robotics.rcx.legos)
 
  Programming in Assembly
 
I was interested in writing some assembly code for the lego mindstorm, I don't plan on writing an incredibly complex program though. I am learning asm for the z80 chip so I have a little experience. I only want a single threaded application with one (...) (21 years ago, 16-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Modifying the BrickOS source code
 
Thanks Joe, it makes sense now and I understand it is something that is difficutl to explain esp, through a message board. Thanks for helping me out... Mike (21 years ago, 15-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Modifying the BrickOS source code
 
Here is a visual representation: [ KERNEL ]mm_start[ HEAP ] The heap will contain ALL of the following: User Programs, User Allocated memory, Kernel allocated memory (not including static/global variables and constants). The only thing that is prior (...) (21 years ago, 15-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Modifying the BrickOS source code
 
(...) Thanks for the description Joe, but in the above paragraph you seem to contradict yourself, you say that mm_start is the end of kernel mode, but alos that user programs are located above mm_start I do not understand that part, did you mean (...) (21 years ago, 15-Jul-03, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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