... Just about 2 weeks ago I've added a library to Jallib for using flash (code) memory to save data over a power/reset cycle. It is designed for a specific...
32530
Henk van Broekhuyzen
henkvanbroek...
Jul 24, 2012 10:18 pm
I think: var dword result var byte result_arr[4] at result result = 0 And then you have to store the Least-significant byte at results_arr[0] And if you have...
32531
a_b_aldus
Jul 25, 2012 5:45 am
... Lets say you need 8K of bytes (13 addresses and 8 data and 1 OE and one CE). You would need 8K words of code to store this MOST efficient way plus some...
32532
a_b_aldus
Jul 25, 2012 5:58 am
This is called 'variable length encoding of integer value' and actual code (of effective function) depends on lot of implementation details. I could give you...
32533
Rob Hamerling
digithalys
Jul 25, 2012 7:06 am
Hans, ... It's not clear to me in which direction you need the conversion. Do you want a binary (dword) value be converted to a 7-bits 'encoded39; format or a...
32534
Hansv
hansvanveldh...
Jul 25, 2012 9:22 am
Rob, You are right. I receive 1 to 4 bytes in variable lenght and have to convert then in a normal 8 bits value.The solution from Arcadi is the opposite So if...
32535
Rob Hamerling
digithalys
Jul 25, 2012 9:50 am
... Regards, Rob. -- R. Hamerling, Netherlands --- http://www.robh.nl...
32536
Hansv
hansvanveldh...
Jul 25, 2012 9:51 am
As far as I have understood the actions have to be as follows: example; received ; 0x81 0x00 I have to receive until the receive value < 128 are 1000_0001...
32537
Rob Hamerling
digithalys
Jul 25, 2012 9:54 am
Hi Hans, ... (the condition to exit the loop is: bit7 == 0) Regards, Rob. -- R. Hamerling, Netherlands --- http://www.robh.nl...
32538
Hansv
hansvanveldh...
Jul 25, 2012 11:03 am
Rob, Arcadi, Henk Thanks for your help. great. Hans...
32539
Matthew Schinkel
mattschinkel
Jul 27, 2012 9:17 am
Great job! It's always nice to see JAL running on other processors. It would be cool to have this run on linux or windows with some kind of hardware IO pins to...
32540
Wouter van Ooijen
wvooijen
Jul 28, 2012 9:37 am
... I have done some fun experiments running C++ on the Pi bare-metal, when the Jal-to-C translation is working we could run Jal on a Pi without Linux and its...
32541
ivan.jal33
Jul 31, 2012 2:02 pm
... I am definately interested in C to JAL, and would consider helping to develop it. What do you have so far, completed? ivan.jal33...
32542
jsuijs
Jul 31, 2012 7:25 pm
Interesting developments indeed! Do I understand correct that the JAL code is actually running in a python emulator? And if so, would a C emulator provide an...
32543
Wouter van Ooijen
wvooijen
Jul 31, 2012 7:31 pm
... Which were the remaining issues? -- Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl ...
32544
Matthew Schinkel
mattschinkel
Aug 1, 2012 2:55 am
One issue I can think of is that it would require current JAL to run the same without modifications. I think Joep said that would be difficult to have a 100%...
32545
jsuijs
Aug 1, 2012 7:31 am
Hi Wouter, The first attempt (called JAT - Just Another Translator) was based on an antlr grammar definition and provided a flexible way to write code in JAL...
32546
jallist@yahoogroups.com
Aug 1, 2012 1:17 pm
1 The very beginning: JAL FAQ version 1.0 March 23, 2008 1 1.1 JAL? PIC? Where do I start? 1 1.2 Where to get JAL? 1 1.3 Which PIC? 2 1.4 What's all this JAL...
32547
davepaxton4994
Aug 1, 2012 5:27 pm
Hello All Just noticed a refererence to a variable jal_build in a Library module written by Matthew Schinkel. Can anyone provide a reference listing this and...
32548
zz
zmafoox
Aug 1, 2012 8:31 pm
Greetings, ... You're right, I need to document these. Sorry. Here's a quick list: CONST jal_version = Mmmm Where M is the major version (currently 2) and mmm...
32549
jsuijs
Aug 1, 2012 8:53 pm
Hi Matt, ... It is next to impossible to have 100% compatibility on the antlr path. This means the most desirable option is not available. This still leaves...
32550
a_b_aldus
Aug 2, 2012 1:04 am
... Why such dialect should be introduced? Except probably to fix JAL grammar problems (there are many in some obscure corners of the language - due to...
32551
jsuijs
Aug 2, 2012 5:56 am
Hi Arcady, I use 'dialect39; to refer to slightly different behavior at specific points. For example an in/out variable iin jat is implemented by reference, so...
32552
Wouter van Ooijen
wvooijen
Aug 2, 2012 9:54 am
... I dunno how the semantics of the current Jal are defined. My original Jal *behaved* that way, but the *definition* allowed for both implementations (either...
32553
jsuijs
Aug 2, 2012 2:55 pm
Hi Wouter, ... Good point! I considered the current JAL compiler behaviour as a reference implementation, and so do others when the aim at 'recompile code...
32554
vasi
funlw65
Aug 2, 2012 6:39 pm
It would be great if Kyle begin writing a Jalv2 compiler for, let's say, ATmega328P - then it would be "easy" to extend the support for ATmega168P, ATmega644P,...
32555
vasi
funlw65
Aug 3, 2012 5:04 pm
In support for this proposal, Great Cow Basic, and open source Basic compiler come with support for both PIC and AVR microcontrollers: ...
32556
zz
zmafoox
Aug 3, 2012 5:24 pm
Greetings, ... Just for fun I downloaded & am looking at the AVR instruction set. Wow! It makes the PIC instructions look almost sane....
32557
phtz01
Aug 3, 2012 7:31 pm
Hello I have a big prgm compiled with JAL 0.4.59 Could I modify this prgm with an update JAL? Thanks a lot Phil...
32558
a_b_aldus
Aug 4, 2012 2:37 am
It depends - mostly from the amount of time you are willing to invest and how well is your understanding of the program - especially if lot of device dependend...