Rocket 68
A Motorola 68000 CPU emulator in C
Toggle main menu visibility
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
22
bool
m68k_load_srec
(
M68kCpu
* cpu,
const
char
* filename);
23
36
bool
m68k_load_bin
(
M68kCpu
* cpu,
const
char
* filename,
u32
address,
u32
* size_out);
37
51
bool
m68k_load_ihex
(
M68kCpu
* cpu,
const
char
* filename);
52
53
#endif
m68k_load_ihex
bool m68k_load_ihex(M68kCpu *cpu, const char *filename)
Load Intel HEX data into CPU memory.
Definition
loader.c:183
m68k_load_srec
bool m68k_load_srec(M68kCpu *cpu, const char *filename)
Load Motorola S-record data into CPU memory.
Definition
loader.c:40
m68k_load_bin
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
m68k.h
Public CPU core API for Rocket 68.
u32
uint32_t u32
Unsigned 32-bit integer type.
Definition
m68k.h:24
M68kCpu
Full CPU context for one emulated 68000 instance.
Definition
m68k.h:146
include
loader.h
Generated by
1.17.0