Previous 199869 Revisions Next

r36880 Wednesday 1st April, 2015 at 13:22:39 UTC by Miodrag Milanović
vs fix (nw)
[scripts/src]main.lua
[src/mess/drivers]hh_hmcs40.c hh_ucom4.c
[src/mess/includes]hh_tms1k.h

trunk/scripts/src/main.lua
r245391r245392
2121            "$(SILENT) objdump --section=.text --line-numbers --syms --demangle $(TARGET) >$(subst .exe,.sym,$(TARGET))"
2222         }
2323   end
24
24   
25   configuration { "vs*" }
26   flags {
27      "Unicode",
28   }
2529   configuration { "mingw*" or "vs*" }
2630      targetextension ".exe"
2731
trunk/src/mess/drivers/hh_hmcs40.c
r245391r245392
8181   // display common
8282   int m_display_wait;                 // led/lamp off-delay in microseconds (default 33ms)
8383   int m_display_maxy;                 // display matrix number of rows
84   int m_display_maxx;                 // display matrix number of columns (max 47 for now)
84   int m_display_maxx;                 // display matrix number of columns
8585
8686   UINT32 m_grid;                      // VFD current row data
8787   UINT64 m_plate;                     // VFD current column data
r245391r245392
223223            m_display_decay[y][x] = m_display_wait;
224224
225225         // determine active state
226         UINT64 ds = (m_display_decay[y][x] != 0) ? 1 : 0;
226         int ds = (m_display_decay[y][x] != 0) ? 1 : 0;
227227         active_state[y] |= (ds << x);
228228      }
229229   }
r245391r245392
283283   set_display_size(maxx, maxy);
284284
285285   // update current state
286   UINT64 mask = (U64(1) << maxx) - 1;
286   UINT64 mask = (1 << maxx) - 1;
287287   for (int y = 0; y < maxy; y++)
288      m_display_state[y] = (sety >> y & 1) ? ((setx & mask) | (U64(1) << maxx)) : 0;
288      m_display_state[y] = (sety >> y & 1) ? ((setx & mask) | (1 << maxx)) : 0;
289289
290290   display_update();
291291}
trunk/src/mess/drivers/hh_ucom4.c
r245391r245392
6464   // display common
6565   int m_display_wait;                 // led/lamp off-delay in microseconds (default 33ms)
6666   int m_display_maxy;                 // display matrix number of rows
67   int m_display_maxx;                 // display matrix number of columns (max 31 for now)
67   int m_display_maxx;                 // display matrix number of columns
6868
6969   UINT32 m_grid;                      // VFD current row data
7070   UINT32 m_plate;                     // VFD current column data
trunk/src/mess/includes/hh_tms1k.h
r245391r245392
4646   // display common
4747   int m_display_wait;                 // led/lamp off-delay in microseconds (default 33ms)
4848   int m_display_maxy;                 // display matrix number of rows
49   int m_display_maxx;                 // display matrix number of columns (max 31 for now)
49   int m_display_maxx;                 // display matrix number of columns
5050
5151   UINT32 m_display_state[0x20];       // display matrix rows data (last bit is used for always-on)
5252   UINT16 m_display_segmask[0x20];     // if not 0, display matrix row is a digit, mask indicates connected segments


Previous 199869 Revisions Next


© 1997-2024 The MAME Team