Re: [Amforth] OT: Cycle accurate balanced assemly?

2015-11-03 Thread Michael
--> MCU1+2-ready-in When Master MCU0 is ready, it pulls those incomming sync-bits until all are set. Now master sets his ready port pin for MCU2 and MCU3. Now you are synced again. Proceed... Is that what was on your mind? Michael Am 02.11.2015 um 17:43 schrieb pito: > http://bretmulvey.

Re: [Amforth] Tiva anschließen

2016-09-23 Thread Michael
den tm4c1294 und den tm4c1294-ra. In beiden liegt mecrisp-stellaris-tm4c1294.bin Sind die gleich? Welche nehme ich? Was bedeutet -ra ? Michael -- ___ Amforth-devel mailing l

Re: [Amforth] Is this a bug ?

2015-01-31 Thread MIchael Kalus
2015-01-31 20:27 GMT+01:00 Andrew Holt : > : test ," Hello" cr ; does amforth realy have a ," word? (komma-quote) Try ." instead (dot-quote) mk -- Dive into the World of Parallel Programming. The Go Parallel Website, sp

Re: [Amforth] OT: Cycle accurate balanced assemly?

2015-11-04 Thread MIchael Kalus
Perhaps we should email? mik.ka...@gmail.com Am 04.11.2015 10:42 schrieb "Hannu Vuolasaho" : > > > Michael wrote: > > > > ; Were'synced > > ; calculate output part 1 > > ; wait 2300 cycles > > ; Read inputs > > ; Choose output port >

Re: [Amforth] My FM Radio Article

2015-12-21 Thread MIchael Kalus
And it was covered in Forth Magazin "Vierte Dimension" 4d2014-01.pdf www.forth-ev.de --> Menu: Download --> PDF-Archiv Michael 2015-12-21 15:24 GMT+01:00 craig and heather : > In case anyone is interested I also coded up the FM radio project in > AmForth. It is availa

Re: [Amforth] New release 6.2

2016-07-04 Thread MIchael Kalus
Is there a link to a list of those strange behaving? May be of use beyond amforth. Michael Am 04.07.2016 20:26 schrieb "Matthias Trute" : > Hi, > > It's been a long time since the last release but some strange > effects needed to be handled with the FRAM equipped MS

Re: [Amforth] AVR8 watchdog (reset and interrupt) atmega328p

2017-05-07 Thread MIchael Kalus
Müsste es dann nicht c!wd heißen? Michael 2017-05-07 15:42 GMT+02:00 Matthias Trute : > Hi Tristan, > > I've put your code online, revision 2252 contains the new > file. There is only one change: I renamed the wd! into !wdc. > It tells "store to watchdog control"

[Amforth] Installation of most current version

2019-04-06 Thread Michael Picco
Hello, I am trying to get back to amForth after a hiatus (last used 5.2). Is there a set of compiling instructions suited for version 6.7 using Atmel Studio 7? Thank you in advance! Michael ___ Amforth-devel mailing list for http

Re: [Amforth] Installation of most current version

2019-04-06 Thread Michael Picco
Hello Jan, Thank you for that!  I've located the hex files. What I can't seem to locate is 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 Amfo

[Amforth] Problem loading hex file into 328p

2019-04-19 Thread Michael Picco
Any help is greatly appreciated! Kind regards, Michael K6MLE ___ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel

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

2019-04-20 Thread Michael Picco
Thank you Jan! I have a Pololu programmer arriving on Monday.  I will give this a try with the Pocket Programmer as well. Kind regards, Michael K6MLE On 4/20/2019 2:47 AM, Jan Kromhout via Amforth-devel wrote: Hello, I use these with a pololu programmer v2.1 Laad de nieuwe versie

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

2019-04-20 Thread Michael Picco
work through the manual a bit ... printed out Release 6.7.  Then I might have more questions! I hope this old guy (me!) can re-learn enough to be able to make it interesting to a 17-year old that I'm trying to get interested in programming on the Arduino! Kind regards, Michael K6MLE

[Amforth] Newbie with a mega2560

2021-05-17 Thread Michael Picco
ave these correct? Once I get this figured out, I'd like to submit a write-up for newbies and perhaps draw more users into AmForth.  How might I get this posted, when completed? Thank you in advance! Kind regards, Michael ___ Amfor

