GE-115 Emulator
An Emulator of the General Electrics GE-115 computer
Functions
binimage.c File Reference
#include "binimage.h"

Go to the source code of this file.

Functions

int binimage_write (FILE *fp, uint16_t origin, uint16_t entry, const uint8_t *img, uint16_t len)
 
int binimage_read (FILE *fp, uint16_t *origin, uint16_t *entry, uint8_t *buf, size_t bufcap, uint16_t *len)
 
const char * binimage_strerror (int code)
 

Function Documentation

◆ binimage_read()

int binimage_read ( FILE *  fp,
uint16_t *  origin,
uint16_t *  entry,
uint8_t *  buf,
size_t  bufcap,
uint16_t *  len 
)

Definition at line 41 of file binimage.c.

◆ binimage_strerror()

const char * binimage_strerror ( int  code)

Definition at line 79 of file binimage.c.

◆ binimage_write()

int binimage_write ( FILE *  fp,
uint16_t  origin,
uint16_t  entry,
const uint8_t *  img,
uint16_t  len 
)

Definition at line 10 of file binimage.c.