Re: [Ktechlab-devel] I googled recent pages with ktechlab

2009-10-10 Thread santiago gonzalez
2009/10/11 Alan Grimes > Zoltan Padrah wrote: > >> There is also a bug when closing files directly shown in screen (created > in > >> /temp/k.. ) that can be easily fixed (just don't creating a new temp > file). > > > > This is a new one for me. Which mail haven't I read? > > > >> For the piccom

Re: [Ktechlab-devel] I googled recent pages with ktechlab

2009-10-10 Thread santiago gonzalez
2009/10/10 Zoltan Padrah > 2009/10/10, santiago gonzalez : > > Why not doing a relase from ktl-0.3.7? > > Releasing something on sourceforge needs some rights. Currenly nobody > active on the list has them, as far as I know. > Ok... i understand, but just a svn branch worki

Re: [Ktechlab-devel] I googled recent pages with ktechlab

2009-10-09 Thread santiago gonzalez
Why not doing a relase from ktl-0.3.7? It works good enought for me, just need to fix the flowcode (changing 1 line in fpnode) and fix some problems in pic simulation (changing 1 line in gpsimprocessor). There is also a bug when closing files directly shown in screen (created in /temp/k.. ) that c

Re: [Ktechlab-devel] Flowcode in ktl-0.3.7

2009-10-05 Thread santiago gonzalez
Well... comming back to the flowcode in 0.3.7 cuestion. This bug was fixed in trunk (rev 290), but not in 0.3.7 branch. 2009/10/1 P Zoltan > On Thu, 01 Oct 2009 01:34:22 +0200, santiago gonzalez > wrote: > > > Sorry again... the bug deleting components or closing the circu

Re: [Ktechlab-devel] todo list.

2009-10-02 Thread santiago gonzalez
> > I'm not a flowcode/PIC guy. If I broke your stuff, I'll do what I can to > help you figure out how to adapt to the changes in the lower-level > classes. I'm just not that interested in it myself right now. > Ok, there are somethings not working with pics; the most important (i think) is that p

Re: [Ktechlab-devel] the timer cuestion

2009-10-02 Thread santiago gonzalez
Going on with the timer stuff. I had been playing with the ktl qtimer and i see that qtimer does not call simulator step every 1ms... indeed it does every aprox. 4ms, and not very accurate or regular; that's why i have a 4s period for a 1Hz ecclock-input. The only way i found to have regular and a

[Ktechlab-devel] The timer cuestion.

2009-10-01 Thread santiago gonzalez
I still don't understand the timer cuestion, qtimer is suposed to call simulator::step() every 1 ms and then a number of calculated steps are "looped" to reach the non-linear rate (1e4) and logic rate (1e6). But when i drag&drop an ecclock-input to the circuit it should go at 1 Hz, but i goes at 0

[Ktechlab-devel] the timer cuestion

2009-10-01 Thread santiago gonzalez
I still don't understand the timer cuestion, qtimer is suposed to call simulator::step() every 1 ms and then a number of calculated steps are "looped" to reach the non-linear rate (1e4) and logic rate (1e6). But when i drag&drop an ecclock-input to the circuit it should go at 1 Hz, but i goes at 0

Re: [Ktechlab-devel] Bug fixed

2009-10-01 Thread santiago gonzalez
Yess... it's working now :) But then there is a different bug with switches.. i though it was the same bug, becose it has similar behaivor, but this one is still here. I will try to "hunt" it.. :))) 2009/10/1 Alan Grimes > santiago gonzalez wrote: > > Confirmed... t

Re: [Ktechlab-devel] Problems with pic simulation (rev 459)

2009-10-01 Thread santiago gonzalez
2009/10/1 santiago gonzalez > I have this problem in rev. 459 and some previous. > > When i create a new circuit, add a pic component, load a file and run it, > it works, there are some problems depending on the loaded program, but it > works. > If i close the circuit document,

Re: [Ktechlab-devel] potentiometer not working (rev 459)

2009-10-01 Thread santiago gonzalez
opening a circuit document with pic... in rev 221 this bug dissapear... but appear the pot and resistor bug. 2009/10/1 Alan Grimes > santiago gonzalez wrote: > > > > Ok... looks that the problem is not only in potentiometer, with fixed > > resistors i have the same problem. &

Re: [Ktechlab-devel] potentiometer not working (rev 459)

2009-10-01 Thread santiago gonzalez
Ok... looks that the problem is not only in potentiometer, with fixed resistors i have the same problem. In rev 419 the problem is not present, in rev 421 the problem appear, then here is the stuff. 2009/10/1 Alan Grimes > Just the subject line was all I needed. Thanks. > > I've not laid a fi

[Ktechlab-devel] Problems with pic simulation (rev 459)

2009-09-30 Thread santiago gonzalez
I have this problem in rev. 459 and some previous. When i create a new circuit, add a pic component, load a file and run it, it works, there are some problems depending on the loaded program, but it works. If i close the circuit document, and open it again then the simulation doesn't work; if i op

[Ktechlab-devel] potentiometer not working (rev 459)

2009-09-30 Thread santiago gonzalez
Better than words is a video: http://arcachofo.users.sourceforge.net/ktl459-1 -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your d

Re: [Ktechlab-devel] Flowcode in ktl-0.3.7

2009-09-30 Thread santiago gonzalez
Sorry again... the bug deleting components or closing the circuit document is still there... I just uncomented the lines in electronicconnector.cpp in the wrong folder... -- Come build with us! The BlackBerry® Developer Con

Re: [Ktechlab-devel] THE CLOCK IS OPERATING.

2009-09-29 Thread santiago gonzalez
2009/9/30 Alan Grimes > =P > > When I get on a ktechlab roll, I just can't stop myself. =( > > I wish I was like this with my income generating work. =((( > > This time I've really done it. > > Say goodbye to another few dozen lines of supremely dodgy code in > Simulator! =) > > As an added b

