JAL 4.59 improvements
Can the WIN32 jal.exe write its output to std_out, so it
can be redirected in a file or piped into more?
Now there is no way to see what the options are.
Under *nix, this already works.
jal 0.4.59 (MSVC 1310.0)
> error: variable expected???
> file 'kasbrd12.jal' line 74 char 23
> : var bit revcounter is pin_a6 -- juice for IR-LED in CNY70
> : ----------------------^^^^^^
Is turns out there are some pins missing from jpic.jal
>var volatile bit pin_a6 at port_a : 6No, not all PICs have full access to port_a. But more and more will.
>var volatile bit pin_a7 at port_a : 7
>var bit pin_a6_direction at trisa : 6
>var bit pin_a7_direction at trisa : 7
>procedure pin_a6_direction'put( bit in d at trisa : 6 ) is
>procedure pin_a7_direction'put( bit in d at trisa : 7 ) is
>procedure port_a_high'put( byte in x ) is
> _port_a_buffer = ( _port_a_buffer & 0x0F ) | ( x << 4 )
>function port_a_high'get return byte is
> return _port_a_buffer >> 4
Even the F628 has pin_a6 and pin_a7. So this should be added to
>procedure port_a_high_direction'put( byte in d ) isThis is already in jpic.jal??
> var byte a at trisa = ( trisa & 0x0F ) | ( ( d & 0x0F ) << 4 )
The pins were in the old jpic.jal, why were they removed?
Ir. E.E. van Andel, Fine Wire Heat Exchangers, Fiwihex B.V. www.fiwihex.com
Wierdensestraat 74, NL-7604 BK Almelo, The Netherlands eur@...
phone +31-546-491106 fax +31-546-491107 mobile +31-653-286573
- Hi Eur,
> Can the WIN32 jal.exe write its output to std_out, so itYes, in the same way.
> can be redirected in a file or piped into more?
jal kas13_3b.jal >> out.txt
jal kas13_3b.jal | more
> Is turns out there are some pins missing from jpic.jalPerhaps nobody erased this part, maybe the changes were made after
> The pins were in the old jpic.jal, why were they removed?
the file was splitted and not updated in both files.
Can you update this part?