Ok, I did some further investigation. I tried the same lines of Jal-
code on a virtual machine with windows. The same bugs occurred. Then i
tried to run the code through other simulators, Real Pic Simulator and
PIC Simulator IDE (Oshonsoft). In those simulators the code worked as
it should.
My conclusion: the bugs are in PicShell; the simulator does these
strange things. I will try and let the builder of PicShell know, but
there hasn't been much action during the last year, so I hope it's not
a dead project. Thats because i very much like the combination of IDE
(debugging in Jal code) and simulation that PicShell offers. I haven't
found anything better until now. Has anyone of the other group members
found something better ?
Anyway, i have workarounds for the bugs, and my project is coming
along now, so i will stick with PicShell for now.

Thanks for bearing with me,
Greatings, Dirk

On 7 sep, 00:34, wikiwizz <[email protected]> wrote:
> I forgot to mention, i am indeed working under linux, i will try and
> look in a virtual windows setup if these things occur there also. I
> will report back. Thank you for looking into my given bug suspects so
> far.
>
> Dirk
>
> On 6 sep, 13:54, funlw65 <[email protected]> wrote:
>
> > It can be a problem with the linux binary? (Not yet able to test,
> > sorry).
>
> > Vasi(funlw65)
>
> > On Sep 6, 4:49 am, mattschinkel <[email protected]> wrote:
>
> > > Your second example also works fine. With this code I see a countdown
> > > from 1000 to 1, then I see "---------- It Worked! ----------". Please
> > > note that I am using serial_software lib (this is my current setup),
> > > serial_hw should give the same result.
>
> > > include print
>
> > > -- setup serial software
> > > const serial_sw_baudrate = 38400
> > > alias serial_sw_tx_pin is pin_B4
> > > alias serial_sw_rx_pin is pin_B5
> > > pin_B4_direction = output
> > > pin_B5_direction = input
> > > include serial_software
> > > serial_sw_init()
>
> > > var byte index
> > > var word table[4] = {0,0,0,0}
> > > index = 0
> > > table[index] = 1000
>
> > > while table[index] != 0 loop
> > >    _usec_delay(250)
> > >    print_word_dec(serial_sw_data,table[index])
> > >    print_crlf(serial_sw_data)
> > >    table[index] = table[index] - 1
> > > end loop
>
> > > print_crlf(serial_sw_data)
> > > const byte str1[] = "---------- It Worked! ----------"
> > > print_string(serial_sw_data, str1)
>
> > > -- end of program
> > > forever loop
> > > end loop

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to