Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Software Tools SPICE, PCB CAD, speaker design and measurement software, calculators

Jal language help
Jal language help
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 17th April 2015, 03:58 PM   #21
thimios is offline thimios  Greece
diyAudio Member
 
Join Date: Aug 2009
Location: Agrinion
Ok is a working hex!
Thanks rsavas
Some pictures
1&2&4 the development board(Elektor published)
3)a screen capture during procedure
5)the welcome message
6)preamplifier control board(Elektor published)
7)preamplifier power supply
8)preamplifier inp.selector
9)development board & ICD2 clone(Elektor published)
I must report that i.c programmer didn't working good under WinXP
Attached Images
File Type: jpg DSC08918.JPG (567.7 KB, 34 views)
File Type: jpg DSC08912.JPG (573.2 KB, 34 views)
File Type: jpg DSC08916.JPG (540.1 KB, 21 views)
File Type: jpg DSC08919.JPG (559.6 KB, 20 views)
File Type: jpg DSC08927.JPG (533.8 KB, 21 views)
File Type: jpg DSC08929.JPG (604.3 KB, 17 views)
File Type: jpg DSC08930.JPG (528.5 KB, 11 views)
File Type: jpg DSC08931.JPG (589.4 KB, 13 views)
File Type: jpg DSC08933.JPG (601.3 KB, 14 views)

Last edited by thimios; 17th April 2015 at 04:16 PM.
  Reply With Quote
Old 17th April 2015, 04:49 PM   #22
rsavas is offline rsavas  Canada
diyAudio Member
 
Join Date: Aug 2012
Location: Ontario
very good, glad to see it is working correctly.

cheers
Rick
  Reply With Quote
Old 17th April 2015, 04:55 PM   #23
thimios is offline thimios  Greece
diyAudio Member
 
Join Date: Aug 2009
Location: Agrinion
Quote:
Originally Posted by rsavas View Post
very good, glad to see it is working correctly.

cheers
Rick
Thanks Rick!
Now i have a fish but i don't know the fishing way
  Reply With Quote
Old 17th April 2015, 10:29 PM   #24
rsavas is offline rsavas  Canada
diyAudio Member
 
Join Date: Aug 2012
Location: Ontario
so i supply the worm,
funny you mention fishing, we are eating some Perch from Lake Simcoe tonight.
caught this winter ice fishing.
  Reply With Quote
Old 18th April 2015, 06:19 AM   #25
thimios is offline thimios  Greece
diyAudio Member
 
Join Date: Aug 2009
Location: Agrinion
If it isn't big effort for you , some screen schots will be useful to see how this(programming) done
  Reply With Quote
Old 18th April 2015, 04:46 PM   #26
rsavas is offline rsavas  Canada
diyAudio Member
 
Join Date: Aug 2012
Location: Ontario
first download & installed the correct compiler version from
JAL compiler - Browse /jal-win32/0.4.60 at SourceForge.net

then i edited the init_vv.jal file(see attached) to change the start up lcd display message string, to what you wanted,
then i edited the batch file (jal.bat)to point to the directory where i installed the jal compiler as so,

@ECHO OFF
c:\sw\jal-0.4.60.win32\jal -sc:\sw\jal-0.4.60.win32\lib -ssetup %1 %2 %3 %4 %5 %6 %7 %8 %8 %9 _vv.jal

then from the dos command line prompt,
Start -> run -> type "cmd" , to get the dos command line prompt app
c:\
i ran the batch file from the directory where the edited source file(s) reside.
c:> cd c:\project\Hi-End_pre-amp\SW\v1.1-copy
c:> .\jal.bat
Attached Files
File Type: txt init_vv_jal.txt (2.2 KB, 4 views)
  Reply With Quote
Old 18th April 2015, 04:52 PM   #27
jan.didden is offline jan.didden  Europe
diyAudio Member
 
jan.didden's Avatar
 
Join Date: May 2002
Location: The great city of Turnhout, BE
Quote:
Originally Posted by thimios View Post
If it isn't big effort for you , some screen schots will be useful to see how this(programming) done
It will be difficult to get some understanding just from screen shots, you need some residual knowledge.
For instance, that a compiler can take a collection of source files (of which init_vv is one) and put them all together in a program and convert the high-level statements (see again init_vv as an example) into a bunch of hex instructions that the processor understands.

You don't need to understand those, but you DO need to know what statements the compiler understands and what the effect is. Luckily, a compiler language is almost readable while a hex file definitely is not!

So if you are serious about this, clean your agenda for the next few weeks and get a reference manual for JAL :-)
And, of course, no compiler or assembler will teach you programming. Programming means you develop some plan of what you want to do, like read in the changes of a rotary encoder for instance, and display the values on an LCD. Then, you consult the compiler manual to see what statements are available (like reading an encoder and displaying numbers) and construct your program in terms of compiler statements. Then the compiler does the rest.

Jan
__________________
Cable: a potential source of trouble interconnecting two other potential sources of trouble - Erik Margan
Linear Audio pubs and articles . The SilentSwitcher now at diyaudio store SilentSwitcher. Keeping in touch with SY.

Last edited by jan.didden; 18th April 2015 at 04:55 PM.
  Reply With Quote
Old 18th April 2015, 05:03 PM   #28
rsavas is offline rsavas  Canada
diyAudio Member
 
Join Date: Aug 2012
Location: Ontario
Thx Jan for helping us out
good documentation is so much help.

now once we have the formalities in order, what is the end goal?
1) just to understand the programming/compiler process?
2) add,modify,fix a bug in the existing code?
  Reply With Quote
Old 18th April 2015, 05:10 PM   #29
jan.didden is offline jan.didden  Europe
diyAudio Member
 
jan.didden's Avatar
 
Join Date: May 2002
Location: The great city of Turnhout, BE
Quote:
Originally Posted by rsavas View Post
Thx Jan for helping us out
good documentation is so much help.

now once we have the formalities in order, what is the end goal?
1) just to understand the programming/compiler process?
2) add,modify,fix a bug in the existing code?
Hah! Fixing a bug in someone else's program is extremely difficult because you must not only understand the whole language/syntax etc but also must get into the head of whoever wrote the program - so many ways to skin a cat and all that.
Many times it is faster just to write your own program!

And, what the goal is - that's for you to set...

Jan
__________________
Cable: a potential source of trouble interconnecting two other potential sources of trouble - Erik Margan
Linear Audio pubs and articles . The SilentSwitcher now at diyaudio store SilentSwitcher. Keeping in touch with SY.
  Reply With Quote
Old 18th April 2015, 05:24 PM   #30
rsavas is offline rsavas  Canada
diyAudio Member
 
Join Date: Aug 2012
Location: Ontario
actually i studied the code thoroughly, it is very well written code. except the rc5 stuff i got a bit lost there. i did not do any rc5 testing either,
i wonder if the rc5 decoder works?
anyone test it out?
i used very little of the jal code when designed my own stereo, but i did switch over to xmega and bascom, so that sort of does a reset in your code.
but you are correct, fixing someone else's code is a challenge.
  Reply With Quote

Reply


Jal language helpHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Universal language scott wurcer The Lounge 4 3rd December 2011 03:36 PM
The relationship between Language and Thought thadman The Lounge 69 10th May 2011 10:22 PM
lyrics-language question Juergen Knoop Music 3 23rd July 2007 12:21 PM
Language Help palesha Solid State 6 25th August 2002 03:51 PM


New To Site? Need Help?

All times are GMT. The time now is 09:20 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio
Wiki