 | | Re: H8/300 Assembler/C interface
|
|
(...) Yeah, you are right. My bad. -Kekoa (25 years ago, 19-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | RE: H8/300 Assembler/C interface
|
|
(...) Not necessarily, that's why I'm asking. If the caller cleans up the stack, then the function just does an RTS and the caller adjusts the stack because it knows how much stuff was pushed on. For programs with lots of calls, this generates extra (...) (25 years ago, 19-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | Re: H8/300 Assembler/C interface
|
|
(...) Also: - caller cleans up parameters on stack - stack pointer is r7 The caller must clean up stack parameters b/c the return address is pushed after parameters are. -Kekoa (25 years ago, 18-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | Re: H8/300 Assembler/C interface
|
|
(...) Somebody correct me if I'm wrong. I just compiled some programs to check this. I believe that maybe the *ROM* calling convection is as Ralph described, but almost definitely the GCC calling convention is: - r0, r1, r2 hold parameters from left (...) (25 years ago, 18-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | RE: RCX+PC=Rubik's Cube Solver
|
|
(...) DUDE! These are unbelievable......I would never even consider doing something like this due to other time constraints like partners and kids. These are amazing - a must see and candidate for Site of the Week, no? Cheers, Ralph Hempel (25 years ago, 18-Apr-01, to lugnet.robotics, lugnet.robotics.rcx)
|
| |
 | | RCX+PC=Rubik's Cube Solver
|
|
All -- There's recently been some discussion in the Mindstorms Forums about the feasibility of producing an RCX-based Rubik's Cube solver. I am happy to report that I have finished a functional "late beta" version. You can see it at (URL) are (...) (25 years ago, 18-Apr-01, to lugnet.robotics, lugnet.robotics.rcx) !!
|
| |
 | | H8/300 Assembler/C interface
|
|
Does anyone know offhand what the calling convention between C/C++ and H8/300 assembler is using the GNU tools? The assumptions I'm making are as follows: R7 is the stack pointer R6 is the first (leftmost) parameter passed and the result R0-5 are (...) (25 years ago, 18-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | Re: Dropping your RCX on the floor...
|
|
"Tobias Möller" <tobias.moller@telia.com> wrote in message news:39DDEC5A.24DD89...lia.com... (...) didn't... Heh, this reminds me of when I first opened my RCX set. I hadn't used lego for years, and was working as a programmer, and thought, (...) (25 years ago, 16-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | Re: R: May I use RCX to play a .wav file?
|
|
Zhengrong Zang escribió: (...) WAV2RCX makes a "MIDI" of the wav. I'm also trying to play a wav with the RCX, and I have found this information. The pages explain how to play a tone and a PCM wave with 1 bit speaker, like the famous PC-speaker, (...) (25 years ago, 11-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | AI, Neural Nets
|
|
A month ago or so, I read a message which had a link about Lego and Artificial Intelligence (is not the van dam one). I remember it had several videos: -Simple Method -Adaline -Neural net ... The higher level the better results. Does anyone know (...) (25 years ago, 11-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | compiling C++ source under linux
|
|
Hi it's the 1st time I ask for your help. I have an urgent problem: i'm preparing a little software in C++ with legOS for linux for an university exam: I cannot 'make' C++ libraries nor main file: in the Makefile.common file there's a macro that (...) (25 years ago, 10-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | compiling C++ source under linux
|
|
Hi it's the 1st time I ask your help. I have an urgent problem: i'm preparing a little software in C++ with legOS for linux for an university exam: I make C++ libraries nor main file: in the Makefile.common file there's a macro that invoke (...) (25 years ago, 10-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | Very interresting pages about works around the RCX
|
|
Hi, Just have a closer look : (URL) smart robots, homebrew sensors & actuators, projects,... Very good work made by them. - Christophe - (25 years ago, 10-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | Serial talking between RCX and pc
|
|
Hi! Does anyone know how to make a pc and a RCX talk to each other? I've seen some examples of basic communication like downloading programs or 'turn on motor A'. But I've not seen a protocol, i.e. sending down data that is to be processed by the (...) (25 years ago, 10-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | Re: another sensor multiplexer
|
|
thanks for the compliments Michael, but I see it more as an evolution , I used a lot of ideas of others (including yours), so you must have created one her "grand parents". Let's all continue to exchange and combine the ideas, to create new (...) (25 years ago, 9-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | Re: BattleBricks
|
|
Will Gorman <willgorman@hotmail.com> wrote in message news:GBFt8L.F6F@lugnet.com... (...) I've been doing exactly this kind of thing with a few other people (all the robots are human-controlled, but mostly with wires) -- it seems fairly popular. (...) (25 years ago, 8-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | Re: Help with Windows 2000 and nqc
|
|
Cycling through all of the Com ports with the nqc command (nqc -SCOM1,2,4 -d test.nqc) gives the message 'Could not open serial port' for each port tried. nqc -SCOM3 -d test.nqc gives the error 'no replay from RCX'. With the -v option, Com Ports 1,2 (...) (25 years ago, 8-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | Re: Help with Windows 2000 and nqc
|
|
What com port is the tower attached to? By default, NQC assumes com port 1. If you use a different port, you'll need to specify it either with a -S option or by setting the RCX_PORT environment variable. For example, if you are using COM 2, you (...) (25 years ago, 8-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | Help with Windows 2000 and nqc
|
|
(and all of the RCXcc updates) I have been happily using Linux to write nqc programs for over a year now, but I needed to migrate back to Windows 2000 for a while. So far, I can do everything I need except program my RCX! I loaded the Mindstorms (...) (25 years ago, 8-Apr-01, to lugnet.robotics.rcx)
|
| |
 | | BattleBricks
|
|
Hello All, Just wanted to let you know about a site my friends and I put together. Check it out, and let me know what you think! www.battlebricks.com Will (25 years ago, 7-Apr-01, to lugnet.robotics.rcx)
|