pato-z80-home-computer/pat80-io-devices/composite-pal-adapter/software/avr-assembly
Daniele Verducci su MatissePenguin 2b3f9946d9 Working end of screen scrolling
2021-02-22 19:55:53 +01:00
..
example_data Working end of screen scrolling 2021-02-22 19:55:53 +01:00
.gitignore Polish 2021-01-08 16:12:46 +01:00
character_generator.asm Working end of screen scrolling 2021-02-22 19:55:53 +01:00
communication.asm Untested code 2021-02-22 13:59:55 +01:00
font.asm Big refactoring and first character generator implementation 2021-01-24 11:27:40 +01:00
fuses.conf Horyzontal timings (working, checked with oscilloscope) 2021-01-02 19:54:17 +01:00
m1284def.inc Using official mc device definition 2021-01-13 19:22:07 +01:00
main.asm Working end of screen scrolling 2021-02-22 19:55:53 +01:00
main.cof Reorganized folders, added pal-adapter io device folder 2021-01-02 16:33:51 +01:00
main.eep.hex Reorganized folders, added pal-adapter io device folder 2021-01-02 16:33:51 +01:00
Makefile Reorganized folders, added pal-adapter io device folder 2021-01-02 16:33:51 +01:00
README.md Testing with cat image 2021-02-20 17:02:13 +01:00
video_generator.asm Straight, but unstable image. Some unwanted spaces during vertical sync 2021-02-20 20:33:55 +01:00

Atmega Microcontroller

Build ASM code

avra filename.asm (generates filename.hex)

Flash

Rom

minipro -w filename.hex -p ATMEGA1284

Fuses

Read fuses: minipro -r -c config -p ATMEGA1284 (-r -c config means read configuration (fuses)) Fuses must be written all together, so read the current values, edit the generated file and write it. The meaning of every bis is in the conf file. Write fuses: minipro -w fuses.conf -c config -p ATMEGA1284

Generate test images

Using GIMP, Image -> Mode -> Indexed, select 2 colors and Posterize. Invert the image colors. Save as .xbm file. Oper with a text editor, you will find an array of byte-packed pixels (every byte represents 8 pixels). Copy and paste on an ASM file.