Mercurial > repos > blastem
comparison trans.c @ 19:4717146a7606
Initial support for M68k reset vector, rather than starting at an arbitrary address
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 04 Dec 2012 19:25:54 -0800 |
parents | 3e7bfde7606e |
children | e657a99b5abf |
comparison
equal
deleted
inserted
replaced
18:3e7bfde7606e | 19:4717146a7606 |
---|---|
32 context.mem_pointers[0] = filebuf; | 32 context.mem_pointers[0] = filebuf; |
33 context.target_cycle = 0x7FFFFFFF; | 33 context.target_cycle = 0x7FFFFFFF; |
34 //work RAM | 34 //work RAM |
35 context.mem_pointers[1] = malloc(64 * 1024); | 35 context.mem_pointers[1] = malloc(64 * 1024); |
36 translate_m68k_stream(transbuf, transbuf + size, 0, &context); | 36 translate_m68k_stream(transbuf, transbuf + size, 0, &context); |
37 start_68k_context(&context, 0); | 37 m68k_reset(&context); |
38 return 0; | 38 return 0; |
39 } | 39 } |