Mercurial > repos > blastem
comparison m68k_util.c @ 2500:d44fe974fb85
Get blastem compiling with new 68K core
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 30 Apr 2024 22:32:08 -0700 |
parents | d74d3998482c |
children | 5f725429d08f |
comparison
equal
deleted
inserted
replaced
2499:d74d3998482c | 2500:d44fe974fb85 |
---|---|
95 | 95 |
96 void m68k_deserialize(deserialize_buffer *buf, void *vcontext) | 96 void m68k_deserialize(deserialize_buffer *buf, void *vcontext) |
97 { | 97 { |
98 //TODO: implement me | 98 //TODO: implement me |
99 } | 99 } |
100 | |
101 void start_68k_context(m68k_context *context, uint32_t pc) | |
102 { | |
103 context->scratch1 = context->pc = pc; | |
104 m68k_read_16(context); | |
105 context->prefetch = context->scratch1; | |
106 context->pc += 2; | |
107 } |