GE-115 Emulator
An Emulator of the General Electrics GE-115 computer
tape.h
Go to the documentation of this file.
1#ifndef TAPE_H
2#define TAPE_H
3
4#include <stdint.h>
5
6struct ge;
7
8/*
9 * MTC/MTH magnetic tape, a Standard-GE-100 controller on connector 3 or 4.
10 * Functional model (see connector34.h): a length-prefixed record image; a read
11 * TPER transfers the current record into CPU memory through the connector.
12 *
13 * Image format (host file):
14 * record: uint16 big-endian length, then `length` data bytes
15 * tape mark: uint16 0x0000 (a zero-length record)
16 * end of medium: physical end of file
17 *
18 * image_path : reel image (NULL = blank/empty reel)
19 * connector : 3 or 4
20 * unit : 0..63
21 */
22int tape_register(struct ge *ge, const char *image_path,
23 uint8_t connector, uint8_t unit);
24
25#endif /* TAPE_H */
The entire state of the emulated system, including registers, memory, peripherals and timings.
Definition ge.h:96
int tape_register(struct ge *ge, const char *image_path, uint8_t connector, uint8_t unit)
Definition tape.c:138