Re: [Amforth] successful compilation with avra

2023-08-28 Thread Jan Kromhout via Amforth-devel
Hello, Seems simple to use the avra compiler. Is it posible to show example how the build is doing? Cheers, Jan Verstuurd vanaf mijn iPad > Op 28 aug. 2023 om 09:02 heeft Mark Roth het volgende > geschreven: > > You are using the same repo I was for avra Tristan. I just cloned the >

Re: [Amforth] how to use bitmask:

2019-07-03 Thread Jan Kromhout via Amforth-devel
Hello, After trying for a while, I failed to get these three words together. Do not master the bitmask. Despite the examples and the email. Can someone please help me with this. This is my simple code. The source is from flashForth. The tree words are setBitmask,clearBitmask and testBitmask.

[Amforth] how to use bitmask:

2019-06-17 Thread Jan Kromhout via Amforth-devel
Hello, I need to do a bitmask on register. These are the constants, and mask $24 constant ddrb $25 constant portb \ bit masks %000100 constant mSS ( PB2 ) %10 constant mSCK ( PB5 ) I wont 1. to set the bits in ddrb with the bitmask mSS 2. to clear bits in portb with the bitmask mSCK In

Re: [Amforth] Need some help with the SPI

2019-06-08 Thread Jan Kromhout via Amforth-devel
X if that is of any help. > > Kind regards, > > Tristan > > > On 07Jun19 21:37, Erich Wälde wrote: >> Hello Jan, >> >> Jan Kromhout via Amforth-devel writes: >> >>> Hello Tristan,Erich >>> >>> This is far over my kn

Re: [Amforth] Need some help with the SPI

2019-06-07 Thread Jan Kromhout via Amforth-devel
ot, as will starting with a simple SPI device (e.g. io >> expander, digital potentiometer) first. >> >> Kind regards, >> >> Tristan >> >> >> Verstuurd vanaf mijn iPad >> >> Op 7 jun. 2019 om 17:25 heeft Tristan Williams >> mailt

Re: [Amforth] Need some help with the SPI

2019-06-07 Thread Jan Kromhout via Amforth-devel
gt; Kind regards, > > Tristan > >> On 07Jun19 17:06, Jan Kromhout via Amforth-devel wrote: >> Hello >> >> I have take a close look into SPI routines. >> I really not understand them. >> >> I need simple make a connection withe the arduino in amForth. >

[Amforth] Need some help with the SPI

2019-06-07 Thread Jan Kromhout via Amforth-devel
Hello I have take a close look into SPI routines. I really not understand them. I need simple make a connection withe the arduino in amForth. The basics I understand how to make a pin high or low etc. But I don’t know how to start to initialize the SPI etc. Can someone help me with this or give

[Amforth] SPI interface on the arduino

2019-06-04 Thread Jan Kromhout via Amforth-devel
Hello, I need to read and write to the SPI interface (bus) on the arduino. (pin 10,11,12,13) Wich words are the best to use? Thanks for any help. Cheers, Jan ___ Amforth-devel mailing list for http://amforth.sf.net/

Re: [Amforth] Problem loading hex file into 328p

2019-04-20 Thread Jan Kromhout via Amforth-devel
Hello, I use these with a pololu programmer v2.1 Laad de nieuwe versie: avrdude -p m328p -c avrispv2 -P /dev/tty.usbmodem00230362 -U efuse:w:0xFF:m -U hfuse:w:0xD9:m -U lfuse:w:0xFF:m -U flash:w:amforth.hex:i -U eeprom:w:amforth.eep.hex:i And it works great, no problems at all. Cheers, Jan

Re: [Amforth] Installation of most current version

2019-04-07 Thread Jan Kromhout via Amforth-devel
my old AVRIPSmkII programmer. I notice that > it's been obsoleted by Atmel! Can you suggest a more current model? > Thanks again! > Michael > K6MLE > > > > On 4/6/2019 11:35 AM, Jan Kromhout via Amforth-devel wrote: >> Hello Michael, >> >> amFor

Re: [Amforth] Installation of most current version

2019-04-06 Thread Jan Kromhout via Amforth-devel
Hello Michael, amForth has in the download the complete hex files! Cheers, Jan > Op 6 apr. 2019, om 20:20 heeft Michael Picco het > volgende geschreven: > > Hello, > > I am trying to get back to amForth after a hiatus (last used 5.2). > > Is there a set of compiling instructions suited

Re: [Amforth] ATmega4809 Curiosity Nano

