From: Keith Packard Date: Fri, 24 Apr 2009 07:15:09 +0000 (-0700) Subject: Avoid ram from 0xfda2 through feff, its funky X-Git-Tag: 0.1~27 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=f155333ae18a25068644792e8940269d9fb28033;ds=sidebyside Avoid ram from 0xfda2 through feff, its funky --- diff --git a/Makefile b/Makefile index 7bf2bee5..2a6b7adc 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ CC=sdcc CFLAGS=--model-small --debug --opt-code-speed LDFLAGS=--out-fmt-ihx --code-loc 0x0000 --code-size 0x8000 \ - --xram-loc 0xf000 --xram-size 0xf00 --iram-size 0xff + --xram-loc 0xf000 --xram-size 0xda2 --iram-size 0xff INC = \ ao.h \ diff --git a/ao.h b/ao.h index 02810d05..b10f1b34 100644 --- a/ao.h +++ b/ao.h @@ -122,7 +122,7 @@ ao_timer_init(void); * ao_adc.c */ -#define AO_ADC_RING 128 +#define AO_ADC_RING 64 /* * One set of samples read from the A/D converter