#include "sat_batches.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cap.h"
#include "transcode.h"
Go to the source code of this file.
|
| static int | row8_loader_card (const struct cap_deck *deck) |
| |
| static int | append_card_range (struct cap_deck *out, const struct cap_deck *src, int first, int last_inclusive) |
| |
| static int | append_source (struct cap_deck *out, const char *path, enum sat_source_op op) |
| |
| static const struct sat_batch_def * | sat_batch_def_find (const char *id) |
| |
| static void | sat_apply_image_patches (const struct sat_batch_def *def, unsigned char *image) |
| |
| static void | sat_note (char *note, size_t note_sz, const struct sat_batch_def *def) |
| |
| int | sat_batch_count (void) |
| |
| const struct sat_batch_info * | sat_batch_info_at (int idx) |
| |
| const struct sat_batch_info * | sat_batch_find (const char *id) |
| |
| 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) |
| |
| int | sat_batch_prepare_deck (const char *root, const char *id, const char *out_path, char *note, size_t note_sz) |
| |
◆ sat_source_op
| Enumerator |
|---|
| SAT_SRC_AS_IS | |
| SAT_SRC_TRIM_TITLE_SUMMARY | |
| SAT_SRC_SERIAL_LOADER_PLUS_BODY | |
Definition at line 10 of file sat_batches.c.
◆ append_card_range()
| static int append_card_range |
( |
struct cap_deck * |
out, |
|
|
const struct cap_deck * |
src, |
|
|
int |
first, |
|
|
int |
last_inclusive |
|
) |
| |
|
static |
◆ append_source()
◆ row8_loader_card()
| static int row8_loader_card |
( |
const struct cap_deck * |
deck | ) |
|
|
static |
◆ sat_apply_image_patches()
| static void sat_apply_image_patches |
( |
const struct sat_batch_def * |
def, |
|
|
unsigned char * |
image |
|
) |
| |
|
static |
◆ sat_batch_count()
| int sat_batch_count |
( |
void |
| ) |
|
◆ sat_batch_def_find()
| static const struct sat_batch_def * sat_batch_def_find |
( |
const char * |
id | ) |
|
|
static |
◆ sat_batch_find()
◆ sat_batch_info_at()
◆ 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 |
|
) |
| |
◆ 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 |
|
) |
| |
◆ sat_note()
| static void sat_note |
( |
char * |
note, |
|
|
size_t |
note_sz, |
|
|
const struct sat_batch_def * |
def |
|
) |
| |
|
static |
◆ printer_mech_center_card
Initial value:= {
{ 0x0670, 0x01 },
{ 0x0671, 0x01 },
{ 0x0673, 0x01 },
{ 0x0674, 0x01 },
{ 0x0675, 0x00 },
}
Definition at line 61 of file sat_batches.c.
◆ sat_batches
◆ src_control_program
Initial value:= {
}
@ SAT_SRC_SERIAL_LOADER_PLUS_BODY
Definition at line 69 of file sat_batches.c.
◆ src_cpu_functional
◆ src_ls600_controller
Initial value:= {
}
@ SAT_SRC_TRIM_TITLE_SUMMARY
Definition at line 73 of file sat_batches.c.
◆ src_ls600_doe
◆ src_ls600_transcoder
◆ src_printer_mech
◆ src_reader_a