Re: [Amforth] Newbie with a mega2560

2021-05-20 Thread Michael Picco
d the fuses; set the new files up in Studio 7 for flash and EEPROM; programmed the .hex and .eep files. Have a nice prompt for "amforth 6.9 ATmega2560 Forthduino" !!! I'm hoping this exercise might help others. Kind regards, Michael K6MLE On 5/18/2021 8:51 AM, tristan wrote: Hel

Re: [Amforth] Newbie with a mega2560

2021-05-20 Thread Michael Picco
device.asm (for the 2560) device.inc (for the 2560) dict_appl.inc dict_appl_core.inc LICENSE.txt m2560def.inc make.bat readme.txt uno.asm Hope this helps! Kind regards, Michael K6MLE On 5/20/2021 11:56 AM, Michael Picco wrote: Hello All! I have finally had success! It turns out that the .eep and

Re: [Amforth] Newbie with a mega2560

2021-05-20 Thread Michael Picco
rt of a hardware person's approach to 'Hello World!'  :) Kind regards, Michael K6MLE On 5/20/2021 12:41 PM, Michael Picco wrote: I should add the following changes to Craig Lindley's write-up: Step 3: Under Win10, the correct file location for avrasm2.exe will be: c:\Progr

Re: [Amforth] Newbie with a mega2560

2021-05-22 Thread Michael Picco
Did a warm boot and then executed 'words' to see what was there.  It came back with ?? -13 5. What came to mind is perhaps not enough memory is allocated prior to flashing and I'm overwriting something I shouldn't. Any ideas? Kind regards, Michael On 5/21/2021 1:28 AM, tr

Re: [Amforth] Newbie with a mega2560

2021-05-23 Thread Michael Picco
mehow.  Is there a setting required prior to flashing that I'm failing to set properly? Thanks in advance! On 5/22/2021 9:51 PM, George Herzog wrote: There are AmForth error codes. Read up on them. On Sun, May 23, 2021, 12:42 Michael Picco wrote: Hello! I seem to have stumbled across a

Re: [Amforth] Newbie with a mega2560

2021-05-24 Thread Michael Picco
m missing? Kind regards, Michael On 5/24/2021 10:19 AM, Martin Nicholas via Amforth-devel wrote: The crucial file to include for an ATmega is the confusingly named: "amforth-low.asm" which needs to be un-commented in template.asm. All the code is then in low flash memory apart from the

Re: [Amforth] Newbie with a mega2560

2021-06-16 Thread Michael Picco
.  It would be nice not to reinvent the 'wheel', if someone has already done the heavy-lifting! Kind regards, Michael K6MLE ___ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.

Re: [Amforth] Newbie with a mega2560

2021-06-18 Thread Michael Picco
  I bought a few of them (called Launchpads) and played with one for a while, but wanted to more than it was capable of at the time. So many parts ... so little time ... !!  :) Kind regards, Michael k6MLE On 6/17/2021 2:38 AM, Erich Wälde wrote: Hello Michael, Michael Picco writes: Hello! I

Re: [Amforth-devel] ?, c?, i? convenience words

2010-08-17 Thread Kalus Michael
Maybe this ist interersting for you then. Michael Am 17.08.2010 um 03:39 schrieb Marcin Cieslak: Below please find definitions of c?, i? and ? - I find them useful while exploring amforth (and AVR) interactively. --Marcin ; ( addr -- ) Numeric IO ; R( -- ) ; output single character

Re: [Amforth-devel] 2constant, 2variable, 2!, 2@, 2drop, 2dup and (2variable) words

2010-08-18 Thread Kalus Michael
Hi. You are right - its in gforth. g4 was fun to do, used it for some privat purpose with amforth. Its free, use it as you like. There is no manual. Michael Am 18.08.2010 um 23:00 schrieb pito: > g4 tool - interesting! On the first glance I tought I can run it in > amforth, then

Re: [Amforth-devel] Atmega support

2010-08-22 Thread Kalus Michael
Hi Andy. I'd realy like to take a look over your sholder when you do "built a couple of boards up" - video? How do you do it? Michael Am 22.08.2010 um 19:02 schrieb a...@kirbyand.co.uk: > Thanks mathias > > I have just received a couple of 1284's and built a c

Re: [Amforth-devel] Atmega support

