Changeset 84c0125 in buchla-68k for vlib/vwputs.s
- Timestamp:
- 08/07/2017 01:05:57 PM (7 years ago)
- Branches:
- master
- Children:
- 8325447
- Parents:
- 15854f1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vlib/vwputs.s
r15854f1 r84c0125 6 6 7 7 | vwputs(obase, nw, fg, bg, row, col, str) 8 | int |obase, nw, fg, bg, row, col;9 | char |str;8 | int *obase, nw, fg, bg, row, col; 9 | char *str; 10 10 11 11 | Outputs characters from the string at 'str' to an 'nw' … … 67 67 move.w ROW(a6),d0 | Calculate output address 68 68 move.w #VPITCH,d1 | ... 69 mulu d1,d0 | ... ROW |VPITCH69 mulu d1,d0 | ... ROW * VPITCH 70 70 add.w #NVPIX-1,d0 | ... + NVPIX-1 71 mulu d5,d0 | ... |NW71 mulu d5,d0 | ... * NW 72 72 clr.l d1 | ... 73 move.w COL(a6),d1 | ... + (COL |2)73 move.w COL(a6),d1 | ... + (COL * 2) 74 74 lsl.l #1,d1 | ... 75 75 add.l d1,d0 | ... … … 86 86 adda.l #2,a3 | Update output pointer for next char. 87 87 lea _cgtable,a0 | Establish CG pointer in a0 88 lsl.w #1,d0 | ... 2 |character88 lsl.w #1,d0 | ... 2 * character 89 89 adda.w d0,a0 | ... + _cgtable address 90 90 move.w #NVPIX-1,d6 | Set scan line counter in d6
Note:
See TracChangeset
for help on using the changeset viewer.