X-Git-Url: http://cloudbase.mooo.com/gitweb/avrcpm.git/blobdiff_plain/2ccaac16ab91e647a42e4a558864751eeae63929..989795411ee623d1811073698620c97c467acc86:/avr/config.inc?ds=sidebyside diff --git a/avr/config.inc b/avr/config.inc index 40bdaab..fba09b8 100644 --- a/avr/config.inc +++ b/avr/config.inc @@ -59,6 +59,10 @@ ; Uncomment and set to 0, if you need to save flash (ie. ATmega88). ;#define FAT16_SUPPORT 1 +; Uncomment and set to 0, if you don't want to use CP/M partitions. +; (Saves some bytes.) +;#define CPMDSK_SUPPORT 1 + ; Uncomment and set to 0, if you need to save flash. ;#define MMCBOOTLOADER 1 @@ -70,8 +74,10 @@ .equ BOOTWAIT = 1 .equ MEMTEST = 1 -.equ MEMFILL = 1 +.equ MEMFILL = 1 /* Fill DRAM */ +.equ SRAM_FILL = 1 /* Fill unused SRAM */ .equ MMC_DEBUG = 0 /* Increase for more debugging */ +.equ MMC_DEBUG_RDW = 0 .equ DSKSEL_DEBUG = 0 .equ DISK_DEBUG = 0 /* 1 = BOOT/HOME debug, 2 = +R/W debug */ .equ HOSTRW_DEBUG = 0 @@ -105,8 +111,9 @@ #define DEBUGPORT 0x4F -#define startTraceCmd 1 /* 'OUT (DEBUGPORT),startTraceCmd' starts tracing */ -#define stopTraceCmd 0 +#define startTraceCmd 0x01 /* 'OUT (DEBUGPORT),startTraceCmd' starts tracing */ +#define stopTraceCmd 0x00 +#define PrintStackCmd 0x02 ; Virtual I2C Interface #define I2CSTAT 0x05 @@ -157,6 +164,7 @@ #define MEMFILL_VAL 0x76 /* Fill ram with HALT opcode. */ #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. */ +#define SRAMFILL_VAL 0x5A /* Fill unused SRAM */ #ifndef DRAM_8BIT #define DRAM_8BIT 1 /* 1 = 8bit wide data bus to DRAM (ie two 4-bit Chips)*/ @@ -181,9 +189,13 @@ #define EM_Z80 1 /* Emulate Z80 if true, else 8080 */ #endif +#ifndef CPMDSK_SUPPORT + #define CPMDSK_SUPPORT 1 /* Include Support for CP/M partitions */ +#endif + #ifndef FAT16_SUPPORT - #define FAT16_SUPPORT 1 /* Include Support for FAT16 Partitions */ -#endif /* which may contain CP/M image files. */ + #define FAT16_SUPPORT 1 /* Include Support for a FAT16 partition */ +#endif /* which may contain CP/M image files. */ #ifndef RAMDISKCNT #define RAMDISKCNT 0 /* Number of RAM disks */