2010-08-22 Thread Kalus Michael
ce 'of the shelf' micro for rough environment. Femal side has the ports, male connects to terminal and programmer. Michael Am 22.08.2010 um 22:27 schrieb a...@kirbyand.co.uk: > Michael > > I have yet to document and put up the board design I am using as it > is a > wor

Re: [Amforth-devel] Atmega support

2010-08-24 Thread Kalus Michael
the bootloader as in Arduinos, and since amforth needs the bootloader section on its own, this board is not good for amforth? I realy would like to have a board exactly like this, but amforth compatible . :-) Michael -- S

[Amforth-devel] 'read' an Edefered word?

2010-09-05 Thread Kalus Michael
ok » ' xx . 5390 ok » But how do I find out the NFA of XT 5390 now? Michael -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http

[Amforth-devel] arduino duemilanova

2010-09-07 Thread Kalus Michael
use and Windows as well. Michael -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd

Re: [Amforth-devel] Assembler - initial issues or bug

2010-09-09 Thread Kalus Michael
ples in paper VD1/2010 http://www.forth-ev.de/filemgmt/ viewcat.php?cid=53 worked with amforth3.6 still good with 4.1? Michael -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming ski

Re: [Amforth-devel] Marker etc.

2010-09-15 Thread Kalus Michael
e to do the changes mentioned in the file. (pushee has been called ,ee there.) Michael -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and acc

Re: [Amforth-devel] Marker etc.

2010-09-15 Thread Kalus Michael
will work. Include your restoresystem word in the cold start routine cold.asm - here you find how it may be done: Michael Am 16.09.2010 um 00:20 schrieb Al Williams: One of my many hats is that I am a "blogger" for the venerable Dr. Dobb's Journal (I used to do co

Re: [Amforth-devel] Marker etc.

2010-09-15 Thread Kalus Michael
may be its still good with 3.8 : : pushee ( -- ) here , heap , edp , edp 8 do i e@ , 2 +loop ; : popee ( adr n -- ) 0 do dup i + i@ i 2* 2 + e! loop drop ; : marker ( -- ) edp >r here >r pushee create r> , r> , does> >r r@ i@ r> 1+ i@ popee

Re: [Amforth-devel] Word header in asm

2010-09-15 Thread Kalus Michael
Hi. Here is an explanation example. Comments wellcome. http://dl.dropbox.com/u/1170761/2dup.asm Michael Am 15.09.2010 um 10:01 schrieb Marcin Cieslak: > On Wed, 15 Sep 2010, pito wrote: > >> Hi, >> is there any expalnation available on what these >> .dw $ff03;

Re: [Amforth-devel] Floating point - f* f/ in asm

2010-09-16 Thread Kalus Michael
time ticker of RTC, I guess. To see a word "as is" connect an oscilloscope to a port pin. let an empty loop toggle your port pin. Than add your word to the loop an run again. In the resulting frequency diffe

[Amforth-devel] see

2010-09-17 Thread Kalus Michael
cedence bits, 05 == count byte of name. Voilà. So we see the latest words compiled this way. Michael -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and

Re: [Amforth-devel] see

2010-09-17 Thread Kalus Michael
Am 18.09.2010 um 01:05 schrieb pito: > Hi Michael, > few Q (sorry, I am an forth language illiterate): > a) how the "here" knows what to deliver - next free address of flash > or next free address from ram? Oh, I'm sorry. Its in amforth-3.6. amforth-3.6 here == next

Re: [Amforth-devel] see

2010-09-18 Thread Kalus Michael
Hi Pito. Looks like a kind of disassembler. So ff is subroutine threaded forth? amforth is token threaded code (TTC). Here we want an disforther. ;-) Thanks for the info. Michael Am 18.09.2010 um 10:08 schrieb pito: > Michael, > so I fired up ff and this is what I can see: > > ok&

Re: [Amforth-devel] How TO - dict_x for bigger atmegas

2010-09-18 Thread Kalus Michael
in amforth. - specific tasks for a device go to amforth-x.x/appl///words Now finaly - after having included amforth.asm - includes all specific task words by including one . This then includes all the words in ..//words. So I hope things work out now this way. :) Michael

Re: [Amforth-devel] How TO - dict_x for bigger atmegas