Re: [Ktechlab-devel] Flowcode in ktl-0.3.7

2009-09-29 Thread santiago gonzalez
Soryy... my mistake... is the 455 revision looks that the bug dissapear...:) Now ktl don't crashes when deleting components or closing some circuit documents. 2009/9/30 santiago gonzalez > > I don't know exactly what bug are you talking about, i tried revision 450 > (undo

Re: [Ktechlab-devel] Flowcode in ktl-0.3.7

2009-09-29 Thread santiago gonzalez
I don't know exactly what bug are you talking about, i tried revision 450 (undo commit 447) and now 455 and ktl crashes when deleting some components or closing some circuit documents. If this can help, Kcrash always say this: _ [T

Re: [Ktechlab-devel] ZOLTAN!!!!!!!

2009-09-29 Thread santiago gonzalez
I'm compiling your last commit and have this error: _ ecclockinput.cpp: In constructor 'ECClockInput::ECClockInput(ICNDocument*, bool, const char*)': ecclockinput.cpp:54: error: 'stepCallback' is not a member of 'E

Re: [Ktechlab-devel] Flowcode in ktl-0.3.7

2009-09-24 Thread santiago gonzalez
2009/9/24 santiago gonzalez > I don't know if this can help you, but i had this warning while compiling: > > flowicndocument.cpp:155: warning: unused parameter 'pos1' > flowicndocument.cpp:155: warning: unused parameter 'pos2' > flowicndocument.cpp:1

Re: [Ktechlab-devel] Flowcode in ktl-0.3.7

2009-09-24 Thread santiago gonzalez
09/9/24 P Zoltan > On Tue, 22 Sep 2009 15:46:42 +0200, santiago gonzalez > wrote: > > > http://arcachofo.users.sourceforge.net/ktl4 > > Bug confirmed. > > Only next week I'll have time to debug this. > > > --

Re: [Ktechlab-devel] Flowcode in ktl-0.3.7

2009-09-22 Thread santiago gonzalez
> > What version do you mean by ktechlab 0.3.7 ? I'm using the svn trunk, and >> it works for me. Could you send the files with problems? >> > For me svn trunk doesn't work in the simulation, looks some kind of conector problem; flowcode works, but simulation is impossible. Instead of explain th

Re: [Ktechlab-devel] Flowcode in ktl-0.3.7

2009-09-21 Thread santiago gonzalez
. 2009/9/21 P Zoltan > On Sun, 20 Sep 2009 23:36:50 +0200, santiago gonzalez > wrote: > > > I tried flowcode in ktl-0.3.7 from svn bra

[Ktechlab-devel] Flowcode in ktl-0.3.7

2009-09-20 Thread santiago gonzalez
I tried flowcode in ktl-0.3.7 from svn branch and it just doesn't work... only initialization code is created, all i have is some warnings: "floating conection for..." , this for every step i placed. I think the file.flowcode is correct, but the code-generation step looks to be broken. This happe

Re: [Ktechlab-devel] Confusing bitwise behaviour (novice)

2009-09-20 Thread santiago gonzalez
Yes... , i don't know anything about flowcode, but the rotate instruction in the pic is always done through carry, then you should clear Status,C bit (carry) just before the rotate. But using high-level languages you never can be sure about what is really happening, there are in some languages the

Re: [Ktechlab-devel] Pic interrupts solved.

2009-09-20 Thread santiago gonzalez
2009/9/20 P Zoltan > On Wed, 16 Sep 2009 18:28:26 +0200, santiago gonzalez > wrote: > > > Ok... i think now pic simulation work quite better, the simulation run in > > two diferent ways: > > > > -When runed from the circuit button (play), simulation goes

Re: [Ktechlab-devel] Pic interrupts solved.

2009-09-18 Thread santiago gonzalez
derstand. And i think it should work in ktl 0.3.7 and adapted to the new logic. Do you think i should wait for the new logic is working? 2009/9/16 santiago gonzalez > Ok... i think now pic simulation work quite better, the simulation run in > two diferent ways: > > -When runed from t

[Ktechlab-devel] Compiling klt-0.3.7 from svn branch

2009-09-16 Thread santiago gonzalez
A friend told me about a problem compiling ktl in Debian Squeeze He has automake 1.11 and had this error: $ make -f Makefile.cvs This Makefile is only for the CVS repository This will be deleted before making the distribution *** YOU'RE USING automake (GNU automake) 1.11. *** KDE requires automa

Re: [Ktechlab-devel] Pic interrupts solved.

2009-09-16 Thread santiago gonzalez
27;t understand what i'm doing... all what i need is a float value of the voltage level at the input pins someone can point me to a way to follow? 2009/9/15 santiago gonzalez > Hi Jose.. > > I would like to find the way to have real-time simulations when in run-mode > (only fo

Re: [Ktechlab-devel] Update rates

2009-09-16 Thread santiago gonzalez
onent: clock MHz (no idea about how to do this) this integer value is used to set the counter value in simulator.cpp (if someday is possible to use gpsim in real-time mode this value could be used) 2009/9/16 santiago gonzalez > >> I't looks to me that logic update rate (then gpsi

[Ktechlab-devel] Update rates

2009-09-16 Thread santiago gonzalez
I't looks to me that logic update rate (then gpsim processors) is actually 1e6, then 1 MHz.. is this correct? What is the actual behaivor of logic update rates? i think the qtimer is at 1KHz, but the loops inside every call aren't sinchonized... i mean: logic updates are done 1e6 times/Sec, but no

Re: [Ktechlab-devel] parallel and serial ports.

2009-09-15 Thread santiago gonzalez
can >> be conected to a ktl circuit... lets do some testings... :) >> >> About the serial port the only thing to interface a pic or any other >> circuit is a max232 or any other voltage adapter, depending on what the real >> circuits needs. >> >> 2009/9/15 santiag

