Mercurial > repos > blastem
comparison m68k_util.c @ 2580:939b818df589
Get 68K interrupts working in new CPU core
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 08 Feb 2025 11:40:42 -0800 |
parents | 5f725429d08f |
children | e04c7e753bf6 |
comparison
equal
deleted
inserted
replaced
2579:bd8d1babbfb5 | 2580:939b818df589 |
---|---|
50 { | 50 { |
51 m68k_context *context = calloc(1, sizeof(m68k_context)); | 51 m68k_context *context = calloc(1, sizeof(m68k_context)); |
52 context->opts = opts; | 52 context->opts = opts; |
53 context->reset_handler = reset_handler; | 53 context->reset_handler = reset_handler; |
54 context->int_cycle = 0xFFFFFFFFU; | 54 context->int_cycle = 0xFFFFFFFFU; |
55 context->int_pending = 255; | |
55 context->sync_components = sync_comp_tmp; | 56 context->sync_components = sync_comp_tmp; |
56 sync_comp_tmp = NULL; | 57 sync_comp_tmp = NULL; |
57 context->int_ack_handler = int_ack_tmp; | 58 context->int_ack_handler = int_ack_tmp; |
58 int_ack_tmp = NULL; | 59 int_ack_tmp = NULL; |
59 return context; | 60 return context; |