swh:1:snp:92f3f585b9ae79620ad8c41a332d6329b31fd381
Tip revision: 078c79d8734a9ed2860303a7c1662004284fe853 authored by Ron Burkey on 07 August 2022, 15:04:04 UTC
Fixed a potential string-overflow bug in yaASM. Removed timestamps from
Fixed a potential string-overflow bug in yaASM. Removed timestamps from
Tip revision: 078c79d
CLK.h
/****************************************************************************
* CLK - CLOCK subsystem
*
* AUTHOR: John Pultorak
* DATE: 9/22/01
* FILE: CLK.h
*
* VERSIONS:
*
* DESCRIPTION:
* Clock for the Block 1 Apollo Guidance Computer prototype (AGC4).
*
* SOURCES:
* Mostly based on information from "Logical Description for the Apollo
* Guidance Computer (AGC4)", Albert Hopkins, Ramon Alonso, and Hugh
* Blair-Smith, R-393, MIT Instrumentation Laboratory, 1963.
*
* NOTES:
*
*****************************************************************************
*/
#ifndef CLK_H
#define CLK_H
#include "reg.h"
// define pointer-to-function type
typedef void
(*EXECTYPE)();
class CLK
{
public:
static void
doexecR(int pulse);
static void
doexecR_ALU(int pulse);
static void
doexecR_ALU_OR(int pulse);
static void
doexecW(int pulse);
static void
clkAGC();
static reg* registerList[];
};
#endif