Go to the source code of this file.
◆ BCD_INT()
Definition at line 23 of file pcrtc.c.
25{
26 return ((Bcd & 0xF0) >> 4) * 10 + (Bcd & 0x0F);
27}
Referenced by PcGetTime().
◆ PcGetTime()
Definition at line 30 of file pcrtc.c.
31{
34
35 for (;;)
36 {
37
38
39
40
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
58 Int386(0x1A, &Regs, &Regs);
59
61
65
66
67
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
85 Int386(0x1A, &Regs, &Regs);
86
88
92
93 break;
94 }
95 return &TimeInfo;
96}
#define INT386_SUCCESS(regs)
int __cdecl Int386(int ivec, REGS *in, REGS *out)
static UCHAR BCD_INT(_In_ UCHAR Bcd)
Referenced by MachInit().