2019-03-06 Thread Jan Kromhout via Amforth-devel
A nice board to play with it. What is the internal frequency? Found only that there is a 32k crystal mounted on the board. Cheers, Jan > Op 6 mrt. 2019, om 09:56 heeft Tristan Williams het > volgende geschreven: > > > I would like to try and see if I can get AmForth running on the >

[Amforth] Error in example multitasking at amforth.sourceforge.net

2019-02-25 Thread Jan Kromhout via Amforth-devel
Hello, When I look to the example of multitasking I think something is wrong. This is the code at amforth.sourceforge.net : : starttasker task_demo task-init \ create TCB in RAM start-demo \ activate tasks job onlytask task_demo tcb>tid alsotask

Re: [Amforth] Soft Serial Port

2019-02-17 Thread Jan Kromhout via Amforth-devel
project from your side. Will maybe a fix item into the repository of amforth. With kindly regards, Jan > Op 16 feb. 2019, om 22:07 heeft Jan Kromhout via Amforth-devel > het volgende geschreven: > > Tristian, > > Thank, I will start soon to explore this version. > Let

Re: [Amforth] Soft Serial Port

2019-02-16 Thread Jan Kromhout via Amforth-devel
GA 2560 are linked below > > https://www.mostlymostly.uk/post/2019.02.16/ > > Hope this helps and interested to hear how you get on. > > Best wishes, > Tristan > > > >> On 15Feb19 16:47, Jan Kromhout via Amforth-devel wrote: >> Tristan, >> >&

Re: [Amforth] Soft Serial Port

2019-02-15 Thread Jan Kromhout via Amforth-devel
t;> Cheers, >>> >>> Jan >>> >>> Verstuurd vanaf mijn iPad >>> >>>> Op 15 feb. 2019 om 12:45 heeft Tristan Williams het >>>> volgende geschreven: >>>> >>>> Jan, >>>> >>>> Th

Re: [Amforth] Soft Serial Port

2019-02-15 Thread Jan Kromhout via Amforth-devel
Hi Tristan, How can I acces the source, the link shows only an overview! Cheers, Jan Verstuurd vanaf mijn iPad > Op 15 feb. 2019 om 09:21 heeft Tristan Williams het > volgende geschreven: > > > > I've linked (below) some AmForth words I've written to help me use the > second hardware

[Amforth] Soft Serial Port

2019-01-24 Thread Jan Kromhout via Amforth-devel
Hello, Is soft-serial implemented in amForth. I wont to connect a serial device to the arduino. Cheers, Jan ___ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net

Re: [Amforth] Butterfly

2019-01-20 Thread Jan Kromhout via Amforth-devel
Hi Martin, Thanks for the link, found the hex files. Do you know where the find the the fuse settings? Can I use the “amforth-shell.py” for programming the Butterfly? Mit freundlichem Gruß Jan > Op 20 jan. 2019, om 08:40 heeft Martin Bitter het > volgende geschreven: > > Hi Jan, > > in

Re: [Amforth] String

2019-01-18 Thread Jan Kromhout via Amforth-devel
Hi Matthias, I have read that but it is not working. : test s" test " type ; => no output : test s" test “ ; => no output I don’t know what is wrong! Jan > Op 18 jan. 2019, om 15:50 heeft Matthias Trute het volgende > geschreven: > > Hi Jan, > >> I try this and notting is

[Amforth] String

2019-01-18 Thread Jan Kromhout via Amforth-devel
Hello, I try this and notting is happens. How do I use this to print a string when I run a compiled word? : test s" test " type ; Cheers, Jan ___ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net

Re: [Amforth] Need some help to construct an .asm file

2018-12-25 Thread Jan Kromhout via Amforth-devel
Thanks for the rsponse. Merry Christmad, Jan Verstuurd vanaf mijn iPad > Op 25 dec. 2018 om 10:36 heeft Matthias Trute het volgende > geschreven: > > Am Montag, den 24.12.2018, 17:51 + schrieb Jan Kromhout: >> Hello, >> >> I wont to write my own routine in assembler as a learning goal.

Re: [Amforth] Assembler listing of some words

2018-12-21 Thread Jan Kromhout via Amforth-devel
Hello Erich, This was helpfull Cheers, Jan > Op 21 dec. 2018, om 17:15 heeft Erich Wälde het > volgende geschreven: > > Hello Jan, > > Jan Kromhout via Amforth-devel writes: > >> Hello, >> >> I was looking into some words (.asm). >> Can so

[Amforth] Assembler listing of some words

