Changeset 84c0125 in buchla-68k for vlib/vsplot4.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/vsplot4.s
r15854f1 r84c0125 7 7 8 8 | vsplot4(obase, nw, fg, row, col, str, pitch, ht, cgtab) 9 | uint |obase, nw, fg, row, col, pitch, ht, cgtab[][256];10 | char |str;9 | uint *obase, nw, fg, row, col, pitch, ht, cgtab[][256]; 10 | char *str; 11 11 12 12 | Outputs characters from the string at 'str' to an 'nw' … … 78 78 move.w ROW(a6),d0 | Calculate output address 79 79 move.w PITCH(a6),d1 | ... PITCH 80 mulu d1,d0 | ... |ROW80 mulu d1,d0 | ... * ROW 81 81 add.w HT(a6),d0 | ... + HT-1 82 82 subq.w #1,d0 | ... 83 mulu d5,d0 | ... |NW83 mulu d5,d0 | ... * NW 84 84 clr.l d1 | ... 85 85 move.w COL(a6),d1 | ... + 86 lsl.w #2,d1 | ... COL |486 lsl.w #2,d1 | ... COL * 4 87 87 add.l d1,d0 | ... 88 88 add.l OBASE(a6),d0 | ... + OBASE … … 97 97 adda.l #HCW,a3 | Update output pointer for next char. 98 98 movea.l CGTAB(a6),a0 | Establish CG pointer in a0 99 lsl.w #1,d0 | ... 2 |character99 lsl.w #1,d0 | ... 2 * character 100 100 adda.w d0,a0 | ... + cgtab address 101 101 move.w HT(a6),d6 | Set scan line counter in d6
Note:
See TracChangeset
for help on using the changeset viewer.