GE-115 Emulator
An Emulator of the General Electrics GE-115 computer
disk.h
Go to the documentation of this file.
1#ifndef DISK_H
2#define DISK_H
3
4#include <stdint.h>
5
6struct ge;
7
8/*
9 * DSS 156-157 disk pack, a Standard-GE-100 controller on connector 3 or 4.
10 * Functional model (see connector34.h): a flat sectored backing store; a read
11 * TPER transfers the addressed sector into CPU memory through the connector.
12 *
13 * image_path : raw pack image (sector*SECTOR_BYTES bytes); NULL = blank pack.
14 * connector : 3 or 4.
15 * unit : 0..63.
16 *
17 * Registers connector34_init() if needed, then attaches the device.
18 */
19int disk_register(struct ge *ge, const char *image_path,
20 uint8_t connector, uint8_t unit);
21
22#endif /* DISK_H */
int disk_register(struct ge *ge, const char *image_path, uint8_t connector, uint8_t unit)
Definition disk.c:105
The entire state of the emulated system, including registers, memory, peripherals and timings.
Definition ge.h:96