Mercurial > repos > blastem
comparison z80_to_x86.c @ 625:6aa2a8ab9c70
Slight cleanup of vint handling on the Z80
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 19 Jun 2014 08:14:35 -0700 |
parents | a3b48a57e847 |
children | 7c46891a29b1 |
comparison
equal
deleted
inserted
replaced
624:788545f4064f | 625:6aa2a8ab9c70 |
---|---|
1962 context->static_code_map->offsets = malloc(sizeof(int32_t) * 0x2000); | 1962 context->static_code_map->offsets = malloc(sizeof(int32_t) * 0x2000); |
1963 memset(context->static_code_map->offsets, 0xFF, sizeof(int32_t) * 0x2000); | 1963 memset(context->static_code_map->offsets, 0xFF, sizeof(int32_t) * 0x2000); |
1964 context->banked_code_map = malloc(sizeof(native_map_slot) * (1 << 9)); | 1964 context->banked_code_map = malloc(sizeof(native_map_slot) * (1 << 9)); |
1965 memset(context->banked_code_map, 0, sizeof(native_map_slot) * (1 << 9)); | 1965 memset(context->banked_code_map, 0, sizeof(native_map_slot) * (1 << 9)); |
1966 context->options = options; | 1966 context->options = options; |
1967 context->int_cycle = 0xFFFFFFFF; | |
1967 } | 1968 } |
1968 | 1969 |
1969 void z80_reset(z80_context * context) | 1970 void z80_reset(z80_context * context) |
1970 { | 1971 { |
1971 context->im = 0; | 1972 context->im = 0; |