Picaxe editor hanging during scratchpad data load (6.1.0.0)

system11

Member
I have a program that uses over half of the available 1024 bytes of scratchpad space on the 40X2 chip. I have the chip type selected correctly in my basic program and if I load the problem onto the PICAXE itself it runs fine. If I try to run simulataton while another basic program is loaded in a second tab the editor hangs solid during the 'put' data loading subroutine. If I close that second tab it seems to get further on the data load but clicking anywhere in the UI results in an instant hang. If I comment out the gosub for the data load section the program runs correctly in simulation.

Example from the early section where it hangs if another program is in another tab:

Code:
'f3
'........
'........
'xxx..xxx
'x......x
'xxx..xxx
'x......x
'x....xxx
'........
put  24,$3e,$2a,$2a,$0,$0,$a,$a,$3e
'f5
'........
'........
'xxx..xxx
'x....x..
'xxx..xxx
'x......x
'x....xxx
'........
put  32,$3a,$2a,$2e,$0,$0,$a,$a,$3e
'f6
'........
'........
'xxx..xxx
'x....x..
'xxx..xxx
'x....x.x
'x....xxx
'........
put  40,$3a,$2a,$3e,$0,$0,$a,$a,$3e
'f8
'........
'........
'xxx..xxx
'x....x.x
'xxx..xxx
'x....x.x
'x....xxx
'........
put  48,$3e,$2a,$3e,$0,$0,$a,$a,$3e
 

Buzby

Senior Member
Does this happen at all simulation speeds ?.

I have had lots of lock-ups and other weird behaviours when the speed is set below 100mS.
 
Top