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