Commit Graph

5 Commits

Author SHA1 Message Date
Paul Molloy 7d00145431 Big step in confirmation of pin manipulations working on kazzo.
Able to read PRG-ROM flash chip's manf and device ID from commandline.

New dictionaries io and nes along with firmware files to support.
now have io_reset, nes_init, and snes_init io.c functions
nes.c functions including discrete_exp0_prgrom_wr and emulate_nes_cpu_rd.

New dictionary.c/.h for host to make dictionary calls easier including
setting proper return data lengths based on opcode.

adding nop command to pinport.h

AVR Memory Usage
----------------
Device: atmega164a

Program:    2960 bytes (18.1% Full)
(.text + .data + .bootloader)

Data:         53 bytes (5.2% Full)
(.data + .bss + .noinit)
2016-11-27 00:18:46 -06:00
paul eeepc 7aab299b66 removing usbFunctionRead because I'm not planning to utilize it.
Expecting it to be simpler and potentially faster to send dump commands and simply provide pointer to ram buffer within usbFunctionSetup.  Saves about 70Bytes of code, so not huge, but whatevs..

AVR Memory Usage
----------------
Device: atmega164a

Program:    2594 bytes (15.8% Full)
(.text + .data + .bootloader)

Data:         53 bytes (5.2% Full)
(.data + .bss + .noinit)
2016-11-25 19:55:42 -06:00
paul eeepc 53578116f1 committing main.hex with upcoming commit's code changes complete.
this commit has usbFunctionRead enabled, next commit will have it cut for comparison.
AVR Memory Usage
----------------
Device: atmega164a

Program:    2632 bytes (16.1% Full)
(.text + .data + .bootloader)

Data:         53 bytes (5.2% Full)
(.data + .bss + .noinit)
2016-11-25 19:40:13 -06:00
paul eeepc a6a6369226 untested main.hex commit for logging rom/ram use
pinport has opcode only and opcode with 8bit operand complete:
14% used of 87.5% available

avr-size -C --mcu=atmega164a main.elf
AVR Memory Usage
----------------
Device: atmega164a

Program:    2300 bytes (14.0% Full)
(.text + .data + .bootloader)

Data:         45 bytes (4.4% Full)
(.data + .bss + .noinit)
2016-11-24 03:04:00 -06:00
paul eeepc f973d990cd Initial add of firmware hex.
Base line rom/ram usage.
usb read/write functions are enabled, but long transfers are not.
host support only for LED on/off.
2KB of 16KB (12.5%) of program memory are not available due to bootloader.

AVR Memory Usage
----------------
Device: atmega164a

Program:    1620 bytes (9.9% Full)	87.5% is MAX due to bootloader
(.text + .data + .bootloader)

Data:         45 bytes (4.4% Full)
(.data + .bss + .noinit)
2016-11-22 20:20:30 -06:00