File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
runcpm-rp2040-dvi-usb/runcpm-pico Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 91
91
#define STR_HELPER (x ) #x
92
92
#define STR (x ) STR_HELPER(x)
93
93
// #define CCPHEAD "\r\nRunCPM Version " VERSION " (CP/M " STR(TPASIZE) "K)\r\n"
94
- #define CCPHEAD "\r\nRunCPM [\e[1mv" VERSION "\e[0m ] => CCP:[\e[1m" CCPname "\e[0m ] TPA:[\e[1m" STR(TPASIZE) "K\e[0m] \r\n"
94
+ #define CCPHEAD "\r\nRunCPM [" TEXT_BOLD "v" VERSION TEXT_NORMAL " ] => CCP:[" TEXT_BOLD CCPname TEXT_NORMAL " ] TPA:" TEXT_BOLD STR(TPASIZE) "K" TEXT_NORMAL " \r\n"
95
95
96
96
#define NOSLASH // Will translate '/' to '_' on filenames to prevent directory errors
97
97
Original file line number Diff line number Diff line change 5
5
// only AVR and ARM CPU
6
6
// #include <MemoryFree.h>
7
7
8
- #include " globals.h"
9
-
10
8
// =========================================================================================
11
9
// Guido Lehwalder's Code-Revision-Number
12
10
// =========================================================================================
18
16
#include < Adafruit_SPIFlash.h>
19
17
#include < Adafruit_TinyUSB.h>
20
18
19
+ #ifndef USE_VT100
20
+ #define USE_VT100 (0 )
21
+ #endif
22
+
23
+ #if USE_VT100
21
24
#define TEXT_BOLD " \033 [1m"
22
25
#define TEXT_NORMAL " \033 [0m"
26
+ #else
27
+ #define TEXT_BOLD " "
28
+ #define TEXT_NORMAL " "
29
+ #endif
30
+
31
+ #include " globals.h"
32
+
23
33
24
34
// =========================================================================================
25
35
// Board definitions go into the "hardware" folder, if you use a board different than the
@@ -133,7 +143,7 @@ void setup(void) {
133
143
// { _puts("Recognized " TEXT_BOLD "#" TEXT_NORMAL " key as pressed! :)\r\n\r\n");
134
144
// }
135
145
136
- _puts (" CP/M Emulator " TEXT_BOLD " v" VERSION " " TEXT_NORMAL " by " TEXT_BOLD " Marcelo Dantas\e[0m \r\n " );
146
+ _puts (" CP/M Emulator " TEXT_BOLD " v" VERSION " " TEXT_NORMAL " by " TEXT_BOLD " Marcelo Dantas" TEXT_NORMAL " \r\n " );
137
147
_puts (" ----------------------------------------------\r\n " );
138
148
_puts (" running on [" TEXT_BOLD BOARD_TEXT TEXT_NORMAL " ]\r\n " );
139
149
_puts (" ----------------------------------------------\r\n " );
You can’t perform that action at this time.
0 commit comments