2018-12-21 Thread Jan Kromhout via Amforth-devel
Hello, I was looking into some words (.asm). Can someone explain me why the content of the first data word is different. PLUSSTORE => .dw $ff02 RSHIFT => .dw $ff06 PLUS => .dw $ff01 Cheers, Jan ___ Amforth-devel mailing list for

Re: [Amforth] get-recognizer & set-recognizer

2018-12-21 Thread Jan Kromhout via Amforth-devel
Hello Erich, Thanks, I’m just binding in the assembler file. That is done for now. Will give it a try this afternoon. The last definition is : place-rec ( xt -- ) get-recognizer dup >r 1- n>r swap nr> drop r> 1+ set-recognizer ; But when I take a look in recognizer.frt the words

Re: [Amforth] Floating point

2018-12-19 Thread Jan Kromhout via Amforth-devel
ords/get-recognizer.asm" .include "words/set-recognizer.asm" Please can someone help me out with this? Cheers, Jan > Op 18 dec. 2018, om 20:40 heeft Jan Kromhout via Amforth-devel > het volgende geschreven: > > Hello, > > I would like to play with

[Amforth] Floating point

2018-12-18 Thread Jan Kromhout via Amforth-devel
Hello, I would like to play with the floating point package. Has anyone integrated the floting point in AmForth. Can not assemble a version for myself. Can someone please help me with a version for the Arduino (hex file). I’am running now version 6.7 Cheers, Jan

Re: [Amforth] buffer:

2018-12-06 Thread Jan Kromhout via Amforth-devel
Martin, Thanks. When I construct this and make a buffer of 1024 and after the buffer I create a dummy so I can calculate the difference. ‘ dummy - ‘ buffer = 1029. Thats means there is a space of 1024 bytes or words available. How can I store/read a byte or word to the location? This I have

Re: [Amforth] buffer:

2018-12-06 Thread Jan Kromhout via Amforth-devel
ber 2018, 20:06:45 CET schrieb Jan Kromhout via > Amforth-devel: > > Maybe this helps: > > Variable buffer 1024 allot > > This gives a buffer in RAM > > Or do you need it in FLASH? > > tot ziens > > Martin > > > >> Thanks Martin, &g

Re: [Amforth] buffer:

2018-12-06 Thread Jan Kromhout via Amforth-devel
BTW You'r marching through 1009 * 16 words in memory - is that what you > want? > > Am Donnerstag, 6. Dezember 2018, 19:46:33 CET schrieb Jan Kromhout via > Amforth-devel: >> Hello, >> >> I have make a buffer, after loading the program I aspect that all > location

[Amforth] buffer:

2018-12-06 Thread Jan Kromhout via Amforth-devel
Hello, I have make a buffer, after loading the program I aspect that all locations will be zero. When take a look there are some places with values! /Users/jankromhout/Documents/amforth-6.7/tools (ATmega328P)> clearBuffer ok (ATmega328P)> .Buffer 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

[Amforth] Forward declaration for recursive word

2018-12-05 Thread Jan Kromhout via Amforth-devel
Hello I wont to use the forward declaration “forward:” to solve my recursive word roll. Is this use of forward: correct? forward: roll : roll dup 0< \ 0<= if drop else swap >r 1- roll r> swap then ; When I look into the definition of forward: I find the word “iplace”. When I

Re: [Amforth] Clock Works

2018-11-10 Thread Jan Kromhout via Amforth-devel
Hello, Find the source!! Cheers, Jan > Op 10 nov. 2018, om 16:26 heeft Jan Kromhout via Amforth-devel > het volgende geschreven: > > Hello, > > Where can I download the software of the articles of Clock Works. > The link https://wiki.forth-ev.de/doku.php/projects

Re: [Amforth] I2C Generic

2018-11-10 Thread Jan Kromhout via Amforth-devel
Tristan, This is my simple code. The address of the SA1064 is $38 I have checked with the arduino for save playing the frequency of the bus should be less than 100 kHz. When I translate the simple code of the arduino to amForth I get this, but no results. Even no results with deleting the

Re: [Amforth] I2C Generic

2018-11-09 Thread Jan Kromhout via Amforth-devel
Thanks Erich, Do I need this to start every time I use I2C i2c.init.default Cheers, Jan > Op 9 nov. 2018, om 20:56 heeft Erich Wälde het volgende > geschreven: > > Hello Jan, > > your i2c address: "$38", is this the 7bit address? You might > need to shift it by one position to "$70". >

Re: [Amforth] External Interrupt Mask Register

