Rocket 68
A Motorola 68000 CPU emulator in C
Loading...
Searching...
No Matches
loader.h
Go to the documentation of this file.
1
5#ifndef M68K_LOADER_H
6#define M68K_LOADER_H
7
8#include <stdbool.h>
9
10#include "m68k.h"
11
22bool m68k_load_srec(M68kCpu* cpu, const char* filename);
23
36bool m68k_load_bin(M68kCpu* cpu, const char* filename, u32 address, u32* size_out);
37
51bool m68k_load_ihex(M68kCpu* cpu, const char* filename);
52
53#endif
bool m68k_load_ihex(M68kCpu *cpu, const char *filename)
Load Intel HEX data into CPU memory.
Definition loader.c:183
bool m68k_load_srec(M68kCpu *cpu, const char *filename)
Load Motorola S-record data into CPU memory.
Definition loader.c:40
bool m68k_load_bin(M68kCpu *cpu, const char *filename, u32 address, u32 *size_out)
Load a raw binary file into CPU memory.
Definition loader.c:152
Public CPU core API for Rocket 68.
uint32_t u32
Unsigned 32-bit integer type.
Definition m68k.h:24
Full CPU context for one emulated 68000 instance.
Definition m68k.h:146