Changeset 09d1345 in buchla-68k for vlib/vmput.c
- Timestamp:
- 07/15/2017 10:03:02 AM (7 years ago)
- Branches:
- master
- Children:
- bf89cfb
- Parents:
- 6a37d5b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vlib/vmput.c
r6a37d5b r09d1345 4 4 Version 3 -- 1987-03-30 -- D.N. Lynx Crowe 5 5 (c) Copyright 1987 -- D.N. Lynx Crowe 6 7 vmput(sbase, row, col, ms, ma)8 uint *sbase, rwo, col, ma;9 char *ms[];10 11 Copies lines from ms, with attribute ma, to sbase at (row,col).12 13 vmputa(sbase, row, col, ms, ma)14 uint *sbase, row, col, *ma;15 char *ms[];16 17 Copies lines from ms, with attributes from ma, to sbase at (row,col).18 6 ============================================================================= 19 7 */ … … 23 11 /* 24 12 ============================================================================= 25 vmput( sbase, row, col, ms, ma) -- put a menu item in a screen image.26 Copies lines from ms, with attribute ma, to sbase at (row,col).13 vmput(obase, row, col, ms, ma) -- put a menu item in a screen image. 14 Copies lines from ms, with attribute ma, to obase at (row,col). 27 15 ============================================================================= 28 16 */ 29 17 30 void vmput(uint16_t * sbase, uint16_t row, uint16_t col, int8_t *ms[], uint16_t ma)18 void vmput(uint16_t *obase, int16_t row, int16_t col, int8_t *ms[], uint16_t ma) 31 19 { 32 register uint16_t c, tc, tr;20 register int16_t c, tc, tr; 33 21 int8_t *cp; 34 22 … … 40 28 41 29 while (c = *cp++) 42 vputc( sbase, tr, tc++, c, ma);30 vputc(obase, tr, tc++, c, ma); 43 31 44 32 tr++; … … 48 36 /* 49 37 ============================================================================= 50 vmputa( sbase, row, col, ms, ma) -- put a menu item in a screen image.51 Copies lines from ms, with attributes from ma, to sbase at (row,col).38 vmputa(obase, row, col, ms, ma) -- put a menu item in a screen image. 39 Copies lines from ms, with attributes from ma, to obase at (row,col). 52 40 ============================================================================= 53 41 */ 54 42 55 void vmputa(uint16_t * sbase, uint16_t row, uint16_t col, int8_t *ms[], uint16_t *ma[])43 void vmputa(uint16_t *obase, int16_t row, int16_t col, int8_t *ms[], uint16_t *ma[]) 56 44 { 57 register uint16_t c, tc, tr;45 register int16_t c, tc, tr; 58 46 uint16_t *tm; 59 47 int8_t *cp; … … 67 55 68 56 while (c = *cp++) 69 vputc( sbase, tr, tc++, c, *tm++);57 vputc(obase, tr, tc++, c, *tm++); 70 58 71 59 tr++;
Note:
See TracChangeset
for help on using the changeset viewer.