2010-09-19 Thread Kalus Michael
llen/amforth-4.1 michael$ grep -i -R rjmp core/*.* appl/*.* appl/atmega2561/*.* appl/atxmega/*.* core/amforth-low.asm:rjmp DO_NEXT core/amforth-low.asm:rjmp DO_EXECUTE core/amforth.asm:rjmp DO_NEXT core/amforth.asm:rjmp DO_EXECUTE PowerBook:~/amforth/amforthQuellen/amforth-4.1 michael

Re: [Amforth-devel] How TO - dict_x for bigger atmegas

2010-09-19 Thread Kalus Michael
, so simply turn all WANTs on. Michael Am 19.09.2010 um 12:27 schrieb pito: > Michael, thanks! So there are dependencies.. > Provided the xx.asm files contains an .org or something like that > the dict_ file must not be organised specificly, maybe.. > > E.g. first idea: > #

Re: [Amforth-devel] Experiments with marker

2010-09-19 Thread Kalus Michael
and its content you created AFTER a newly flashed amforth but BEFOR setting a mark. marker new as first instruction in a fresh flash will reset amforth. Any issues with this version? Michael Am 19.09.2010 um 17:54 schrieb Al Williams: > Observing the behavior of Marker -- it removes wo

Re: [Amforth-devel] >FLOAT

2010-09-30 Thread Kalus Michael
.dw XT_DECIMAL .dw XT_DOT .dw XT_G_IN .dw XT_FETCH .dw XT_DOT .dw XT_R_FROM .dw XT_BASE .dw XT_STORE ; then .dw XT_CR; mk .dw XT_EXIT

Re: [Amforth-devel] >FLOAT

2010-09-30 Thread Kalus Michael
quot; is last thing to do. amforth4.2 has this behavior now. Maybe you found a side effect of this new behaviour. But there shoud be some kind of "smudge" word to solve this problem then. Michael Am 30.09.2010 um 15:44 schrieb pito: > Yes, it is something with 4.2. I'm back to

Re: [Amforth-devel] >FLOAT

2010-09-30 Thread Kalus Michael
.dw XT_DOLITERAL .dw COLON_SMUDGE .dw XT_FETCH .dw XT_GET_CURRENT .dw XT_ESTORE .dw XT_EXIT Then code your >float and execute smudge thereafter. Use smuge after every code definition. Maybe we should put it into the end-code word. Hope it does the job and you find y

Re: [Amforth-devel] >FLOAT

2010-09-30 Thread Kalus Michael
r> r> ; .. This indeed won't work. Use 2>r and 2r> instead, they are provided in core/words allready. Maybe you like this littel brainteaser: http://www.forth-ev.de/wiki/doku.php/enigmatic:to-r_r-from :-) Michael ---

[Amforth-devel] qmark.asm

2010-10-02 Thread Kalus Michael
Hi. maybe you like to have it in your dict_appl.inc, so .include "words/qmark.asm" there. Michael -- Start uncovering the many advantages of virtual appliances and start using them to simplify a

Re: [Amforth-devel] qmark.asm

2010-10-03 Thread Kalus Michael
amforth-devil ;-) mailing list stripped attachment. So use link please to get the file: http://dl.dropbox.com/u/1170761/qmark.asm Michael Am 03.10.2010 um 09:37 schrieb pito: > ..did you send an attachment? P. > > - PŮVODNÍ ZPRÁVA - > Od: "Kalus Michael" &g

[Amforth-devel] see deferred words

2010-10-06 Thread Kalus Michael
Hi. how can I see what word a defered word will execute? gforth: defer test ok : xxx 11 22 33 . . . ; ok xxx 33 22 11 ok .s <0> ok ' xxx is test ok test 33 22 11 ok .s <0> ok see test : xxx 11 22 33 . . . ; latestxt Defer test IS test ok

[Amforth-devel] evaluate

2010-10-07 Thread Kalus Michael
Hi. Is there an evaluate for amforth? Michael -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewri

Re: [Amforth-devel] Reference Card

2010-10-26 Thread Kalus Michael
I like to use such ref cards - great! Thank you! Michael Am 25.10.2010 um 20:19 schrieb Matthias Trute: > hi all, > > I recently spent some time on updating the documentation > headers in many assembly files. The result is a pdf file > on the project hom

Re: [Amforth-devel] Help with LOAD

2010-11-10 Thread Kalus Michael
Hi Karl. Maybe you want to take a look at old volksforth - it had blocks on flopy disk as forth source. http://www.forth-ev.de/wiki/doku.php/words:volksforth_kernel ... : source ( -- addr len ) blk @ ?dup IF loadfile @ (block b/blk exit THEN tib #tib @ exit ; ... Michael Am 10.11.2010 um

Re: [Amforth-devel] Difficulty with Hello World exercise

2011-03-23 Thread Kalus Michael
Hi. http://dl.dropbox.com/u/1170761/aStudio4b589.exe michael Am 23.03.2011 um 07:09 schrieb D Nyberg: > On 3/22/2011 2:35:17 AM, pito (p...@volna.cz) wrote: >> Which AvrStudio4 build do you run? I've upgraded to the latest 716 >> and the Hapsim2.17 does not hook.. >&g

Re: [Amforth-devel] Progress and More Difficulties with Hello World exercise

2011-03-29 Thread Kalus Michael
eginning of each line in my forth sources to handle this situation. This way interpretation of a line stays successful even if some characters are lost in the handshaking process. : hallo ." hallo world" ;

Re: [Amforth-devel] Progress and More Difficulties with Hello World exercise

2011-03-31 Thread Kalus Michael
has XONXOFF at the beginning ans FINIS at end of code. There is en errorhandler as well that may by turnd on and off. My amforthversion 3.6 uses pollling method for USART. Michael Am 30.03.2011 um 23:24 schrieb Marcin Cieslak: >>> Kalus Michael wrote: >> I use ZTerm with Mac O

Re: [Amforth-devel] Speed analysis..

2011-04-03 Thread Kalus Michael
2 1000 1000 + . ; What runtimes did you find now? Michael -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to

Re: [Amforth-devel] Speed analysis.. "one"

2011-04-03 Thread Kalus Michael
.set VE_HEAD = VE_1 XT_1: .dw PFA_DOVARIABLE PFA_1: .dw $1 ; forth: ; 1 constant 1 Wonder which one is faster? Michael -- Create and publish websites with WebMatrix Use the most popular FREE web app

Re: [Amforth-devel] Starting amforth

2011-04-08 Thread Kalus Michael
fee break forth > prompt over serial cable could be used for that. Or can it? You will have to set up a real time clock in your device first I guess, using a timer interrupt to count down the seconds, minutes, hours. Michael -

Re: [Amforth-devel] Starting amforth

2011-04-09 Thread Kalus Michael
Hi Hannu. Am 09.04.2011 um 21:57 schrieb Hannu Vuolasaho: > > Hi Michael and rest of you! > > Thanks for kind answers. Those were very enlightning. I'll bring > these new questions up so that beginners like myself doesn't need > to ask them over again (if they ca

Re: [Amforth-devel] Starting amforth

2011-04-10 Thread Kalus Michael
forth.html Or look at dpans forth: http://www.complang.tuwien.ac.at/forth/dpans-html/ Michael -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it w

[Amforth-devel] icall

2011-04-13 Thread Kalus Michael
Hi. Recently someone asked how otherwise imported subroutines (c-code) can be used by amforth. You may use icall of AVR instruction set to do so. Include icall.asm example in your application to test it. Add more stack to register moves if necessary for a given subroutine. Michael ; ( adr

[Amforth] relister.fs

2011-05-01 Thread Kalus Michael
to name of your application.lst file. Then do: gforth relister.fs > newsource.asm Made it to have applications in ONE file independent of current amforth core, so versions may be followed with diffmerge tools. ;-) Have

[Amforth] delister *.lst to *.asm

2011-05-14 Thread Kalus Michael
se delister! Have fun. Michael -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boos

Re: [Amforth] Interpreter activity monitor

2011-06-04 Thread Kalus Michael
e DO_EXECUTE part of inner interpreter as shown below. You get a short positive pulse of constant width followed by a low gap indicating the time amforth spends elsewhere. Michael DO_EXECUTE: sbi A,b ; Set bit in I/O register, 2 cycles <--- movw zl, wl; 1 cy

Re: [Amforth] amForth 4.7 atmega328p (uno) hangs while entering simple colon or constant definitions

2012-03-01 Thread Kalus Michael
Hi. Is there any XOFF/XON mechanism active? Could you visualise ALL characters transmitted from device to terminal? And source to device? (ASCII-Code 0 to 31 and 127) Michael Am 01.03.2012 um 01:48 schrieb Charles Summers: > I really appreciate all the help. Unfortunately things are st

Re: [Amforth] bset and bclr

2012-05-13 Thread Kalus Michael
Hi. BSET and BCLR in 4e4th where renamed to CSET and CCLR. They are MSP430 specific code since the MSP supports bit set and bit clear instructions at any address. Michael ;U Bit manipulation words -- ; based on http://www.forth.org

Re: [Amforth] Where to store my word?

2012-06-13 Thread Kalus Michael
E_UITVOER XT_UITVOER: .dw DO_COLON PFA_UITVOER: .dw XT_CR .dw XT_CR .dw XT_SLITERAL .dw $18 .db "Dit is mijn eerste test " .dw XT_ITYPE .dw XT_EXIT ok Have fun. :) Michael Am 13.06.2012 um 22:20 schrieb Jan Kromhout: > Hello, > > I have

Re: [Amforth] Where to store my word?

2012-06-14 Thread Kalus Michael
Hi Jan. Am 14.06.2012 um 07:53 schrieb Jan Kromhout: > Hi Michael, > > Thanks for this! > Have two questions > 1. Is this also working for the 4.8 version There was a mayor change in the way the headers where build between amforth-2.9 and amforth-3.1. As far as I know that

Re: [Amforth] Where to store my word?

2012-06-14 Thread Kalus Michael
at: http://www.forth-ev.de/repos/g4/ which is basically functioning. Michael -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed an

Re: [Amforth] Where to store my word?

2012-06-16 Thread Kalus Michael
forth IMMEDIATE command. So we have to do that first. See the source of G4 to learn how this is build. Michael Am 16.06.2012 um 15:04 schrieb Jan Kromhout: > Hello, > > Thanks for that. This is clear to me. > I found annother difficulty. > How to deal with the word imme

Re: [Amforth] Where to store my word?

2012-06-16 Thread Kalus Michael
Hi Jan. > @i @I is in the 'simple words' list at the end of G4 source file. Just edit its line to your needs. Same with @E !I !E as Erich mentioned. Thanks for the bug report. Fixed it, it is in the repos now. Michael Am 16.06.2012 um 12:40 schrieb Jan Kromhout: > Dear Mi

Re: [Amforth] Where to store my word?

2012-06-17 Thread MIchael Kalus
Hi Jan. .. > I also not find the win32 forth version any more! > Please can you take a look! Its still there and updated: http://www.forth-ev.de/repos/g4/g4w32f.fs m -- Live Security Virtual Conference Exclusive live ev

Re: [Amforth] Where to store my word? ..bitnames

2012-06-19 Thread Michael Kalus
ile, forth will return to command line then. Modified file and resulting file is appended. Michael PS: Pito is right, for a real app an assembled version is faster. m -- next part -- Am 18.06.2012 um 16:02 schrieb Jan Kromhout: > > Dear Michael, > > I

Re: [Amforth] Bug

2012-09-12 Thread Michael Kalus
Hi. gforth: 0 0 10 within . -1 ok -1 0 10 within . 0 ok 9 0 10 within . -1 ok 10 0 10 within . 0 ok Michael Am 12.09.2012 um 14:43 schrieb Hannu Vuolasaho: > > Hello! > > I had standard : > Secretariat > > Computer and Business Equipment Manufacturers Association

Re: [Amforth] From frt to asm

2012-10-27 Thread Michael Kalus
Hi, if you need any help with g4 just ask me. Michael Am 27.10.2012 um 20:13 schrieb Erich Waelde: > Hi, > > On 10/27/2012 08:06 PM, Enoch wrote: >> Is there an automated method to compile frt to asm to skip >> uploading of >> debugged words? > > Have a

Re: [Amforth] From frt to asm

2012-10-27 Thread Michael Kalus
in those examples at the end of g4 source. And append more there. Michael > > Maybe there should be link on amforth web page to this tool. > > And if amforth-shell maintainer want to catch feature request I'd > like to see this as part of it. Then it would be nice to sa

Re: [Amforth] inner interpreter operation.

2013-02-02 Thread Michael Kalus
s are also called "defining words". VARIABLE defines a new forth word, that has one cell of ram to hold an item. When this word is executed, it puts the address of its ram cell on stack - that is the 'subroutine' part of it. Michael > > Thanks for any light yo

Re: [Amforth] Useful?

2013-02-14 Thread Michael Kalus
word will execute the SBI instruction. Michael Am 14.02.2013 um 20:14 schrieb Matthias Trute: > hi Enoch, > > >> I'd like to see this forum also offering code snippets, so here's my >> first humble attempt of harnessing the atomic bit manipulation >>

Re: [Amforth] Development request

2013-02-19 Thread Michael Kalus
Hi. > Comments? :-) Michael Am 19.02.2013 um 22:36 schrieb Enoch: > G'day to you to you all, > > I found something that seems to me useful on http://www.4e4th.eu/ > > WIPE ( -- ) Back to original status. Stacks unchanged. uarea back to > original. > >

Re: [Amforth] Development request

2013-02-20 Thread Michael Kalus
case, we here should focus on Forth code that utilizes Atmel's > AVR special features and quirks. In this connection I patiently > wait for > Matthias to recognize/decline my SBI/CBI utilization macros ;-) I like it. Regards, Michael > > Regards, Enoch. > > >> >

Re: [Amforth] Development request

2013-02-20 Thread Michael Kalus
nchPad. It just erases user flash and executes FACTORY then. FACTORY moves a ROM tabel to RAM user area, clears variable area in RAM to zero, and does a SAVE on it so that 'factory settings' is the new app, and runs into ABORT. There is no eeprom, and we do not have to take care of othe

Re: [Amforth] .S “dot-s”

2013-03-02 Thread Michael Kalus
Hi. .. > Should I mention, that I collect good tools and ideas? ;) >> Here is the old form for your collection. It is "Stack UnderFlow" save, telling "SUF" if you do one. Maybe you have it already. Micha

Re: [Amforth] .S “dot-s”

2013-03-02 Thread Michael Kalus
Hi. Am 02.03.2013 um 21:27 schrieb Enoch: > : .s ( -- ) \ stack picture listing order > depth > begin dup while dup pick . 1- repeat > drop > ; Maybe you want to have that in assembler. mk -- next part -- -

Re: [Amforth] .S “dot-s”

2013-03-03 Thread Michael Kalus
Oh, sorry. Forgot that the list strips attachments. Michael ; Enochs .S VE_DOTS: .dw $FF02 .db ".s" .dw VE_HEAD .set VE_HEAD = VE_DOTS XT_DOTS: .dw DO_COLON PFA_DOTS: ; ( -- ) ; stack picture listing order .dw XT_DEPTH PFA_DOTS0: .dw XT_DU

Re: [Amforth] Variations on .S

2013-03-05 Thread Michael Kalus
tive power of the factual") Brodies I like best. Unfortunately he does not tell us how the negative numbers are treated. Regards, Michael :-) - Revision of Examples gforth: 11 -22 33 .s <3> 11 -22 33 ok win32forth: 11 -22 33 .s [3] 11 -22 33 ok... (with a dot for each item, none if

Re: [Amforth] CVARIABLE

2013-03-21 Thread Michael Kalus
Hi. What about mnemonic conventions like .s .r .line ." xxx" or key? ?DO and such? Don't we already use such "unwritten laws"? Michael Am 21.03.2013 um 21:24 schrieb Enoch: > Matthias Trute writes: > >> Hi Wis, >> >>> It may be

Re: [Amforth] MARKER

2013-05-05 Thread Michael Kalus
ion. ; : ,ee ( -- ) ; here , heap , edp , edp 8 do i e@ , 2 +loop ; ; : popee ( adr n -- ) ;0 do dup i + i@ i 2* 2 + e! loop drop ; ; : marker ( -- ) ; edp >r here >r ; ,ee create r> , r> , ; does> >r r@ i@ r> 1+ i@ popee ; Regards, Michael -- next par

Re: [Amforth] Waking up a dormant forum :-)

2013-06-07 Thread Michael Kalus
Use whatever routine you like, a great pit. A good job Matthias did there - no not Trute, is Koch this time. :-) Good luck! Michael Am 07.06.2013 um 10:11 schrieb Rafael Gonzalez: > One of the criteria that you should use is that the pure assembly > implementation should not exceed >

Re: [Amforth] Waking up a dormant forum :-)

2013-06-07 Thread Michael Kalus
Hi. Am 08.06.2013 um 02:37 schrieb Enoch: > "Michael Kalus" > writes: > >> Hi. >> >>> ..but not sacrifying compactness >> >> Here is what you can do with NO vm kernel word at all: >> http://mecrisp.sourceforge.net/ >>

[Amforth] Adding 1-wire, or other abilities to amForth

2013-06-12 Thread Michael Picco
gards, Michael -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Amforth-devel mailing list for http://amforth.s

[Amforth] What files are put in which locations to get 1-wire running on an ATmega2560 platform?

2013-08-15 Thread Michael Picco
Any guidance is appreciated. Regards, Michael -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottleneck

Re: [Amforth] What files are put in which locations to get 1-wire running on an ATmega2560 platform?

2013-08-15 Thread Michael Picco
atmega2560 project? Thanks again! Michael On 8/15/2013 12:53 PM, Erich Waelde wrote: > Hello Michael, > > On 08/15/2013 09:24 PM, Michael Picco wrote: >> I am using the avrispMK2 and Atmel Studio 5.0. >> >> ... The other >> question I have is the where in t

Re: [Amforth] What files are put in which locations to get 1-wire running on an ATmega2560 platform?

2013-08-16 Thread Michael Picco
Hello Erich, Thank you! This is very helpful. Will give it a try over the weekend and see how things play out. Regards, Michael On 8/16/2013 10:39 AM, Erich Waelde wrote: > Hello Michael, > > On 08/16/2013 01:01 AM, Michael Picco wrote: >> Hello Erich, >> >> Than

Re: [Amforth] What files are put in which locations to get 1-wire running on an ATmega2560 platform?

2013-08-16 Thread Michael Picco
Forgot to mention ... I am only using the 2560 and an Uno ... no Butterfly in use at all. On 8/16/2013 10:39 AM, Erich Waelde wrote: > Hello Michael, > > On 08/16/2013 01:01 AM, Michael Picco wrote: >> Hello Erich, >> >> Thank you for the reply. Can I safely assu

[Amforth] Warnings using Atmel Studio 6.1

2013-10-09 Thread Michael Picco
ouble-checking my work several times. Any idea what might be causing this? Is it a warning that could prevent successful running on the target device? Thanks, Michael -- October Webinars: Code for Performance Fr

Re: [Amforth] Warnings using Atmel Studio 6.1

2013-10-10 Thread Michael Picco
Programmed the resulting hex/eep files into the Uno and version 5.1 comes up just fine. Still not sure why the warning came up, but amForth appears to be working as expected. Michael On 10/9/2013 3:01 PM, Michael Picco wrote: > Hello, > > I keep getting the following warning when

[Amforth] Where to include a file in Atmel Studio?

2013-10-10 Thread Michael Picco
into the project template (mine is called amForth-5.asm) at a point just after the line: .include "drivers/usart_0.asm" This gave me a bucket of errors! Can anyone help me over this minor hump? Thanks, Michael --

Re: [Amforth] Where to include a file in Atmel Studio?

2013-10-10 Thread Michael Picco
Hi Matthias, Thank you for both replies. I'll take another look at the cookbook reference. My final question still remains: at what point in my project template file does 1wire.asm get included? Thanks again! Michael On 10/10/2013 10:57 AM, Matthias Trute wrote: > Hi Michael, &

Re: [Amforth] Where to include a file in Atmel Studio?

2013-10-10 Thread Michael Picco
Perhaps I've figured it out! I inserted the two equates into the project master file and followed that with the include for 1wire.asm. Now the new words 1w.reset and 1w.slot are appearing on my Uno! Now for some 1-wire development! Thanks again! Michael On 10/10/2013 11:00 AM, Mi

[Amforth] Marker?

2013-10-10 Thread Michael Picco
marker.frt', it tells me 'set-current' isn't defined. Where do I find it? Thanks, Michael -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application perfor

Re: [Amforth] Marker?

2013-10-10 Thread Michael Picco
Thanks Erich! That wasn't quite clear in the write-up. Having made that change, it's now working. Regards, Michael On 10/10/2013 1:02 PM, Erich Waelde wrote: > Hello, > > On 10/10/2013 09:48 PM, Michael Picco wrote: > > I noticed that the documentation regarding

  1   2   >