Shop OBEX P1 Docs P2 Docs Learn Events
TACHYON O/S V3.0 JUNO - Furiously Fast Forth, FAT32+LAN+VGA+RS485+OBEX ROMS+FP+LMM+++ - Page 54 — Parallax Forums

TACHYON O/S V3.0 JUNO - Furiously Fast Forth, FAT32+LAN+VGA+RS485+OBEX ROMS+FP+LMM+++

15152545657109

Comments

  • funkheldfunkheld Posts: 32
    edited 2014-08-20 07:30
    if Extend.fth in TeraTerm copiere in Forth, is "not found .... not found ..."
    how should the text that is formatted it is recognized by the forth? LF CR ?




    Thank you.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-08-20 07:44
    funkheld wrote: »
    if Extend.fth in TeraTerm copiere in Forth, is "not found .... not found ..."
    how should the text that is formatted it is recognized by the forth? LF CR ?

    Thank you.

    If you downloaded a binary image then EXTEND.fth is already loaded but if you compiled from the Tachyon V2.3 source then you need to copy from EXTEND.fth and paste this into the terminal. However you must set the terminal for 20ms LINE delay as there is no handshake. You could also send the file instead of pasting under Teraterm through the FILE SEND menu. All that TF is looking for is a CR and it ignores the LF so it doesn't matter. Did you have a read of the Intro page?

    Don't expect VGA.fth to be loaded for the newer versions as there is not enough memory to support the VGA bitmap but you can still download the old binaries with this in it via the Dropbox folder under binaries - old.
  • funkheldfunkheld Posts: 32
    edited 2014-08-20 08:48
    hello, thank you.
  • funkheldfunkheld Posts: 32
    edited 2014-08-20 08:56
    HEX: CLKFREQ ( -- freq ) 0 @ ;: >CFA ( atr -- cfa ) 2 + C@ 2* 2* XCALLS + W@ ;

    Copy/Paste in the TeraTerm : HEX: CLKFREQ
    it must : HEX : CLKFREQ
    Copy/Paste in the TeraTerm : ... 0 @ ;: >CFA ( a...
    and the must : ... 0 @ ; : >CFA ( a...

    greeting
  • funkheldfunkheld Posts: 32
    edited 2014-08-20 09:41
    TeraTerm does not take this character at Forth: \
    Forth then stops.
    How do you change in TeraTerm?


    Thank you.
  • funkheldfunkheld Posts: 32
    edited 2014-08-20 12:52
    hello, good day.
    how can you please upload a fth in the forth without "copy / paste" or "upload file" without?


    Thank you.
  • funkheldfunkheld Posts: 32
    edited 2014-08-20 14:08

    ' \ ( -- )
    ' Ignore following text till the end of line.
    ' IMMED
    COMMENT byte XCALL,xKEY,_BYTE,$0D,EQ,_UNTIL,07,XCALL,xCR,EXIT
    BRACE byte XCALL,xKEY,DUP,XCALL,xEMIT,_BYTE,")",EQ,_UNTIL,10,EXIT
    CURLY byte XCALL,xKEY,_BYTE,"}",EQ,_UNTIL,07,EXIT

    blocked this thing up again and the more read the "fth" !!!



    I would also vga and plot to take out from the Forth system with the font !!!

    FONT byte _WORD,(@font5x7+s)>>8,@font5x7+s,EXIT


    ' A 5x7 bitmap font designed for the 128x64 graphic lcd or 512x384 VGA bitmap
    ' each character takes up 7 bytes, the lsb is the rightmost pixel
    '
    font5x7
    byte 000,000,000,000,000,000,000 ' space
    byte 100,100,100,100,100,000,100 ' !
    byte 010,010,010,000,000,000,000
    byte 010,010,111,010,111,010,010
    byte 100,111,100,110,101,110,100
    byte 000,001,010,100,000,011,011
    byte 100,010,100,000,101,010,101
    byte 100,100,000,000,000,000,000
    byte 010,100,000,000,000,100,010
    byte 000,100,010,010,010,100,000
    byte 000,100,101,110,101,100,000
    byte 000,100,100,111,100,100,000
    byte 000,000,000,000,100,100,000
    byte 000,000,000,111,000,000,000
    byte 000,000,000,000,000,100,100
    byte 000,001,010,100,000,000,000
    byte 110,001,011,101,001,001,110 '0
    byte 100,100,100,100,100,100,110 '1
    byte 110,001,001,010,100,000,111
    byte 111,010,100,010,001,001,110
    byte 010,110,010,010,111,010,010
    byte 111,000,110,001,001,001,110
    byte 110,000,000,110,001,001,110
    byte 111,001,001,010,100,100,100
    byte 110,001,001,110,001,001,110
    byte 110,001,001,111,001,010,100 '9
    byte 000,100,100,000,100,100,000
    byte 000,100,100,000,100,100,000
    byte 010,100,000,000,000,100,010
    byte 000,000,111,111,000,000,000
    byte 000,100,010,001,010,100,000
    byte 110,001,001,010,100,000,100
    byte 110,001,001,101,101,101,110 '@
    byte 110,001,001,001,111,001,001 'A
    byte 110,001,001,110,001,001,110
    byte 110,001,000,000,000,001,110
    byte 100,010,001,001,001,010,100
    byte 111,000,000,110,000,000,111
    byte 111,000,000,110,000,000,000
    byte 110,001,000,111,001,001,111
    byte 001,001,001,111,001,001,001
    byte 110,100,100,100,100,100,110
    byte 111,010,010,010,010,010,100
    byte 001,010,100,000,100,010,001
    byte 000,000,000,000,000,000,111
    byte 001,011,101,101,001,001,001
    byte 001,001,001,101,011,001,001
    byte 110,001,001,001,001,001,110
    byte 110,001,001,110,000,000,000
    byte 110,001,001,001,101,010,101
    byte 110,001,001,110,100,010,001
    byte 111,000,000,110,001,001,110
    byte 111,100,100,100,100,100,100
    byte 001,001,001,001,001,001,110
    byte 001,001,001,001,001,010,100
    byte 001,001,001,101,101,101,010
    byte 001,001,010,100,010,001,001
    byte 001,001,001,010,100,100,100
    byte 111,001,010,100,000,000,111 'Z
    byte 100,000,000,000,000,000,100
    byte 000,000,000,100,010,001,001
    byte 111,001,001,001,001,001,111
    byte 100,010,001,000,000,000,000
    byte 000,000,000,000,000,000,111
    ' $60..$7f ' not all characters have been converted yet
    byte 000,100,010,000,000,000,000
    byte 000,000,110,001,111,001,110 'a
    byte 000,000,110,001,001,001,110
    byte 000,000,110,000,000,001,110
    byte 001,001,101,011,001,001,111
    byte 000,000,110,001,111,000,110
    byte 110,001,000,110,000,000,000
    byte 000,111,001,001,111,001,110
    byte 000,000,110,001,001,001,001
    byte 100,000,100,100,100,100,110
    byte 010,000,010,010,010,010,100
    byte 000,000,010,100,000,100,010
    byte 000,000,000,000,000,000,111
    byte 001,011,101,101,001,001,001
    byte 001,001,001,101,011,001,001
    byte 110,001,001,001,001,001,110
    byte 110,001,001,110,000,000,000
    byte 110,001,001,001,101,010,101
    byte 110,001,001,110,100,010,001
    byte 111,000,000,110,001,001,110
    byte 111,100,100,100,100,100,100
    byte 001,001,001,001,001,001,110
    byte 001,001,001,001,001,010,100
    byte 001,001,001,101,101,101,010
    byte 001,001,010,100,010,001,001
    byte 001,001,001,010,100,100,100
    byte 111,001,010,100,000,000,111 'z
    byte 100,000,000,000,000,000,100
    byte 100,100,100,100,100,100,100
    byte 111,001,001,001,001,001,111
    byte 000,100,010,111,010,100,000
    byte 000,010,100,111,100,010,000

    not in use

    this is good:
    text : "vga_text"


    greeting
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-08-20 15:35
    @funkheld

    Was machst du? Ich kann genug Deutsch sprechen, um mich in Schwierigkeiten zu bringen und Sie tun das gleiche mit Tachyon sind :) (Ich meine Mutter schuld)

    It sounds like you are trying bits from different versions. So what are you trying to do, if you want to do more with VGA then I haven't touched that in a long time and you would have to stick to the old versions.

    Now what do you mean "upload a file without uploading"????? Is there another way?

    So perhaps you could describe your project or goals a little so that I can give you some pointers.
  • funkheldfunkheld Posts: 32
    edited 2014-08-21 00:55
    Hallo, guten Tag.

    Wo finde ich die neueste Version vom Forth ? Es gibt da verschiedene die ich gefunden habe, teilweise mit eingebundenen anderen Funktionen.

    Mit dem eingebundenen VGA und die Darstellung der Grafik reicht wahscheinlich der Speicher nicht, Es sind am unteren rand ca 100 Zeilen Striche durcheinander, dar
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-08-21 01:26
    funkheld wrote: »
    Hallo, guten Tag.

    Wo finde ich die neueste Version vom Forth ? Es gibt da verschiedene die ich gefunden habe, teilweise mit eingebundenen anderen Funktionen.

    Ansonsten ist das ein tolles Projekt was du da gemacht hast.

    Danke.

    Gruss

    Now you make me struggle with technical terms too!

    The root level of the Tachyon Dropbox folder has the latest source and the binaries folder will always have the current binary with all the older ones in the "old" sub-folder.

    The trouble with VGA is that even with 320X240 it still takes around 10K and thats also with reclaiming the VGA cog image from main memory. If I get a chance I may connect up a monitor and try out some VGA again over the next few days. A simple text VGA is what I had planned so I will go with that and then look at the 320x240.

    If you want to send a file in Teraterm then that's okay you just need to do a FILE - SEND FILE from the menu.

    Cheers, Peter
  • funkheldfunkheld Posts: 32
    edited 2014-08-21 02:17
    Ja, danke f
  • funkheldfunkheld Posts: 32
    edited 2014-08-21 02:25
    Ich habe mein SD-Karte hier an den Pins angeschlossen:
    DO: 1 CLK: 7 DI :0 CSP: 4


    Wie kann ich die PINS mitteilen , wo werden die eingetragen in : Tachyon V2.3.spin

    Danke.
    Gruss
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-08-21 03:08
    funkheld wrote: »
    Ich habe mein SD-Karte hier an den Pins angeschlossen:
    DO: 1 CLK: 7 DI :0 CSP: 4


    Wie kann ich die PINS mitteilen , wo werden die eingetragen in : Tachyon V2.3.spin

    Danke.
    Gruss

    Have a look at QS.fth as this is the hardware description file for the QuickStart which is meant to be loaded before SDCARD.fth. So it's best to create a file like this to suit your hardware as this is what I do. This is the only custom file you should need to load any of the modules. Look in the "headers" folder.

    I don't know why you would want to load sertially without a terminal though, In Linux you can use the "cat myfile > /dev/ttyUSB0" for instance even with a terminal session open, I know that works.
  • funkheldfunkheld Posts: 32
    edited 2014-08-21 03:23
    Ja, danke.

    RAM: 3309 bytes free bei Tachyon V2.3.spin ?

    Da passt doch diese nicht mehr rein : EXTEND.FTH ?
    Welches Forth nehme ich , wo ich die EXTEND.FTH einlesen kann?

    Danke.
    Gruss
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-08-21 04:37
    funkheld wrote: »
    Ja, danke.

    RAM: 3309 bytes free bei Tachyon V2.3.spin ?

    Da passt doch diese nicht mehr rein : EXTEND.FTH ?
    Welches Forth nehme ich , wo ich die EXTEND.FTH einlesen kann?

    Danke.
    Gruss

    I can't guess which files you have loaded so you will have to give me more information. Just copy the text from the screen and paste it into the reply and format as code (Go Advanced - use #)
  • funkheldfunkheld Posts: 32
    edited 2014-08-21 05:43
    Wie mache ich ein fertiges Binary vom Tachyon V2.3.spin wenn ich dieses Datei "EXTEND.fth" geladen habe ?

    Danke.
    Gruss
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-08-21 06:14
    funkheld wrote: »
    Wie mache ich ein fertiges Binary vom Tachyon V2.3.spin wenn ich dieses Datei "EXTEND.fth" geladen habe ?

    Danke.
    Gruss

    Since you don't have an SD card in the system you have to use the DUMPROM command which will correct the checksum and dump out the EEPROM in Intel hex format. If you copy or log that into a .hex file you can run a hex2bin utility (PC Utilities folder) which will produce a .bin file which you need to rename to .binary for the Spin tool to recognize it. Verstehen?
  • funkheldfunkheld Posts: 32
    edited 2014-08-21 06:45
    Hallo, ich habe mit DUMPROM in TeraTerm aufgelistet.
    Habe es dann copiert vom Screen und in eine forth.hex gespeichert.
    Danach in eine Bin umgewandelt mit dem Namen forth.binary.

    Aber die Pr
  • funkheldfunkheld Posts: 32
    edited 2014-08-21 09:14
    Ich habe dieses File geladen : TACHYON.binary


    Dann SDCARD.FTH geladen, klappt wunderbar.
    SD und die anderen Befehle funktionieren mit der SD-Karte.


    Um eine SD-Karte als FAT32 zu lesen habe ich : MULTIFAT.FTH geladen.
    Ich wollte mit : SAVEROM eine ROM.BIN erstellen.


    Dann kommt zb diese Meldung:
    --> >F83 <-- not found und


    Dann ist schluss.....


    GRuss
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-08-21 09:30
    funkheld wrote: »
    Ich habe dieses File geladen : TACHYON.binary


    Dann SDCARD.FTH geladen, klappt wunderbar.
    SD und die anderen Befehle funktionieren mit der SD-Karte.


    Um eine SD-Karte als FAT32 zu lesen habe ich : MULTIFAT.FTH geladen.
    Ich wollte mit : SAVEROM eine ROM.BIN erstellen.


    Dann kommt zb diese Meldung:
    --> >F83 <-- not found und


    Dann ist schluss.....


    GRuss

    SAVEROM does not require a filename as it always saves to FIRMWARE.ROM but you can specify a name if you use SAVEIMG <name>. However the MULTIFAT is the old name and the new one is called EASYFILE, are you sure you are using the current Dropbox files??? Anyway the SDFS must have a file by that name already as it does not try to create on. The idea is that we leave the PC to worry about clusters and FAT tables etc so that is why I have a folder with files that can be copied onto a card.
  • funkheldfunkheld Posts: 32
    edited 2014-08-21 14:10
    Hmmm...., mit de SD-Karte ist es noch nicht das Gelbe vom Ei.

    Auf der SD-karte befinden sich die Dateien wie bei EASYFILE gefordert.
    Es wird zwar alles ordentlich geladen, die beiden Programme.

    Danach wir sogar ein Backup als Ordnungsgem
  • MJBMJB Posts: 1,235
    edited 2014-08-22 01:30
    funkheld wrote: »
    Hmmm...., mit de SD-Karte ist es noch nicht das Gelbe vom Ei.

    Auf der SD-karte befinden sich die Dateien wie bei EASYFILE gefordert.
    Es wird zwar alles ordentlich geladen, die beiden Programme.

    Danach wir sogar ein Backup als Ordnungsgem
  • kdeweykdewey Posts: 28
    edited 2014-08-26 12:19
    I want to count pulses on a pin but I don't know what to read to get the value. I setup the mode and i tried to read the phsa register var with little success. I am new to this forum so go easy..
    can someone help.
    Ken
  • MJBMJB Posts: 1,235
    edited 2014-08-26 15:41
    kdewey wrote: »
    I want to count pulses on a pin but I don't know what to read to get the value. I setup the mode and i tried to read the phsa register var with little success. I am new to this forum so go easy..
    can someone help.
    Ken
    you are talking about TACHYON ??
    then try
    PHSA SPR + SPR@
    and read this: Introduction to TACHYON Forth (links to files) and the TACHYON source SPIN file of course
  • mklrobomklrobo Posts: 420
    edited 2014-09-17 16:11
    :innocent: Question:
    My propeller is running the parallax program when it boots up, obviously; so how do I get Tachyon
    Forth on the Propeller? Do I have to have a bootloader? How do I get Tachyon on the propeller?
    Thanks.:blank:
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-09-17 16:41
    mklrobo wrote: »
    :innocent: Question:
    My propeller is running the parallax program when it boots up, obviously; so how do I get Tachyon
    Forth on the Propeller? Do I have to have a bootloader? How do I get Tachyon on the propeller?
    Thanks.:blank:

    Haven't you ever loaded code onto your Prop before? With the Spin tool or BST you load your code or image an F11 it into the Prop. If you load the ".spin" file you can compile that after which you can use Tachyon to compile EXTEND.fth. Use a serial terminal set for 230,400 baud.

    Easiest way though is just click on the Dropbox link in my sig and go to the binaries folder and use that binary image.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-09-28 17:37
    Although I've mainly been concentrating on network servers in Tachyon I want to do some work with clients, specially for email, FTP, and NTP etc. Has anyone had any experience with implementing these on the Prop, in Tachyon or otherwise? I plan to put that functionality into the IoT5500 module which is a bit like a mini network development system in itself.
  • D.PD.P Posts: 790
    edited 2014-09-28 21:14
    Although I've mainly been concentrating on network servers in Tachyon I want to do some work with clients, specially for email, FTP, and NTP etc. Has anyone had any experience with implementing these on the Prop, in Tachyon or otherwise? I plan to put that functionality into the IoT5500 module which is a bit like a mini network development system in itself.

    I've written some basic POP3 and SMTP clients that interact with MTAs correctly, What did you have in mind, VT100 Mail client?
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-09-28 23:17
    D.P wrote: »
    I've written some basic POP3 and SMTP clients that interact with MTAs correctly, What did you have in mind, VT100 Mail client?

    All this network stuff is for embedded use so SMTP is good for email alerts and status updates (for the record) and FTP so the device can go and automatically upload/download files. I may also look at what protocols I can use to twitter to a smartphone too.
  • D.PD.P Posts: 790
    edited 2014-09-29 10:46
    All this network stuff is for embedded use so SMTP is good for email alerts and status updates (for the record) and FTP so the device can go and automatically upload/download files. I may also look at what protocols I can use to twitter to a smartphone too.

    Well I will use Tachyon and a current setup to send a simple message via SMTP to our local MTA, see what I can get it to do.
Sign In or Register to comment.