Revert "Merge branch 'feature/machine_and_kb' into master"
This reverts commit6604a29d7e, reversing changes made to1d7fca0abd.
This commit is contained in:
@@ -18,34 +18,33 @@
|
||||
# define EMU_PIT_H
|
||||
|
||||
|
||||
typedef struct ctr_s {
|
||||
typedef struct {
|
||||
uint8_t m, ctrl,
|
||||
read_status, latch,
|
||||
s1_det, l_det,
|
||||
bcd, flag_64k;
|
||||
bcd, pad;
|
||||
|
||||
uint16_t l, rl;
|
||||
|
||||
union {
|
||||
uint16_t count;
|
||||
struct {
|
||||
uint16_t units :4;
|
||||
uint16_t tens :4;
|
||||
uint16_t hundreds :4;
|
||||
uint16_t thousands :4;
|
||||
uint16_t myriads :4;
|
||||
};
|
||||
};
|
||||
uint16_t rl;
|
||||
|
||||
int rm, wm, gate, out,
|
||||
newcount, clock, using_timer, latched,
|
||||
state, null_count, do_read_status, do_load;
|
||||
state, null_count, do_read_status;
|
||||
|
||||
union {
|
||||
int count;
|
||||
struct {
|
||||
int units :4;
|
||||
int tens :4;
|
||||
int hundreds :4;
|
||||
int thousands :4;
|
||||
int myriads :4;
|
||||
};
|
||||
};
|
||||
|
||||
uint32_t l;
|
||||
|
||||
void (*tick_func)(struct ctr_s *ctr);
|
||||
void (*load_func)(uint8_t new_m, int new_count);
|
||||
void (*out_func)(int new_out, int old_out);
|
||||
|
||||
struct PIT *pit;
|
||||
} ctr_t;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user