The Gridrunner driver and a question about the VSCL...
Bamse
Posts: 561
Finally, I got my driver to work...
It's based on the NTSC high color driver and an 8x8 tile driver...
Nothing really new...
However I put in tons of comments, explanations and references to the Hydra book so it might have some value for beginners like me.
I really tried to explain every step there was to generate the video signal.
One question though...
If I would just move 512 to the VSCL and not specify any clocks per pixel, what would waitvid output ?
For example,
mov VSCL, #512
waitvid My_Palette, My_Pixel_Data
Does it output 2 pixels since the clock per pixel (cpp) field is 8-bit and zero could be interpreted as 256 or does it automatically divide 512 with 16 for cpp and uses 32 for cpp?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
It's based on the NTSC high color driver and an 8x8 tile driver...
Nothing really new...
However I put in tons of comments, explanations and references to the Hydra book so it might have some value for beginners like me.
I really tried to explain every step there was to generate the video signal.
One question though...
If I would just move 512 to the VSCL and not specify any clocks per pixel, what would waitvid output ?
For example,
mov VSCL, #512
waitvid My_Palette, My_Pixel_Data
Does it output 2 pixels since the clock per pixel (cpp) field is 8-bit and zero could be interpreted as 256 or does it automatically divide 512 with 16 for cpp and uses 32 for cpp?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Comments
Andre'
Not very exiting, but maybe I should go back and try some of the "unused" bits, you never know...
Sorry I forgot to post the results...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Andre'
I got caught up in another project so progress is slow but steady...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse