Revision 4e5d304eb7cd5589b924ffb8b423b6f15511b35d authored by Ron Burkey on 20 October 2018, 17:47:00 UTC, committed by Ron Burkey on 20 October 2018, 17:47:00 UTC
the recently-added documents about YUL, was transcribed.  Because the
original program contained a deliberate error in YUL (as well as some
constructs that have unintentionally become errors in yaYUL), I've
provided it in two forms:  TRIVIUM (which matches the original scan,
to the extent feasible) and TRIVIUM-repaired (which has the deliberate
and unintentional errors fixed, but otherwise retains the identical
functionality of the original).
1 parent c6c292e
Raw File
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
back to top