Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Macros | Functions | Variables
inject.c File Reference
#include "xemu/emutools.h"
#include "inject.h"
#include "xemu/emutools_files.h"
#include "memory_mapper.h"
#include "vic4.h"
#include "xemu/emutools_hid.h"
#include "xemu/f011_core.h"
Include dependency graph for inject.c:

Go to the source code of this file.


#define C64_BASIC_LOAD_ADDR   0x0801
#define C65_BASIC_LOAD_ADDR   0x2001
#define CBM_SCREEN_PRINTF(scrp, ...)


int inject_register_ready_status (const char *debug_msg, void(*callback)(void *), void *userdata)
void inject_register_allow_disk_access (void)
int inject_register_prg (const char *prg_fn, int prg_mode)
void inject_ready_check_do (void)


int inject_ready_check_status = 0

Macro Definition Documentation


#define C64_BASIC_LOAD_ADDR   0x0801

Definition at line 28 of file inject.c.


#define C65_BASIC_LOAD_ADDR   0x2001

Definition at line 29 of file inject.c.


#define CBM_SCREEN_PRINTF (   scrp,
do { \
char __buffer__[80]; \
sprintf(__buffer__, ##__VA_ARGS__); \
_cbm_screen_write(scrp, __buffer__); \
} while (0)

Definition at line 71 of file inject.c.

Function Documentation

◆ inject_ready_check_do()

void inject_ready_check_do ( void  )

Definition at line 234 of file inject.c.

◆ inject_register_allow_disk_access()

void inject_register_allow_disk_access ( void  )

Definition at line 132 of file inject.c.

Here is the call graph for this function:

◆ inject_register_prg()

int inject_register_prg ( const char *  prg_fn,
int  prg_mode 

Definition at line 140 of file inject.c.

Here is the call graph for this function:

◆ inject_register_ready_status()

int inject_register_ready_status ( const char *  debug_msg,
void(*)(void *)  callback,
void *  userdata 

Definition at line 117 of file inject.c.

Variable Documentation

◆ c64_mode

int c64_mode

Definition at line 39 of file inject.c.

◆ inject_ready_check_status

int inject_ready_check_status = 0

Definition at line 31 of file inject.c.

◆ load_addr

int load_addr

Definition at line 38 of file inject.c.

◆ run_it

int run_it

Definition at line 40 of file inject.c.

◆ size

int size

Definition at line 37 of file inject.c.

◆ stream

Uint8* stream

Definition at line 36 of file inject.c.