To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / *373 (-20)
  Re: How do I delete firmware from firmware?
 
(...) M_CODE(3,``"BYE"'',BYE,_FLINK) MOV.B #1:8, rAl MOV.B rAl,@0xCC:8 MOV.W @0:16,rA ; Reset vector JSR @rA M_NEXT() (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: How do I delete firmware from firmware?
 
(...) Actually, BYE is in the h8hforth.asm source now, but it's a no-op. Could you email it to me, Ernst, and then I'll put it into the basic distribution... Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH for LEGO Mindstorms at: (URL) (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: How do I delete firmware from firmware?
 
(...) [...snip...] (...) I defined the BYE word in h8hforth.asm according to Kekoa's comments and it works like a charm. The RCX is reset but doesn't turn off, so new firmware can be uploaded immediately. Ernst (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: How do I delete firmware from firmware?
 
(...) Here's a copy of what Kekoa replied with... This sounds correct. In C, this is how I do it: /* Delete the firmware */ *(char *)0xffcc = 1; (*(void (**)(void))0)(); Indeed, *(void (**)(void))0) is the reset vector, whose value is 0x03ae. 0xffcc (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: How do I delete firmware from firmware?
 
(...) Looking at forth code it looks like "HEX 3ae EXECUTE" might end up doing what we are talking about. I tried this with out getting what I expected. I will fiddle more but does the approach seems right? M_CODE(7,``"EXECUTE"...TE,_FLINK) MOV.W (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Help with Terminal Emulator
 
(...) Ralph, The firmware and script uploads work great. I've gotten a good download each time. Thanks. I haven't yet tried the xmodem/save-system yet, but I'm just getting started. --Jerry (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Bug in HEX handling?
 
(...) Thanks. That helps. Case sensitivity is good but requiring upper case for hex is annoying. I suppose this is forth standard. That is one thing that I find annoying about forth, that most builtin words are upper case. It reveals the age of (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: Bug in HEX handling?
 
(...) If you use U. (unsigned dot) you will get FFFF. The "." is for signed numbers. (...) Yes it is, but pbForth is case sensitive. Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH for LEGO Mindstorms at: (URL) ---...--- Reply to: rhempel (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  Bug in HEX handling?
 
HEX is not working the way I think it should in 1.1.1. Is this wrong or do I not understand something. This is 1.1.1 pbmax.srec. ok DECIMAL ok 65536 DUP . -1 ok HEX . -1 Why isn't this ffff? ok 300b 300b ? undefined word Isn't 300b a legal hex (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  FW: pbForth Feedback
 
-----Original Message----- From: ian@dolphin.pst.cfmu...control.be [mailto:ian@dolphin....ontrol.be] On Behalf Of Ian Wild Sent: Monday, May 22, 2000 3:18 AM To: Ralph Hempel Subject: Re: pbForth Feedback (...) Indeed it did not. I've patched four (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Finally able to add asm forth words (long)
 
(...) Yep. But if I have two choices I will always steal from working code over documentation. I will always write code in C first and see what assembler the compiler creates, especialy on a new machine. Trust what already works. -- (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.pbforth)
 
  Taking the plunge
 
OK I'm about to nervously take the plunge. My code assembles and I'm about to push it off the cliff and see if it flies. If any one feels bored please feel free to review the following and make comments. Finding bugs by inspection is always easier. (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: Finally able to add asm forth words (long)
 
(...) Steve, You ARE using Kekoa's Internals document, right? Here's the part that describes the interrupt vector redirection. In fact, that's what I do for grabbing the OC1B interrupt for the servo control words... remember intercepting the (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Finally able to add asm forth words.
 
(...) It puzzled me for quite a while until I realized that the output was in pbforth.s. Once I saw the results it was much easier. (...) I agree. I have no interest in supporting a varient. I'll hack until it seems to work and then pass it to you (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: Finally able to add asm forth words.
 
(...) As they say (with a striaght face in the original C library) "Use the fork, Luke" I hope you didn't find the M4 stuff too much of a brain-bender. I'd be hard pressed to tell you how it works anymore... (...) Ummm, because the original hForth (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.pbforth)
 
  Finally able to add asm forth words.
 
Yeah!! After lots of reading and study and experimentation and suggestions from Ralph I finally added a new word to the .asm files. It was a simple word. I just cloned DUP under a different name. But it works. Now I am truely turned to the dark (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: pbForth gui
 
(...) Hmmm...this is a good alternative, the dialog would then point the user in the right direction, which is the rcxoption.tcl file. I like it. I could even do it when the com port could not be opened... (...) This is wierd. It works just fine on (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: Help with Terminal Emulator
 
(...) I have run into this too, Jerry. A few especially bothersome noise sources include video cameras, security systems, and remote controls. You might consider covering the RCX and tower with a box or towel... I'm glad the terminal emulator works (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Help with Terminal Emulator
 
I think my problem is bounce back noise. I doubled checked the port settings, started with a fresh set of batteries, made sure I had a clear buffer, but what made the difference is where I am doing my programming. I'm working off of a laptop, and (...) (24 years ago, 20-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Is there a compatible h8 assembler for forth words?
 
(...) A good rule. I just know I'm going to need fast so I am planning ahead. Somehow I'm usually at the bleeding edge of trying to squeeze everything possible out of limited hardware. I originally learned my Forth on a 68000 (Mac Forth on the (...) (24 years ago, 20-May-00, to lugnet.robotics.rcx.pbforth)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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