Shop OBEX P1 Docs P2 Docs Learn Events
FPForth - Page 2 — Parallax Forums

FPForth

2»

Comments

  • deSilvadeSilva Posts: 2,967
    edited 2007-10-14 12:38
    It will be a "mixed version" for some time smile.gif
  • Fred HawkinsFred Hawkins Posts: 997
    edited 2007-10-14 18:34
    deSilva,
    I thought the first message in this thread had a list of words implemented as code in the cog. What happened to that list?
    Fred
  • deSilvadeSilva Posts: 2,967
    edited 2007-10-14 18:52
    It was incomplete... In fact it is of little use at the moment to know, which words are directly coded and which are "complex". Some information is given in the - also incomplete and short - description ("COG")
    Be assured that Frohf has very thoroughly assessed this....
  • Fred HawkinsFred Hawkins Posts: 997
    edited 2007-10-14 19:13
    OK, then I am not misremembering then.
  • deSilvadeSilva Posts: 2,967
    edited 2007-10-16 18:15
    Version 0.72 sports an auto Hydra recognition, based on its special keyboards logic... But maybe it will fail on some boards.

    - The most annoying stack underflow bug has been fixed
    - Frohf has prepared a PDF with a list of all words, especially comparing them to some popular FORTH dialects and giving some additional data!
    - Multi-COG operations has been implemented (don't ask further - I'll tell you when I know more..)
    - There is a growing list of words:
    RESET
    CLK
    CLKREG>
    >CLKREG
    GETCOGSTAT
    START
    % Prefix
    # Prefix 
    >DIRA
    DIRA>
    CDUMP
    ISHYDRA
    ISPROPTERM
    

    Post Edited (deSilva) : 10/16/2007 6:34:07 PM GMT
  • SapiehaSapieha Posts: 2,964
    edited 2007-10-16 18:30
    Hi deSilva.

    Very nice work.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nothing is impossible, there are only different degrees of difficulty.

    Sapieha
  • SapiehaSapieha Posts: 2,964
    edited 2007-10-18 13:32
    Hi deSilva.

    Possibly, that F.Frohriep added an additional command to Fpforh.
    Which would show maintenance of STACK without its elimination?
    Type!
    STACK?
    (xx) (xx) (xx)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nothing is impossible, there are only different degrees of difficulty.

    Sapieha
  • deSilvadeSilva Posts: 2,967
    edited 2007-10-18 13:45
    Yes, he already did wink.gif
    Its
    .s
    
  • SapiehaSapieha Posts: 2,964
    edited 2007-10-18 14:02
    Hi deSilva.
    Thanks
    but it is .S not .s

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nothing is impossible, there are only different degrees of difficulty.

    Sapieha
  • deSilvadeSilva Posts: 2,967
    edited 2007-10-18 14:06
    This is the difference between the amateur and the prof. The prof can work with even wrong directions smile.gif
  • SapiehaSapieha Posts: 2,964
    edited 2007-10-18 14:14
    Hi deSilva

    Dis is only one problem on stack.
    If type wrong command stack is destryed.

    ( 8 ) ok
    .S
    44 55 66 497 5102 497 32548 1314689063 <TOS ( 8 ) ok
    + ( 7 ) ok <
    STACK
    .S
    44 55 66 497 5102 497 1314721611 <TOS ( 7 ) ok
    test ?
    ( 0 ) ok <
    STACK

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nothing is impossible, there are only different degrees of difficulty.

    Sapieha
  • SapiehaSapieha Posts: 2,964
    edited 2007-10-18 21:02
    Hi deSilva.

    What is it posible?

    10 ( 1 ) ok
    100 ( 2 ) ok
    1000· ( 3 ) ok
    10000 ( 4 ) ok
    100000 ( 5 ) ok
    1000000 ( 6 ) ok···· <
    1
    10000000 ( 7 ) ok··· <
    2
    100000000 ( 8 ) ok·· <
    3
    1000000000 ( 9 ) ok <
    4
    .S
    ·10 100 1000 10000 100000 344640 169602 385301 576212 <TOS ( 9 ) ok
    1
    2
    3 ---- 4 -

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nothing is impossible, there are only different degrees of difficulty.

    Sapieha
  • deSilvadeSilva Posts: 2,967
    edited 2007-10-18 21:39
    @second issue: There was a bug in the 32-bit conversion routine....This is not yet fixed with the input routines, i.e. when you type 10000000000 it is not converted correctly. Output seems fine, as seen in your first report.

    Post Edited (deSilva) : 10/18/2007 9:44:04 PM GMT
  • lnielsenlnielsen Posts: 72
    edited 2007-11-08 21:58
    Are there any updates on fpforth over the past month?

    How do I access spin or asembler objects running on other COGs?

    Is there a way to use PropTerminal's PC_Interface instead of serial communications to interace with it?

    Thanks in advance.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    BioProp: Robotics - Powered by Bioloids and controlled by the Propeller
  • deSilvadeSilva Posts: 2,967
    edited 2007-11-09 06:35
    The answers are:
    - No
    - No
    - No

    I expect an update during the next days; Frohf had fallen ill for some weeks...

    The second question is tricky - How do you get them run in the first place?

    But I might have misunderstood your third question: You are using Aribas PropTerm, I think!? Version 0.4 lets you access all the features of the "old" PropTerm...

    Post Edited (deSilva) : 11/9/2007 6:54:40 PM GMT
  • lnielsenlnielsen Posts: 72
    edited 2007-11-09 15:11
    deSilva,

    I am sorry to hear Frohf is ill. Please let him know we are all pulling for him and wish him well.

    Fpforth is going to be very limited if it can only interact with a serial terminal. I assume there will be some way to interact with device drivers - even if that means the device drivers have to re-written to match some special format. Frohf already has multiporcessing commands like START <string> to launch something on a free COG and COG3-7 commands to pass data to the COGs. How are these used? Any documentation or examples?

    In my case, I need a second dedicated 1Mbps half-duplex serial link to my servos and sensors. I also need to read input from my accelerometer and Logitech wireless controller. These last two I could implement as sensors if I had to and communicate with them via the serial link. I am also thinking of implementing all of this on the uOLED-96-Prop for a local graphic display.

    The last questions is less important to me. Yes, I am using version 0.4 of PropTerm but with fpforth I am only sending and receiving text. Can I do full graphics? How do I read mouse position and clicks? I was thinking about a version of the fpforth that would interface with PropTerm via PC_Interface so we could do full graphics, keyboard, and mouse control on COG 1 with fpforth running on COG 2.

    I hope I did not misunderstand where fpforth was headed but please correct me if I am wrong.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    BioProp: Robotics - Powered by Bioloids and controlled by the Propeller
Sign In or Register to comment.