- Timestamp:
- 11/12/2017 09:42:08 PM (7 years ago)
- Branches:
- master
- Children:
- 9e37759
- Parents:
- 3577fe1
- Location:
- ram
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/itcpos.c
r3577fe1 r0ca44a2 11 11 #define CW_F 0xFFFF 12 12 13 static int16_t itcur[] = {13 static uint16_t itcur[] = { 14 14 15 15 CW_0, CW_0, CW_0, CW_0, /* 0 */ … … 37 37 */ 38 38 39 void itcini( uint16_t color)39 void itcini(int16_t color) 40 40 { 41 41 if ((v_regs[5] & 0x0180) NE 0x0100) … … 70 70 op->objy = yrow; 71 71 op->obase = &v_cur[0]; 72 op->odtw1 = 0x0400 | (0x03FF & (xcol >> 1));72 op->odtw1 = (uint16_t)(0x0400 | (0x03FF & (xcol >> 1))); 73 73 74 74 SetPri(TCURS, TCPRI); /* turn on the new location */ -
ram/itcpos.x
r3577fe1 r0ca44a2 17 17 extern void advicur(void); 18 18 extern void bspicur(void); 19 extern void itcini( uint16_t color);19 extern void itcini(int16_t color); 20 20 extern void itcpos(int16_t row, int16_t col);
Note:
See TracChangeset
for help on using the changeset viewer.