swh:1:snp:63e2d142f91fc04ec33789d9d7bb85f3bef72e05
Tip revision: 66d8e606a8d996ded60bc81d5edf319142a5fad9 authored by Ron Burkey on 04 October 2021, 11:49:55 UTC
Merge branch 'master' of https://github.com/virtualagc/virtualagc
Merge branch 'master' of https://github.com/virtualagc/virtualagc
Tip revision: 66d8e60
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