Hi
I have used the following definitions to aid allocating user defined exceptions.
In my forth implementation, EXCP# variable is always reset to -4096 at boot
time.
Greetings
Rafael
\ EXCEPTION Number handling
VARIABLE EXCP# \ initialized to -4096 EXCP# ! at boot time
: EXCP-RANGE: ( n1
Hi Matthias
Reviewing the file lib/ans94/core-ext/exceptions.frt
: ?throw ( f exc -- )
if throw then
;
: ?comp ( -- )
state @ 0= -&14 ?throw
;
: ?pairs ( n1 n2 -- )
- -&22 ?throw
;
I think that the definition of ?throw - as intended in ?comp and ?pairs - is
not correct, as
ok, understood. Thank you !
So the optimized routine would be
do_spirw:
out_ SPDR, tosl
do_spirw1:
in_ temp0, SPSR
sbrs temp0, 7
rjmp do_spirw1 ; wait until complete
in_ tosl, SPDR
ret
Greetings
Rafael
El Viernes 29 de agosto de 2014 19:37, Matthias Trute escribió:
Hi Amforthers,
I was learning a bit about the internals of the SPI driver and finally found
the "core" word c!@spi
I'm comparing side by side the assembler source with the 328P datasheet
(=Arduino) and I can't understand completely the purpose of some of this code,
which I list here for conven
You could use a Finite State Machine module. AFAIK, there is one included in
the latests amforth release
br
Rafael
De: Hannu Vuolasaho
Para: "amforth-devel@lists.sourceforge.net"
Enviado: Sábado 24 de agosto de 2013 15:55
Asunto: [Amforth] Making menus to LC
One of the criteria that you should use is that the pure assembly
implementation should not exceed
in size to the VM assembly implementation +10% (let's give a margin, ok?)
Speed, yes but not sacrifying compactness
Rafael
De: Enoch
Para: amforth-devel@lists.so
Other interesting papers by the same author
http://www.holonforth.com/holon/papers/ef89.htm
http://www.holonforth.com/holon/papers/ef94.htm
http://www.holonforth.com/holon/papers/ef95.htm
De: Rafael Gonzalez
Para: Everything around amforth
Enviado: Martes
I think the python script is becoming more and more complex.
Maybe it is the time to switch to an umbilical-like system.
For that, a new tool is needed and HolonU may be what your are looking for.
http://www.holonforth.com/new/holon.html
Probably you can attach a communication backend to the ta
mmm ... I think the 200x proposal misses EEPROM as Data space
De: Matthias Trute
Para: Everything around amforth
Enviado: Miércoles 10 de abril de 2013 20:58
Asunto: Re: [Amforth] imove
Hi,
> May I suggest renaming the new implementation of imove
> ( i-ad
Sorry, I was referring to Flash addresses. :-)
De: Matthias Trute
Para: Everything around amforth
Enviado: Martes 2 de abril de 2013 20:08
Asunto: Re: [Amforth] Quite trivial
Hi,
> Maybe it is a trivial observation, but I see that 2/ is a bad idea for
> ad
Maybe it is a trivial observation, but I see that 2/ is a bad idea for
addresses > 32KWhatever (bytes or words)
since sign propagation will produce an incorrect address. I defined u2/ myself
for that purpose.
cheers
Rafael
De: Enoch
Para: amforth-devel@list
: Enoch
Para: amforth-devel@lists.sourceforge.net
Enviado: Sábado 16 de febrero de 2013 19:55
Asunto: Re: [Amforth] Code snippet
Rafael Gonzalez writes:
> Hi, If you want to do a variable jump vector table, that is fine
>
> If you jump vector table has a known size, you' may also
Hi, If you want to do a variable jump vector table, that is fine
If you jump vector table has a known size, you' may also use forth200x
structures for field names.
That is the approach of forths like VFX Forth for its I/O vectors (GENIO
drivers)
For something more sophisticated as Finite State
t.asm file is
missing.
Greetings
Rafael
De: Enoch
Para: amforth-devel@lists.sourceforge.net
Enviado: Sábado 16 de febrero de 2013 18:32
Asunto: Re: [Amforth] no-wdt
Rafael Gonzalez writes:
> Hello list
>
> Trying to include dict_mcu.inc, I c
Hello list
Trying to include dict_mcu.inc, I can't find file words/no-wdt.asm
It seems this file is missing from the distribution (amforth-5.0 or
amforth-code trunk)
Greetings
Rafael
--
The Go Parallel Website, sponsore
OK, I found this is a known issue in the build.xml file
I'm resending my Makefile. I forgot to include source files dependencies.
Cheers
Rafael
- Mensaje original -
De: Rafael Gonzalez
Para: "amforth-devel@lists.sourceforge.net"
CC:
Enviado: Sábado 9 de febrer
16 matches
Mail list logo