What sort of interrupt would slow a program down a 100 times so it showed
a line being drawn a pixel at a time?...out of interest.
You would need a hardware debug tool such as the ICD3.
They use the programming pins as a JTAG port and can take over control at
the hardware level to Single step instructions or step into or over calls.
So what you want can be done but is not cheap and would require you to use
Microchip tools, I doubt you could do it with GCBASIC Source.
There was a device in the 80's called SloMo that slowed home computers for games. You could turn a pot and slow the machine enough to see the screen being drawn. I could use delays but it was just a thought. Something I came across recently reminded me of it. Like single stepping through code with speed control but not in a simulator. Silly idea,forget it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What sort of interrupt would slow a program down a 100 times so it showed a line being drawn a pixel at a time?...out of interest.
You would need a hardware debug tool such as the ICD3.
They use the programming pins as a JTAG port and can take over control at the hardware level to Single step instructions or step into or over calls.
So what you want can be done but is not cheap and would require you to use Microchip tools, I doubt you could do it with GCBASIC Source - You maybe able to use the GCBASIC Generated ASM File though.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I hadn't thought of that. I thought it was set frequencies.I'll try doing that but not sure about mega328p. I've not seen any GCB 328p examples at other than 328p,16.
Cheers Chris.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think I better use pic more. That was always my intention. Dunno why I bothered with avr. It just happened. No vero and usb plug and play maybe for same price as an pic equivelent chip alone.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What sort of interrupt would slow a program down a 100 times so it showed a line being drawn a pixel at a time?...out of interest.
Don't know. Do tell us.
There was a device in the 80's called SloMo that slowed home computers for games. You could turn a pot and slow the machine enough to see the screen being drawn. I could use delays but it was just a thought. Something I came across recently reminded me of it. Like single stepping through code with speed control but not in a simulator. Silly idea,forget it.
You would need a hardware debug tool such as the ICD3.
They use the programming pins as a JTAG port and can take over control at the hardware level to Single step instructions or step into or over calls.
So what you want can be done but is not cheap and would require you to use Microchip tools, I doubt you could do it with GCBASIC Source - You maybe able to use the GCBASIC Generated ASM File though.
or, blink your eyes very very quickly.
or, change PSET routine with two switch inputs. One to single step and one to toggle the one step capability.
How about seting the config for an external clock then feeding CLKIN with a Function Generator to vary the speed?
Clever!
I hadn't thought of that. I thought it was set frequencies.I'll try doing that but not sure about mega328p. I've not seen any GCB 328p examples at other than 328p,16.
Cheers Chris.
PIC you can do.
AVR.... the config fuses are set by the bootoader....play with thosie AVR no worky... but, you can use the EXT INT and update PSET to look for signal.
I think I better use pic more. That was always my intention. Dunno why I bothered with avr. It just happened. No vero and usb plug and play maybe for same price as an pic equivelent chip alone.