GE-115 Emulator
An Emulator of the General Electrics GE-115 computer
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
10 const char *id;
11 const char *title;
12 const char *summary;
13};
14
15int sat_batch_count(void);
16const struct sat_batch_info *sat_batch_info_at(int idx);
17const struct sat_batch_info *sat_batch_find(const char *id);
18
19/*
20 * Compose a batch into a single .cap deck at out_path. Every batch is a deck:
21 * there is no image-staging variant, because the machine has no way to receive
22 * a program other than on cards.
23 */
24int sat_batch_prepare_deck(const char *root, const char *id,
25 const char *out_path,
26 char *note, size_t note_sz);
27
28#endif
const struct sat_batch_info * sat_batch_find(const char *id)
int sat_batch_count(void)
const struct sat_batch_info * sat_batch_info_at(int idx)
int sat_batch_prepare_deck(const char *root, const char *id, const char *out_path, char *note, size_t note_sz)
const char * summary
Definition sat_batches.h:12
const char * title
Definition sat_batches.h:11
const char * id
Definition sat_batches.h:10