Changeset 7a2cb0d in buchla-68k
- Timestamp:
- 11/12/2017 09:31:12 PM (7 years ago)
- Branches:
- master
- Children:
- 6f0834c
- Parents:
- 96496d0
- Location:
- ram
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/ttcpos.c
r96496d0 r7a2cb0d 11 11 #define CW_F 0xFFFF 12 12 13 static int16_t ttcur[] = {13 static uint16_t ttcur[] = { 14 14 15 15 CW_0, CW_0, CW_0, CW_0, /* 0 */ … … 37 37 */ 38 38 39 void ttcini( uint16_t color)39 void ttcini(int16_t color) 40 40 { 41 41 if ((v_regs[5] & 0x0180) NE 0x0100) … … 69 69 op->objx = xcol; /* update v_obtab entry */ 70 70 op->objy = yrow; 71 op->odtw1 = 0x0400 | (0x03FF & (xcol >> 1));71 op->odtw1 = (uint16_t)(0x0400 | (0x03FF & (xcol >> 1))); 72 72 73 73 SetPri(TTCURS, TTCPRI); /* turn on the new location */ -
ram/ttcpos.x
r96496d0 r7a2cb0d 15 15 */ 16 16 17 extern void ttcini( uint16_t color);17 extern void ttcini(int16_t color); 18 18 extern void ttcpos(int16_t row, int16_t col);
Note:
See TracChangeset
for help on using the changeset viewer.