/[mit-cadr]/branches/ggilley/emulator/usim/ucode.c
ViewVC logotype

Diff of /branches/ggilley/emulator/usim/ucode.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 409 by ggilley, Tue Dec 4 17:44:35 2012 UTC revision 410 by ggilley, Sun Mar 3 22:44:10 2013 UTC
# Line 796  if ((vaddr & 077700000) == 077200000) { Line 796  if ((vaddr & 077700000) == 077200000) {
796  static inline void  static inline void
797  write_ucode(int addr, ucw_t w)  write_ucode(int addr, ucw_t w)
798  {  {
799          tracef("u-code write; %Lo @ %o\n", w, addr);          tracef("u-code write; %llo @ %o\n", w, addr);
800          ucode[addr] = w;          ucode[addr] = w;
801  }  }
802    
# Line 1978  run(void) Line 1978  run(void)
1978  {  {
1979          int trace_pt_prom, trace_pt, trace_pt_count, trace_label_pt;          int trace_pt_prom, trace_pt, trace_pt_count, trace_label_pt;
1980          char *sym, *last_sym = 0;          char *sym, *last_sym = 0;
1981        ucw_t p1 = 0;
1982        int p0_pc = 0, p1_pc= 0;
1983        char no_exec_next = 0;
1984    
1985          /* 2Mwords */          /* 2Mwords */
1986          phys_ram_pages = 8192;          phys_ram_pages = 8192;
# Line 2002  run(void) Line 2005  run(void)
2005    
2006          while (run_ucode_flag) {          while (run_ucode_flag) {
2007                  char op_code;                  char op_code;
                 char no_exec_next;  
2008                  char invert_sense, take_jump;                  char invert_sense, take_jump;
2009                  int a_src, m_src, new_pc, dest, alu_op;                  int a_src, m_src, new_pc, dest, alu_op;
2010                  int r_bit, p_bit, n_bit, ir8, ir7;                  int r_bit, p_bit, n_bit, ir8, ir7;
# Line 2020  run(void) Line 2022  run(void)
2022                  unsigned int out_bus;                  unsigned int out_bus;
2023                  int64 lv;                  int64 lv;
2024                  ucw_t u, w;                  ucw_t u, w;
                 ucw_t p1;  
                 int p0_pc, p1_pc;  
2025  #define p0 u  #define p0 u
2026    
2027                  char n_plus1, enable_ish;                  char n_plus1, enable_ish;

Legend:
Removed from v.409  
changed lines
  Added in v.410

  ViewVC Help
Powered by ViewVC 1.1.5