Write to the 0xFXXX range of ports */
| 370 | |
| 371 | /* Write to the 0xFXXX range of ports */ |
| 372 | static void fxxx_write(const uint16_t pio, const uint8_t value, bool poke) { |
| 373 | (void)poke; |
| 374 | /* 0xFFE appears to dump the contents of flash. Probably not a good thing to print to a console :) */ |
| 375 | if (pio != 0xFFF) { |
| 376 | return; |
| 377 | } |
| 378 | |
| 379 | #ifdef DEBUG_SUPPORT |
| 380 | if (value != 0) { |
| 381 | debug.buffer[debug.bufPos] = (char)value; |
| 382 | debug.bufPos = (debug.bufPos + 1) % (SIZEOF_DBG_BUFFER); |
| 383 | } |
| 384 | #else |
| 385 | (void)value; |
| 386 | #endif |
| 387 | } |
| 388 | |
| 389 | /* Read from the 0xFXXX range of ports */ |
| 390 | static uint8_t fxxx_read(const uint16_t pio, bool peek) { |
nothing calls this directly
no outgoing calls
no test coverage detected