Rev 601 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 601 | Rev 624 | ||
---|---|---|---|
Line 20... | Line 20... | ||
20 | //└─────────────────────────────────────────────┘ |
20 | //└─────────────────────────────────────────────┘ |
21 | // |
21 | // |
22 | //----------------------------------------------------------------------------- |
22 | //----------------------------------------------------------------------------- |
23 | 23 | ||
24 | const WIND_DESC wind_t_ps2k PROGMEM = { 3,5,47,16,0xdf,0x01 }; |
24 | const WIND_DESC wind_t_ps2k PROGMEM = { 3,5,47,16,0xdf,0x01 }; |
- | 25 | #define p_wind_t_ps2k ((const P_WIND_DESC)&wind_t_ps2k) |
|
25 | 26 | ||
26 | const u8 tpsk_tab[] PROGMEM = { |
27 | const u8 tpsk_tab[] PROGMEM = { |
27 | 0 , 0 , // 0x00 |
28 | 0 , 0 , // 0x00 |
28 | (11<<3)|0, 0 , // 0x01 |
29 | (11<<3)|0, 0 , // 0x01 |
29 | 0 , 0 , // 0x02 |
30 | 0 , 0 , // 0x02 |
Line 197... | Line 198... | ||
197 | 198 | ||
198 | //----------------------------------------------------------------------------- |
199 | //----------------------------------------------------------------------------- |
199 | 200 | ||
200 | void Test_PS2Keyb(void) |
201 | void Test_PS2Keyb(void) |
201 | { |
202 | { |
202 | scr_window(&wind_t_ps2k); |
203 | scr_window(p_wind_t_ps2k); |
203 | scr_print_mlmsg(mlmsg_tps2k0); |
204 | scr_print_mlmsg(mlmsg_tps2k0); |
204 | scr_print_msg(msg_tps2k1); |
205 | scr_print_msg(msg_tps2k1); |
205 | scr_fill_char(0xc4,45); // '─' |
206 | scr_fill_char(0xc4,45); // '─' |
206 | u8 ptr; |
207 | u8 ptr; |
207 | for (ptr=0;ptr<16;ptr++) megabuffer[ptr]=0; |
208 | for (ptr=0;ptr<16;ptr++) megabuffer[ptr]=0; |