2018-11-05 Thread Jan Kromhout via Amforth-devel
Tristan, I have found the datasheet. Cheers, Jan Verstuurd vanaf mijn iPad > Op 5 nov. 2018 om 11:26 heeft Jan Kromhout het > volgende geschreven: > > Tristan, > > Thanks again for your hulp. > Please can you provide me the link to download the datasheet your mention. > When I look to

[Amforth] Question about Timer

2018-11-03 Thread Jan Kromhout via Amforth-devel
I agree with that. I came to the same conclusion. Checked yesterday also the code and found no action on this address. Tristian gave me a hint, and I will try it. Cheers, Jan ___ Amforth-devel mailing list for http://amforth.sf.net/

[Amforth] Question about Timer-1

2018-11-02 Thread Jan Kromhout via Amforth-devel
Hi, I have take a look into the excellent work of Erich Walde “Clock Works”. When I walk trough the code I see that Timer1 is used freely. Is it correct that I can use this timer with his interrupts freely without any harm/restrictions for Amforth? Cheers, Jan

[Amforth] Thanks

2018-10-31 Thread Jan Kromhout via Amforth-devel
Hi, Thanks all, information was very helpful. Cheers, Jan ___ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel

[Amforth] Coolterm as terminal

2018-10-26 Thread Jan Kromhout via Amforth-devel
Tristan, I’m using an original Arduino-Uno The next thing is to figure out how to include some of the .frt files. Docu is hard to understand. It is working now with MacBook-Pro-van-Jan-6:tools jankromhout$ ./amforth-shell.py -p /dev/tty.usbmodem1421 -s 38400 -i —rtscts I greatly

[Amforth] Coolterm as terminal

2018-10-25 Thread Jan Kromhout via Amforth-devel
Tristan, Thanks for the help this day. It is “working” but wen I type in a command a get an error back from amForth. See my output. Anny idee what is going wrong? Cheers Jan Last login: Thu Oct 25 18:54:18 on ttys000 MacBook-Pro-van-Jan-6:~ jankromhout$ cd

[Amforth] Coolterm as terminal

2018-10-25 Thread Jan Kromhout via Amforth-devel
Thanks Tristan, When I run it get the error “no module named serial” Check my versions of Python and when I type "import serial” there is no problem. So I don’t know how to fix this! Cheers, Jan ___ Amforth-devel mailing list for

[Amforth] Coolterm as terminal

2018-10-24 Thread Jan Kromhout via Amforth-devel
Tristan, I have tried to get it working without any result, I use macOS High Sierra. Do you have tips to get it running? Do you use Python 2 or 3 Cheers, Jan ___ Amforth-devel mailing list for http://amforth.sf.net/

[Amforth] Coolterm as terminal

2018-10-24 Thread Jan Kromhout via Amforth-devel
Hello, I use Coolterm as terminal. Is it posible to use “include" to load several screens with one command? This as example like this #include install/2-fetch.frt #include install/2-store.frt #include install/quotations.frt #include install/search-name.frt #include install/find-name.frt

[Amforth] How to make a Full system

2018-10-24 Thread Jan Kromhout via Amforth-devel
Hi, I try to compile a full system, but most of the time I don’t know the sequens of loading the individual files. Is there some overview how to load these files (sequence)? When the building system is complete is it possible to make a backup of the system and load this afterwards (make a

[Amforth] Arduino nano

2018-10-23 Thread Jan Kromhout via Amforth-devel
Hi, I have an Arduino Nano 328P, can I load it with the forth of the Arduino Uno? If posible can I use the same fuse settings as my Arduino Uno? Cheers, Jan ___ Amforth-devel mailing list for http://amforth.sf.net/

[Amforth] How to download complete set of data from source forge.net

2018-10-16 Thread Jan Kromhout via Amforth-devel
Hello, In https://sourceforge.net/p/amforth/code/HEAD/tree/releases/ I found the release 6.7. How can I complete download this in one to my computer? Thanks for any help. Jan Kromhout Hellevoetsluis-NL ___ Amforth-devel

[Amforth] A good editor/terminal for MacOSX

2018-10-15 Thread Jan Kromhout via Amforth-devel
Hello, What is a good editor/terminal to type in Forth, and also send the Forth files to the Arduino? Thanks for any help. Jan Kromhout Hellevoetsluis-NL ___ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net

[Amforth] Question

2018-10-15 Thread Jan Kromhout via Amforth-devel
Hello, It’s a while ago that I implemented AmForth (4.8) on a Arduino. Now I am a little confused. Where to find the source with all libs like postpone.frt. Cannot find them. Please can you help me out? With kindly regards, Jan Kromhout Hellevoetsluis-NL