Changeset b9ddc9a in buchla-68k
- Timestamp:
- 11/12/2017 08:47:21 PM (7 years ago)
- Branches:
- master
- Children:
- 10c7b46
- Parents:
- 7fcfade
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/etinst.c
r7fcfade rb9ddc9a 40 40 return(FAILURE); 41 41 42 ins2grp[n] = ival | (ins2grp[n] & 0xFF00);42 ins2grp[n] = ival | (ins2grp[n] & (int16_t)0xFF00); 43 43 setv2gi(n); 44 44 setinst(); … … 48 48 if (E_NULL NE (ep = findev(p_cur, t_cur, EV_INST, n, -1))) { 49 49 50 ep->e_data2 = ival;50 ep->e_data2 = (int8_t)ival; 51 51 52 52 } else if (E_NULL NE (ep = e_alc(E_SIZE2))) { 53 53 54 54 ep->e_type = EV_INST; 55 ep->e_data1 = n;56 ep->e_data2 = ival;55 ep->e_data1 = (int8_t)n; 56 ep->e_data2 = (int8_t)ival; 57 57 ep->e_time = t_cur; 58 58 p_cur = e_ins(ep, ep_adj(p_cur, 0, t_cur))->e_fwd; … … 114 114 115 115 ec = stccol - cfetp->flcol; 116 ebuf[ec] = k + '0';116 ebuf[ec] = (int8_t)(k + '0'); 117 117 118 118 if (v_regs[5] & 0x0180)
Note:
See TracChangeset
for help on using the changeset viewer.