comparison frbl/reconst/serial.c @ 329:63d3afd14523

frbl/reconst/serial.c: 0x7a static function reconstructed
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 06 Mar 2020 07:42:09 +0000
parents 0029db632547
children 30cbf540e045
comparison
equal deleted inserted replaced
328:0029db632547 329:63d3afd14523
38 bss_0x10--; 38 bss_0x10--;
39 if (bss_0x10 == 0) 39 if (bss_0x10 == 0)
40 bss_0xc = 6; 40 bss_0xc = 6;
41 return retval; 41 return retval;
42 } 42 }
43
44 static SYS_UWORD32
45 static_func_0x7a(SYS_UWORD8 arg1, SYS_UWORD32 *arg2)
46 {
47 SYS_UWORD32 retval = 1;
48
49 if (!bss_7) {
50 if (arg1 == 'S') {
51 bss_7 = 1;
52 } else {
53 *arg2 = 1;
54 retval = 0;
55 }
56 } else {
57 bss_7 = 0;
58 if (arg1 == '0') {
59 if (bss_4) {
60 *arg2 = 1;
61 bss_4 = 0;
62 retval = 0;
63 } else {
64 bss_0xc = 2;
65 bss_8 = 0;
66 }
67 } else if (arg1 == '3') {
68 if (!bss_4) {
69 *arg2 = 1;
70 retval = 0;
71 } else {
72 bss_0xc = 4;
73 bss_8 = 0;
74 }
75 } else if (arg1 == '7') {
76 if (!bss_4) {
77 *arg2 = 1;
78 retval = 0;
79 } else {
80 bss_0xc = 3;
81 bss_8 = 0;
82 }
83 } else {
84 *arg2 = 1;
85 bss_4 = 0;
86 retval = 0;
87 }
88 }
89 return retval;
90 }