]> cloudbase.mooo.com Git - z180-stamp.git/blob - include/config.h
c276e80876b11056fa39936986242b05d6e13fb4
[z180-stamp.git] / include / config.h
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.1"
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_SINGLESTEP "singlestep"
29
30 #define CONFIG_ENV_SIZE 1600
31 #define CONFIG_ENV_OFFSET 0
32 #define CONFIG_ENVVAR_MAX 30
33
34 #define CONFIG_BAUDRATE 115200L
35 #define CONFIG_PWRON_DELAY 2000 /* ms to wait after power on */
36 #define CONFIG_BOOTDELAY 4
37 //#define CONFIG_ZERO_BOOTDELAY_CHECK 1
38
39 #define CONFIG_CPM3_SYSFILE "0:/cpm3.sys"
40 #define CONFIG_CPM3_COMMON_BASE 0xF000
41 #define CONFIG_CPM3_BANKED_BASE 0x0
42 //#define CONFIG_CPM3_COMMON_BASE_STR "F000"
43 #define CONFIG_CPM3_BANKED_BASE_STR "0"
44
45 #define CONFIG_CPM_MAX_DRIVE 8
46 #define CONFIG_CPM_BASE_DRIVE 'A'
47 #define CONFIG_CPM_BLOCK_SIZE 512
48
49 #define CONFIG_CMD_MEMTEST
50 #define CONFIG_MX_CYCLIC
51 #define CONFIG_SYS_RAMSIZE_MAX (1l<<19) /* max. addressable memory */
52
53 #define CONFIG_CMD_DATE 1
54
55
56 //#define CONFIG_CMD_LOADB
57
58
59 #define CONFIG_SYS_I2C_RTC_ADDR 0x50
60 #define CONFIG_SYS_I2C_BUFSIZE 64
61 #define CONFIG_SYS_I2C_CLOCK 100000L /* SCL clock frequency in Hz */
62
63 #define CONFIG_SYS_CBSIZE 250
64 #define CONFIG_SYS_HIST_MAX 20
65 #define CONFIG_SYS_MAXARGS 20
66 #define CONFIG_SYS_ENV_NAMELEN 16
67
68 #define CONFIG_SYS_PROMPT "=> "
69 #define CONFIG_ESC_CHAR ('^'-0x40)
70
71 #define CONFIG_SYS_FBOOTSIG "Peda"
72
73 /* TODO: */
74 //#define CONFIG_AUTO_COMPLETE 1
75
76 #define CONFIG_SYS_LONGHELP 1
77
78 #endif /* CONFIG_H */