GE-115 Emulator
An Emulator of the General Electrics GE-115 computer
Main Page
Related Pages
Topics
Data Structures
Files
File List
Globals
sat_batches.h
Go to the documentation of this file.
1
#ifndef SAT_BATCHES_H
2
#define SAT_BATCHES_H
3
4
#include <stddef.h>
5
#include <stdint.h>
6
7
#include "
ge.h
"
8
9
enum
sat_batch_launch
{
10
SAT_BATCH_IMAGE
= 1,
11
SAT_BATCH_READER
= 2,
12
};
13
14
struct
sat_batch_info
{
15
const
char
*
id
;
16
const
char
*
title
;
17
const
char
*
summary
;
18
enum
sat_batch_launch
launch
;
19
};
20
21
int
sat_batch_count
(
void
);
22
const
struct
sat_batch_info
*
sat_batch_info_at
(
int
idx);
23
const
struct
sat_batch_info
*
sat_batch_find
(
const
char
*
id
);
24
25
int
sat_batch_prepare_image
(
const
char
*root,
const
char
*
id
,
26
unsigned
char
*image,
27
unsigned
*lo,
unsigned
*hi, uint16_t *entry,
28
char
*note,
size_t
note_sz);
29
30
int
sat_batch_prepare_deck
(
const
char
*root,
const
char
*
id
,
31
const
char
*out_path,
32
char
*note,
size_t
note_sz);
33
34
#endif
ge.h
sat_batch_find
const struct sat_batch_info * sat_batch_find(const char *id)
Definition
sat_batches.c:248
sat_batch_prepare_image
int sat_batch_prepare_image(const char *root, const char *id, unsigned char *image, unsigned *lo, unsigned *hi, uint16_t *entry, char *note, size_t note_sz)
Definition
sat_batches.c:254
sat_batch_count
int sat_batch_count(void)
Definition
sat_batches.c:236
sat_batch_info_at
const struct sat_batch_info * sat_batch_info_at(int idx)
Definition
sat_batches.c:241
sat_batch_prepare_deck
int sat_batch_prepare_deck(const char *root, const char *id, const char *out_path, char *note, size_t note_sz)
Definition
sat_batches.c:279
sat_batch_launch
sat_batch_launch
Definition
sat_batches.h:9
SAT_BATCH_IMAGE
@ SAT_BATCH_IMAGE
Definition
sat_batches.h:10
SAT_BATCH_READER
@ SAT_BATCH_READER
Definition
sat_batches.h:11
sat_batch_info
Definition
sat_batches.h:14
sat_batch_info::summary
const char * summary
Definition
sat_batches.h:17
sat_batch_info::launch
enum sat_batch_launch launch
Definition
sat_batches.h:18
sat_batch_info::title
const char * title
Definition
sat_batches.h:16
sat_batch_info::id
const char * id
Definition
sat_batches.h:15
Generated by
1.9.8