Changeset 84c0125 in buchla-68k for vlib/tsplot4.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/tsplot4.s
r15854f1 r84c0125 7 7 8 8 | tsplot4(obase, nw, fg, row, col, str. pitch) 9 | int |obase, nw, fg, row, col, pitch;10 | char |str;9 | int *obase, nw, fg, row, col, pitch; 10 | char *str; 11 11 12 12 | Outputs characters from the string at 'str' to an 'nw' … … 77 77 move.w ROW(a6),d0 | Calculate output address 78 78 move.w PITCH(a6),d1 | ... PITCH 79 mulu d1,d0 | ... |ROW79 mulu d1,d0 | ... * ROW 80 80 add.w #VPIX-1,d0 | ... + VPIX-1 81 mulu d5,d0 | ... |NW81 mulu d5,d0 | ... * NW 82 82 clr.l d1 | ... 83 83 move.w COL(a6),d1 | ... + 84 lsl.w #2,d1 | ... COL |484 lsl.w #2,d1 | ... COL * 4 85 85 add.l d1,d0 | ... 86 86 add.l OBASE(a6),d0 | ... + OBASE … … 95 95 adda.l #HCW,a3 | Update output pointer for next char. 96 96 lea _cgtable,a0 | Establish CG pointer in a0 97 lsl.w #1,d0 | ... 2 |character97 lsl.w #1,d0 | ... 2 * character 98 98 adda.w d0,a0 | ... + _cgtable address 99 99 move.w #VPIX-1,d6 | Set scan line counter in d6
Note:
See TracChangeset
for help on using the changeset viewer.