X-Git-Url: http://cloudbase.mooo.com/gitweb/avrcpm.git/blobdiff_plain/de15c768141e7d7c3f34e6a4260d1c7a55cece4f..79986122b1d8a4aaf015b8d30f20e99d78779342:/avr/config.inc diff --git a/avr/config.inc b/avr/config.inc index cef445b..5917a06 100644 --- a/avr/config.inc +++ b/avr/config.inc @@ -26,8 +26,8 @@ #define VMINOR 1 #ifndef DRAM_8BIT - #define DRAM_8BIT 1 /* 1 = 8bit wide DRAM */ -#endif + #define DRAM_8BIT 1 /* 1 = 8bit wide data bus to DRAM (ie two 4-bit Chips)*/ +#endif /* 0 = only one 4 bit wide DRAM chip */ #ifndef F_CPU #define F_CPU 20000000 /* system clock in Hz; defaults to 20MHz */ #endif @@ -85,12 +85,6 @@ #define DBG_TRACE_BOTTOM 0x01 /* Page boundaries for INS_DEBUG and PRINT_PC */ #define DBG_TRACE_TOP 0xdc /* Trace is off, below bottom page and above top page. */ -#if EM_Z80 - #define CPUSTR "Z80" -#else - #define CPUSTR "8080" -#endif - ;----------------------------------------------------------------------- ; Port declarations @@ -129,6 +123,7 @@ .equ P_MMC_CS = PORTB .equ P_A8 = PORTB .equ P_RXD = PORTB +.equ P_TXD = PORTB ;Port C .equ RAM_RAS = 0 @@ -300,6 +295,12 @@ #define PORT7 0x87 +#if EM_Z80 + #define CPUSTR "Z80" +#else + #define CPUSTR "8080" +#endif + #if defined __ATmega8__ .equ RXTXDR0 = UDR .equ UCSR0A = UCSRA