Changeset 7258c6a in buchla-68k for ram/ctcpos.c
- Timestamp:
- 07/09/2017 04:45:34 PM (7 years ago)
- Branches:
- master
- Children:
- 8618599
- Parents:
- 0292fbb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/ctcpos.c
r0292fbb r7258c6a 15 15 #include "midas.h" 16 16 17 short ctcsw; /* text cursor status */17 int16_t ctcsw; /* text cursor status */ 18 18 19 extern short CurLine; /* current patch display line */20 extern short cxval, cyval; /* patch text cursor x, y */21 extern short stcrow, stccol; /* patch text cursor row,col */22 extern short vtcrow, vtccol; /* menu text cursor row,col */19 extern int16_t CurLine; /* current patch display line */ 20 extern int16_t cxval, cyval; /* patch text cursor x, y */ 21 extern int16_t stcrow, stccol; /* patch text cursor row,col */ 22 extern int16_t vtcrow, vtccol; /* menu text cursor row,col */ 23 23 24 extern u nsigned*obj9; /* patch cursor object pointer */25 extern u nsigned*obj11; /* menu cursor object pointer */24 extern uint16_t *obj9; /* patch cursor object pointer */ 25 extern uint16_t *obj11; /* menu cursor object pointer */ 26 26 27 short mtcoldc; /* previous cursor column location */28 short mtcoldr; /* previous cursor row location */27 int16_t mtcoldc; /* previous cursor column location */ 28 int16_t mtcoldr; /* previous cursor row location */ 29 29 30 30 /* … … 38 38 */ 39 39 40 void ctcpos( short row, short col)40 void ctcpos(int16_t row, int16_t col) 41 41 { 42 register short nrow;42 register int16_t nrow; 43 43 44 44 if (ctcsw) { … … 109 109 */ 110 110 111 void mtcpos( short row, short col)111 void mtcpos(int16_t row, int16_t col) 112 112 { 113 113 if (v_regs[5] & 0x0180) /* point at the control bank */
Note:
See TracChangeset
for help on using the changeset viewer.