- Timestamp:
- 07/11/2017 05:46:49 PM (7 years ago)
- Branches:
- master
- Children:
- 4d04f41
- Parents:
- 7af8be4
- Location:
- ram
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/swinit.c
r7af8be4 r0170798 35 35 void (*premove)(void); /* cursor pre-move function */ 36 36 void (*pstmove)(void); /* cursor post-move function */ 37 void (*vt_adv)(void); /* vtyper data cursor advance function */ 38 void (*vt_bsp)(void); /* vtyper data cursor backspace function */ 39 void (*vt_cdn)(void); /* vtyper data cursor down function */ 40 void (*vt_cup)(void); /* vtyper data cursor up function */ 41 void (*vt_dsp)(uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf); 42 /* vtyper display function */ 43 void (*vt_stop)(void); /* vtyper exit function */ 37 vtcurs vt_adv; /* vtyper data cursor advance function */ 38 vtcurs vt_bsp; /* vtyper data cursor backspace function */ 39 vtcurs vt_cdn; /* vtyper data cursor down function */ 40 vtcurs vt_cup; /* vtyper data cursor up function */ 41 vtchar vt_dsp; /* vtyper display function */ 42 vtcurs vt_stop; /* vtyper exit function */ 44 43 void (*x_key)(void); /* X key processor */ 45 44 void (*xy_dn)(void); /* cursor - finger on (down) */ -
ram/vtyper.c
r7af8be4 r0170798 41 41 */ 42 42 43 void vtsetup(uint16_t *obj, int16_t (*dsp)(), int16_t col, int8_t *ptr, int16_t tr, int16_t tc, int16_t (*adv)(), int16_t (*bsp)(), int16_t (*cup)(), int16_t (*cdn)(), int16_t (*stop)(), uint16_t fg, uint16_t bg)43 void vtsetup(uint16_t *obj, vtchar dsp, int16_t col, int8_t *ptr, int16_t tr, int16_t tc, vtcurs adv, vtcurs bsp, vtcurs cup, vtcurs cdn, vtcurs stop, uint16_t fg, uint16_t bg) 44 44 { 45 45 vtobj = obj; /* setup object pointer */ -
ram/vtyper.x
r7af8be4 r0170798 8 8 9 9 #include "stdint.h" 10 11 typedef void (*vtchar)(uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf); 12 typedef void (*vtcurs)(void); 10 13 11 14 /* … … 28 31 extern void vtcyupd(void); 29 32 extern void vtdisp(uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf); 30 extern void vtsetup(uint16_t *obj, int16_t (*dsp)(), int16_t col, int8_t *ptr, int16_t tr, int16_t tc, int16_t (*adv)(), int16_t (*bsp)(), int16_t (*cup)(), int16_t (*cdn)(), int16_t (*stop)(), uint16_t fg, uint16_t bg);33 extern void vtsetup(uint16_t *obj, vtchar dsp, int16_t col, int8_t *ptr, int16_t tr, int16_t tc, vtcurs adv, vtcurs bsp, vtcurs cup, vtcurs cdn, vtcurs stop, uint16_t fg, uint16_t bg); 31 34 extern int16_t vtyper(void);
Note:
See TracChangeset
for help on using the changeset viewer.