-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmsg_txt.c
210 lines (196 loc) · 6.63 KB
/
msg_txt.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
/*
//
// Copyright (C) 2009-2023 Jean-François DEL NERO
//
// This file is part of the HxCFloppyEmulator file selector.
//
// HxCFloppyEmulator file selector may be used and distributed without restriction
// provided that this copyright statement is not removed from the file and that any
// derivative work contains the original copyright notice and the associated
// disclaimer.
//
// HxCFloppyEmulator file selector is free software; you can redistribute it
// and/or modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// HxCFloppyEmulator file selector is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with HxCFloppyEmulator file selector; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//
*/
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include "version.h"
#include "cfg_file.h"
#include "ui_context.h"
#include "gui_utils.h"
#include "msg_txt.h"
const char startup_msg[]=
{
"HxC Floppy Emulator file selector\n"
"V" VERSIONCODE " - " DATECODE "\n"
"\n"
"(c) 2009-2023 HxC2001 / Jean-Francois DEL NERO\n"
"\n"
"Email : [email protected]\n"
"\n"
">>> Press HELP key for the function key list <<<"
"\n"
"Updates: http://hxc2001.free.fr/floppy_drive_emulator/\n"
" https://hxc2001.com\n"
"Forum: https://torlus.com/floppy/forum\n"
"Facebook: https://www.facebook.com/groups/hxc2001\n"
"Sources : https://github.com/jfdelnero\n"
"\n"
"This software uses the FAT16/32 File IO Library v2.6\n"
"(c) 2003-2013 Ultra-Embedded.com\n"
};
const char help_scr1_msg[]=
{
"Function Keys (1/3):\n"
"\n"
"-> Into the files browser :\n"
"\n"
"Keyboard Arrows and Joystick : Browse the SD/USB files\n"
"Right Shift : Go back to the top of the folder\n"
"F7 : Insert the selected file in the slot 1\n"
" and restart the computer with this disk.\n"
"ENTER/Joystick Fire : Enter a subfolder/ Select an image\n"
" and enter the slots selection\n"
"\n"
"\n"
" ---Press Enter / Fire to continue---"
};
const char help_scr2_msg[]=
{
"Function Keys (2/3):\n"
"\n"
"-> Into the slots browser :\n"
"\n"
"Keyboard Arrows and Joystick : Browse the slots selection\n"
"BACKSPACE : Clear the current slot\n"
"ENTER/Joystick Fire : Set the current slot\n"
" and leave the slots browser\n"
"ESCAPE : Leave the slots browser\n"
"\n"
"\n"
"\n"
" ---Press Enter / Fire to continue---"
};
const char help_scr3_msg[]=
{
"Function Keys (3/3):\n"
"\n"
"F1 : Search files in the current folder\n"
" Type the word to search, then enter\n"
" Escape to abort the search\n"
"F2 : Change color\n"
"F3 : Settings menu\n"
"F8 : Quit/Reboot\n"
"F9 : Save\n"
"F10 : Save and Quit/Reboot\n"
"\n"
"\n"
" ---Press Enter / Fire to continue---"
};
const char help_scr4_msg[]=
{
"Notes :\n"
"\n"
"The joystick can be used to browse all the interface and select the images.\n"
"The keyboard is not required.\n"
"\n"
"The first line of each page allows to switch to the next one :\n"
"Media files list ->Drive A slots list ->Drive B slots list ->Save/Settings page\n"
"\n"
"Amiga Workbench tips and tricks :\n"
"Press Left-Amiga+N keys to switch to the Workbench.\n"
"Press Left-Amiga+M keys to switch back to the HxC File selector.\n"
"You can drag/scroll the HxC File selector screen with the upper bar.\n"
" ---Press Enter / Fire to continue---"
};
const char help_scr5_msg[]=
{
"HxC Floppy Emulator file selector\n"
"V" VERSIONCODE " - " DATECODE "\n"
"\n"
"(c) 2006-2023 HxC2001 / Jean-Francois DEL NERO\n"
"Email : [email protected]\n"
"\n"
"Atari ST version optimized by Gilles Bouthenot\n"
"\n"
"This software uses the FAT16/32 File IO Library\n"
"(c) 2003-2013 Ultra-Embedded.com\n"
"\n"
"\n"
"---Press Enter / Fire to continue---"
};
const char help_scr6_msg[]=
{
"HxC Floppy Emulator file selector\n"
"V" VERSIONCODE " - " DATECODE "\n"
"\n"
"(c) 2006-2023 HxC2001 / Jean-Francois DEL NERO\n"
"Email : [email protected]\n"
"\n"
"Updates : http://hxc2001.free.fr/floppy_drive_emulator/\n"
" https://hxc2001.com \n"
"Forum : https://torlus.com/floppy/forum \n"
"Facebook: https://www.facebook.com/groups/hxc2001 \n"
"Sources : https://github.com/jfdelnero \n"
"\n"
"---Press Enter / Fire to continue---"
};
const pagedesc help_pages[]=
{
{help_scr1_msg,LEFT_ALIGNED},
{help_scr2_msg,LEFT_ALIGNED},
{help_scr3_msg,LEFT_ALIGNED},
{help_scr4_msg,LEFT_ALIGNED},
{help_scr5_msg,CENTER_ALIGNED},
{help_scr6_msg,CENTER_ALIGNED},
{0,0}
};
const char cur_folder_msg[] = "Current folder:";
const char reboot_msg[] = ">>>>>Exiting/Rebooting...<<<<<";
const char save_msg[] = "Saving selection...";
const char save_and_restart_msg[] = "Saving selection and restarting...";
const char title_msg[] = { "HxC Floppy Emulator file selector v" VERSIONCODE};
const char copyright_msg[] = "(c)HxC2001";
const char need_update_msg[] =
{
"\n"
"\n"
"Your firmware version appears to be outdated !\n\n"
"Please visit the HxC2001 download page to get\n"
"the latest firmware version and update your emulator !\n\n"
"https://hxc2001.com/download/floppy_drive_emulator/\n"
"\n"
"\n"
"Contact me at [email protected] if you got any issue !\n"
"\n"
"---Press Enter / Fire to continue---"
};
const char project_support_msg[]=
{
"\n"
"\n"
"You are using a third party firmware based on the HxC protocol.\n"
"Please consider supporting the HxC2001 project if you like this\n"
"file selector and all the tools and file formats originally\n"
"developed by/for the HxC2001 Project.\n"
"\n"
"To support the project : https://hxc2001.com/store\n"
"\n"
"Thanks in advance ! :)\n"
"Jean-Francois DEL NERO\n"
"\n"
"---Press Enter / Fire to continue---"
};