| 5758 | } |
| 5759 | |
| 5760 | static void show_exec_tasks (void) |
| 5761 | { |
| 5762 | uaecptr execbase = get_long_debug (4); |
| 5763 | uaecptr taskready = execbase + 406; |
| 5764 | uaecptr taskwait = execbase + 420; |
| 5765 | uaecptr node; |
| 5766 | console_out_f (_T("Execbase at 0x%08X\n"), execbase); |
| 5767 | console_out (_T("Current:\n")); |
| 5768 | node = get_long_debug (execbase + 276); |
| 5769 | print_task_info (node, false); |
| 5770 | console_out_f (_T("Ready:\n")); |
| 5771 | node = get_long_debug (taskready); |
| 5772 | while (node && get_long_debug(node)) { |
| 5773 | print_task_info (node, true); |
| 5774 | node = get_long_debug (node); |
| 5775 | } |
| 5776 | console_out (_T("Waiting:\n")); |
| 5777 | node = get_long_debug (taskwait); |
| 5778 | while (node && get_long_debug(node)) { |
| 5779 | print_task_info (node, true); |
| 5780 | node = get_long_debug (node); |
| 5781 | } |
| 5782 | } |
| 5783 | |
| 5784 | static uaecptr get_base (const uae_char *name, int offset) |
| 5785 | { |
no test coverage detected