]> cloudbase.mooo.com Git - z180-stamp.git/blame_incremental - include/config.h
Global help
[z180-stamp.git] / include / config.h
... / ...
CommitLineData
1/*
2 * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
3 *
4 * SPDX-License-Identifier: GPL-2.0
5 */
6
7#ifndef CONFIG_H
8#define CONFIG_H
9
10/* Version */
11#define VERSION "0.6.8.2"
12
13/* Environment variables */
14
15#define ENV_BAUDRATE "baudrate"
16#define ENV_BOOTDELAY "bootdelay"
17#define ENV_BOOTCMD "bootcmd"
18
19#define ENV_CPM3_SYSFILE "cpm3_file"
20#define ENV_CPM3_COMMON_BASE "cpm3_commonbase"
21#define ENV_CPM3_BANKED_BASE "cpm3_bankedbase"
22#define ENV_CPM3_SCB "cpm3_scb"
23
24#define ENV_PINALIAS "pin_alias"
25#define ENV_STARTADDRESS "startaddress"
26#define ENV_ESC_CHAR "esc_char"
27
28#define ENV_HOME "HOME"
29#define ENV_SINGLESTEP "singlestep"
30
31#define CONFIG_ENV_SIZE 1600
32#define CONFIG_ENV_OFFSET 0
33#define CONFIG_ENVVAR_MAX 40
34
35#define CONFIG_BAUDRATE 115200L
36#define CONFIG_PWRON_DELAY 2000 /* ms to wait after power on */
37#define CONFIG_BOOTDELAY 4
38//#define CONFIG_ZERO_BOOTDELAY_CHECK 1
39
40#define CONFIG_CPM3_SYSFILE "0:/cpm3.sys"
41#define CONFIG_CPM3_COMMON_BASE 0xF000
42#define CONFIG_CPM3_BANKED_BASE 0x0
43//#define CONFIG_CPM3_COMMON_BASE_STR "F000"
44#define CONFIG_CPM3_BANKED_BASE_STR "0"
45
46#define CONFIG_CPM_MAX_DRIVE 8
47#define CONFIG_CPM_BASE_DRIVE 'A'
48#define CONFIG_CPM_BLOCK_SIZE 512
49
50#define CONFIG_CMD_MEMTEST
51#define CONFIG_MX_CYCLIC
52#define CONFIG_SYS_RAMSIZE_MAX (1l<<19) /* max. addressable memory */
53
54#define CONFIG_CMD_DATE 1
55
56
57//#define CONFIG_CMD_LOADB
58
59
60#define CONFIG_SYS_I2C_RTC_ADDR 0x50
61#define CONFIG_SYS_I2C_BUFSIZE 64
62#define CONFIG_SYS_I2C_CLOCK 100000L /* SCL clock frequency in Hz */
63
64#define CONFIG_SYS_CBSIZE 250
65#define CONFIG_SYS_HIST_MAX 20
66#define CONFIG_SYS_MAXARGS 20
67#define CONFIG_SYS_ENV_NAMELEN 16
68#define CONFIG_SYS_MALLOC_MARGIN 256
69
70#define CONFIG_SYS_PROMPT "-> "
71#define CONFIG_SYS_PROMPT_REPEAT "=> "
72#define CONFIG_ESC_CHAR ('^'-0x40)
73
74#define CONFIG_SYS_FBOOTSIG "Peda"
75
76/* TODO: */
77//#define CONFIG_AUTO_COMPLETE 1
78
79#define CONFIG_SYS_LONGHELP 1
80
81#endif /* CONFIG_H */