mirror of
https://git.code.sf.net/p/fldigi/fldigi
synced 2026-08-13 17:47:54 -04:00
ITA2 chars
* modify table to include '+' * modify table to swap ';' and '='
This commit is contained in:
parent
9b3d675381
commit
584564d456
4 changed files with 2460 additions and 2612 deletions
|
|
@ -2039,7 +2039,7 @@ numeric keypad’s 0-9 the sequence will be discarded.</p></div>\n\
|
|||
<div id=\"footer\">\n\
|
||||
<div id=\"footer-text\">\n\
|
||||
Last updated\n\
|
||||
2025-01-26 01:49:43 \n\
|
||||
2025-06-10 00:06:08 \n\
|
||||
</div>\n\
|
||||
<div id=\"footer-badges\">\n\
|
||||
<a href=\"https://validator.w3.org/check?uri=referer\">\n\
|
||||
|
|
|
|||
|
|
@ -82,8 +82,8 @@ static char USTTY_figures[32] = {
|
|||
static char ITA2_figures[32] = {
|
||||
'\0', '3', '\n', '-', ' ', '\'', '8', '7',
|
||||
'\r', ' ', '4', '\a', ',', '!', ':', '(',
|
||||
'5', '"', ')', '2', '#', '6', '0', '1',
|
||||
'9', '?', '&', ' ', '.', '/', ';', ' '
|
||||
'5', '+', ')', '2', '#', '6', '0', '1',
|
||||
'9', '?', '&', ' ', '.', '/', '=', ' '
|
||||
};
|
||||
|
||||
static char *figures;
|
||||
|
|
|
|||
|
|
@ -48,14 +48,29 @@ static char letters[32] = {
|
|||
'O', 'B', 'G', ' ', 'M', 'X', 'V', ' '
|
||||
};
|
||||
|
||||
// U.S. version of the figures case.
|
||||
static char figures[32] = {
|
||||
/*
|
||||
* U.S. version of the figures case.
|
||||
*/
|
||||
static char USTTY_figures[32] = {
|
||||
'\0', '3', '\n', '-', ' ', '\a', '8', '7',
|
||||
'\r', '$', '4', '\'', ',', '!', ':', '(',
|
||||
'5', '"', ')', '2', '#', '6', '0', '1',
|
||||
'9', '?', '&', ' ', '.', '/', ';', ' '
|
||||
};
|
||||
|
||||
/*
|
||||
* ITA-2 version of the figures case
|
||||
*/
|
||||
static char ITA2_figures[32] = {
|
||||
'\0', '3', '\n', '-', ' ', '\'', '8', '7',
|
||||
'\r', ' ', '4', '\a', ',', '!', ':', '(',
|
||||
'5', '+', ')', '2', '#', '6', '0', '1',
|
||||
'9', '?', '&', ' ', '.', '/', '=', ' '
|
||||
};
|
||||
|
||||
static char *figures;
|
||||
|
||||
|
||||
const double view_rtty::SHIFT[] = {23, 85, 160, 170, 182, 200, 240, 350, 425, 850};
|
||||
// FILTLEN must be same size as BAUD
|
||||
const double view_rtty::BAUD[] = {45, 45.45, 50, 56, 75, 100, 110, 150, 200, 300};
|
||||
|
|
@ -553,6 +568,11 @@ char view_rtty::baudot_dec(int ch, unsigned char data)
|
|||
{
|
||||
int out = 0;
|
||||
|
||||
if (progdefaults.ITA2)
|
||||
figures = ITA2_figures;
|
||||
else
|
||||
figures = USTTY_figures;
|
||||
|
||||
switch (data) {
|
||||
case 0x1F: /* letters */
|
||||
channel[ch].rxmode = LETTERS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue