- Timestamp:
- 09/17/2017 05:01:10 PM (7 years ago)
- Branches:
- master
- Children:
- 432327d
- Parents:
- 5c4721b
- Location:
- vlib
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
vlib/vbfill4.c
r5c4721b r8c8b4e5 27 27 }; 28 28 29 void vbfill4( uint16_t *obj, int16_t obwidth, int16_t xmin, int16_t ymin, int16_t xmax, int16_t ymax, uint16_t color)29 void vbfill4(volatile uint16_t *obj, int16_t obwidth, int16_t xmin, int16_t ymin, int16_t xmax, int16_t ymax, uint16_t color) 30 30 { 31 31 int16_t mw, nl, width; 32 32 33 registeruint16_t *fwp, *wp;34 35 registeruint16_t lmask, rmask;36 registerint16_t i, j;33 volatile uint16_t *fwp, *wp; 34 35 uint16_t lmask, rmask; 36 int16_t i, j; 37 37 38 38 fwp = obj + (int32_t)(xmin >> 2) + ((int32_t)ymin * obwidth); -
vlib/vbfill4.x
r5c4721b r8c8b4e5 15 15 */ 16 16 17 extern void vbfill4( uint16_t *obj, int16_t obwidth, int16_t xmin, int16_t ymin, int16_t xmax, int16_t ymax, uint16_t color);17 extern void vbfill4(volatile uint16_t *obj, int16_t obwidth, int16_t xmin, int16_t ymin, int16_t xmax, int16_t ymax, uint16_t color); -
vlib/vclrs.c
r5c4721b r8c8b4e5 22 22 */ 23 23 24 void vclrs( uint16_t *obase, int16_t row, int16_t col, int16_t nc, int16_t ch, uint16_t attr)24 void vclrs(volatile uint16_t *obase, int16_t row, int16_t col, int16_t nc, int16_t ch, uint16_t attr) 25 25 { 26 26 while (nc--) -
vlib/vclrs.x
r5c4721b r8c8b4e5 15 15 */ 16 16 17 extern void vclrs( uint16_t *obase, int16_t row, int16_t col, int16_t nc, int16_t ch, uint16_t attr);17 extern void vclrs(volatile uint16_t *obase, int16_t row, int16_t col, int16_t nc, int16_t ch, uint16_t attr); -
vlib/vmput.c
r5c4721b r8c8b4e5 16 16 */ 17 17 18 void vmput( uint16_t *obase, int16_t row, int16_t col, int8_t *ms[], uint16_t ma)18 void vmput(volatile uint16_t *obase, int16_t row, int16_t col, int8_t *ms[], uint16_t ma) 19 19 { 20 20 register int16_t c, tc, tr; … … 41 41 */ 42 42 43 void vmputa( uint16_t *obase, int16_t row, int16_t col, int8_t *ms[], uint16_t *ma[])43 void vmputa(volatile uint16_t *obase, int16_t row, int16_t col, int8_t *ms[], uint16_t *ma[]) 44 44 { 45 45 register int16_t c, tc, tr; -
vlib/vmput.x
r5c4721b r8c8b4e5 15 15 */ 16 16 17 extern void vmput( uint16_t *obase, int16_t row, int16_t col, int8_t *ms[], uint16_t ma);18 extern void vmputa( uint16_t *obase, int16_t row, int16_t col, int8_t *ms[], uint16_t *ma[]);17 extern void vmput(volatile uint16_t *obase, int16_t row, int16_t col, int8_t *ms[], uint16_t ma); 18 extern void vmputa(volatile uint16_t *obase, int16_t row, int16_t col, int8_t *ms[], uint16_t *ma[]); -
vlib/vobjfns.c
r5c4721b r8c8b4e5 121 121 */ 122 122 123 void SetObj(int16_t obj, int16_t type, int16_t bank, uint16_t *base, int16_t xpix, int16_t ypix, int16_t x0, int16_t y0, uint16_t flags, int16_t pri)123 void SetObj(int16_t obj, int16_t type, int16_t bank, volatile uint16_t *base, int16_t xpix, int16_t ypix, int16_t x0, int16_t y0, uint16_t flags, int16_t pri) 124 124 { 125 125 register struct octent *op; … … 216 216 */ 217 217 218 void CpyObj( uint16_t *from,uint16_t *to, int16_t w, int16_t h, int16_t sw)219 { 220 registeruint16_t *tp;221 registerint16_t i, j;218 void CpyObj(volatile uint16_t *from, volatile uint16_t *to, int16_t w, int16_t h, int16_t sw) 219 { 220 volatile uint16_t *tp; 221 int16_t i, j; 222 222 223 223 for (i = h; i--; ) { -
vlib/vobjfns.x
r5c4721b r8c8b4e5 25 25 */ 26 26 27 extern void CpyObj( uint16_t *from,uint16_t *to, int16_t w, int16_t h, int16_t sw);27 extern void CpyObj(volatile uint16_t *from, volatile uint16_t *to, int16_t w, int16_t h, int16_t sw); 28 28 extern void SelObj(int16_t obj); 29 extern void SetObj(int16_t obj, int16_t type, int16_t bank, uint16_t *base, int16_t xpix, int16_t ypix, int16_t x0, int16_t y0, uint16_t flags, int16_t pri);29 extern void SetObj(int16_t obj, int16_t type, int16_t bank, volatile uint16_t *base, int16_t xpix, int16_t ypix, int16_t x0, int16_t y0, uint16_t flags, int16_t pri); 30 30 extern void SetPri(int16_t obj, int16_t pri); -
vlib/vputs.c
r5c4721b r8c8b4e5 23 23 */ 24 24 25 void vputs( uint16_t *obase, int16_t row, int16_t col, int8_t *str, uint16_t attr)25 void vputs(volatile uint16_t *obase, int16_t row, int16_t col, int8_t *str, uint16_t attr) 26 26 { 27 27 int16_t c; … … 50 50 */ 51 51 52 void vputsa( uint16_t *obase, int16_t row, int16_t col, int8_t *str, uint16_t *attr)52 void vputsa(volatile uint16_t *obase, int16_t row, int16_t col, int8_t *str, uint16_t *attr) 53 53 { 54 54 int16_t c; -
vlib/vputs.x
r5c4721b r8c8b4e5 15 15 */ 16 16 17 extern void vputs( uint16_t *obase, int16_t row, int16_t col, int8_t *str, uint16_t attr);18 extern void vputsa( uint16_t *obase, int16_t row, int16_t col, int8_t *str, uint16_t *attr);17 extern void vputs(volatile uint16_t *obase, int16_t row, int16_t col, int8_t *str, uint16_t attr); 18 extern void vputsa(volatile uint16_t *obase, int16_t row, int16_t col, int8_t *str, uint16_t *attr); -
vlib/vputsv.c
r5c4721b r8c8b4e5 23 23 */ 24 24 25 void vputsv( uint16_t *obase, int16_t row, int16_t col, int8_t *str, uint16_t attr, int16_t len)25 void vputsv(volatile uint16_t *obase, int16_t row, int16_t col, int8_t *str, uint16_t attr, int16_t len) 26 26 { 27 27 int16_t c; … … 51 51 */ 52 52 53 void vputsav( uint16_t *obase, int16_t row, int16_t col, int8_t *str, uint16_t *attr, int16_t len)53 void vputsav(volatile uint16_t *obase, int16_t row, int16_t col, int8_t *str, uint16_t *attr, int16_t len) 54 54 { 55 55 int16_t c; -
vlib/vputsv.x
r5c4721b r8c8b4e5 15 15 */ 16 16 17 extern void vputsav( uint16_t *obase, int16_t row, int16_t col, int8_t *str, uint16_t *attr, int16_t len);18 extern void vputsv( uint16_t *obase, int16_t row, int16_t col, int8_t *str, uint16_t attr, int16_t len);17 extern void vputsav(volatile uint16_t *obase, int16_t row, int16_t col, int8_t *str, uint16_t *attr, int16_t len); 18 extern void vputsv(volatile uint16_t *obase, int16_t row, int16_t col, int8_t *str, uint16_t attr, int16_t len); -
vlib/vspray4.c
r5c4721b r8c8b4e5 25 25 */ 26 26 27 void vspray4( uint16_t *vobj, int16_t vwid, int16_t fg, int8_t *ml[], int16_t vb, int16_t pitch)27 void vspray4(volatile uint16_t *vobj, int16_t vwid, int16_t fg, int8_t *ml[], int16_t vb, int16_t pitch) 28 28 { 29 29 register int8_t *cp, *lp, c; -
vlib/vspray4.x
r5c4721b r8c8b4e5 15 15 */ 16 16 17 extern void vspray4( uint16_t *vobj, int16_t vwid, int16_t fg, int8_t *ml[], int16_t vb, int16_t pitch);17 extern void vspray4(volatile uint16_t *vobj, int16_t vwid, int16_t fg, int8_t *ml[], int16_t vb, int16_t pitch); -
vlib/vtext.c
r5c4721b r8c8b4e5 12 12 static uint16_t msk[] = { 0xFF00, 0x00FF }; 13 13 14 void vtext( uint16_t *obj, int16_t nc, int16_t row, int16_t col, int8_t *ip)14 void vtext(volatile uint16_t *obj, int16_t nc, int16_t row, int16_t col, int8_t *ip) 15 15 { 16 registeruint16_t *op;16 volatile uint16_t *op; 17 17 18 18 while (*ip) { -
vlib/vtext.x
r5c4721b r8c8b4e5 15 15 */ 16 16 17 extern void vtext( uint16_t *obj, int16_t nc, int16_t row, int16_t col, int8_t *ip);17 extern void vtext(volatile uint16_t *obj, int16_t nc, int16_t row, int16_t col, int8_t *ip); -
vlib/vwputm.c
r5c4721b r8c8b4e5 24 24 */ 25 25 26 void vwputm( uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *ml[])26 void vwputm(volatile uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *ml[]) 27 27 { 28 28 while (*ml) { -
vlib/vwputm.x
r5c4721b r8c8b4e5 15 15 */ 16 16 17 extern void vwputm( uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *ml[]);17 extern void vwputm(volatile uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *ml[]);
Note:
See TracChangeset
for help on using the changeset viewer.