diff --git a/.gitignore b/.gitignore index 9b02fdc..3fc71ad 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1 @@ -.vscode -firmware.asm~ firmware.pro -firmware.lst \ No newline at end of file diff --git a/Makefile b/Makefile deleted file mode 100644 index 7fba996..0000000 --- a/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -MCU = t24 -SRCFILE = firmware -TARGET = usbasp -DEVICE = usb - -build: $(SRCFILE).asm - gavrasm $(SRCFILE) - -flash: - avrdude -p $(MCU) -c $(TARGET) -P $(DEVICE) -U flash:w:$(SRCFILE).hex:a - -clean: - rm -f $(SRCFILE).asm~ $(SRCFILE).hex $(SRCFILE).obj $(SRCFILE).lst $(SRCFILE).cof \ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index 859a976..0000000 --- a/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# Memory Led Game - -**Device**: ATtiny24A - -**Package**: 14-pin-PDIP_SOIC - -**Assembler**: gavrasm v5.0 - -**Clock frequency**: 8MHz with CKDIV8 - -**Fuses**: lfuse: 0x42, hfuse: 0xDF, efuse: 0xFF, lock:0xFF - -**Schematic**: - -- diff --git a/def.inc b/def.inc new file mode 100644 index 0000000..2ec84e6 --- /dev/null +++ b/def.inc @@ -0,0 +1,675 @@ +;***** THIS IS A MACHINE GENERATED FILE - DO NOT EDIT ******************** +;***** Created: 2011-02-09 12:04 ******* Source: ATtiny24A.xml *********** +;************************************************************************* +;* A P P L I C A T I O N N O T E F O R T H E A V R F A M I L Y +;* +;* Number : AVR000 +;* File Name : "tn24Adef.inc" +;* Title : Register/Bit Definitions for the ATtiny24A +;* Date : 2011-02-09 +;* Version : 2.35 +;* Support E-mail : avr@atmel.com +;* Target MCU : ATtiny24A +;* +;* DESCRIPTION +;* When including this file in the assembly program file, all I/O register +;* names and I/O register bit names appearing in the data book can be used. +;* In addition, the six registers forming the three data pointers X, Y and +;* Z have been assigned names XL - ZH. Highest RAM address for Internal +;* SRAM is also defined +;* +;* The Register names are represented by their hexadecimal address. +;* +;* The Register Bit names are represented by their bit number (0-7). +;* +;* Please observe the difference in using the bit names with instructions +;* such as "sbr"/"cbr" (set/clear bit in register) and "sbrs"/"sbrc" +;* (skip if bit in register set/cleared). The following example illustrates +;* this: +;* +;* in r16,PORTB ;read PORTB latch +;* sbr r16,(1<