Re: [Ktechlab-devel] Pic interrupts solved.

2009-09-15 Thread santiago gonzalez
.wikipedia.org/wiki/Cultura_libre> > . > Usuario Linux <http://counter.li.org/> nº 299.452 > Declaración de independencia del > ciberespacio<http://es.wikisource.org/wiki/Declaraci%C3%B3n_de_independencia_del_ciberespacio> > > > ---

[Ktechlab-devel] Pic interrupts solved.

2009-09-14 Thread santiago gonzalez
I think today is my lucky day... i should buy lottery.. :) Found the problem with interrupts that didn't work in ktechlab but work in gpsim. I think now the pic simulation is faster and my PC's processor doesn't speed up. With a pic program coded at 4MHz, ktechlab simulates it at near real-time.

Re: [Ktechlab-devel] parallel and serial ports.

2009-09-14 Thread santiago gonzalez
the only thing to interface a pic or any other circuit is a max232 or any other voltage adapter, depending on what the real circuits needs. 2009/9/15 santiago gonzalez > No... is not a rs232 comunication... no protocol... you can just set or > clear a pin, just like an electric conection.

Re: [Ktechlab-devel] parallel and serial ports.

2009-09-14 Thread santiago gonzalez
No... is not a rs232 comunication... no protocol... you can just set or clear a pin, just like an electric conection. It can work just like a wire. 2009/9/15 Alan Grimes > > I'm thinking in not simulate PIC but run the code in a real pic and > > conect it to a virtual circuit through parallel po

[Ktechlab-devel] Adding new pics to simulation

2009-09-14 Thread santiago gonzalez
Comes from help forum: "...as currently the part of ktechlab that describes what PICs are supported is quite messy." If you have an idea about how it should be, i can try the work. About what pics are supported i only can find src/micro/picinfoXXbit.h there are the pic classes and what kind of s

[Ktechlab-devel] parallel and serial ports.

2009-09-14 Thread santiago gonzalez
Hi list... This comes from the help forum: Zoltan said: *"In ktechlab's source you can find in /src/electronics/port.h and .cpp the implementation. * *As I see, reading and writing is done by calling ioctl on the device. * *I don't know if setting the voltage on the port and seeing the change