Changeset 84c0125 in buchla-68k for vlib/vcputsv.s


Ignore:
Timestamp:
08/07/2017 01:05:57 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
8325447
Parents:
15854f1
Message:

Fix * in comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlib/vcputsv.s

    r15854f1 r84c0125  
    77
    88|       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;
    1111
    1212|               Outputs characters from the string at 'str' to an 'nw'
     
    8080                move.w  ROW(a6),d0      | Calculate output address
    8181                move.w  PITCH(a6),d1    | ... PITCH
    82                 mulu    d1,d0           | ... | ROW
     82                mulu    d1,d0           | ... * ROW
    8383                add.w   #VPIX-1,d0      | ... + VPIX-1
    84                 mulu    d5,d0           | ... | NW
     84                mulu    d5,d0           | ... * NW
    8585                clr.l   d1              | ...
    8686                move.w  COL(a6),d1      | ... +
    87                 lsl.w   #2,d1           | ... COL | 4
     87                lsl.w   #2,d1           | ... COL * 4
    8888                add.l   d1,d0           | ...
    8989                add.l   OBASE(a6),d0    | ... + OBASE
     
    9898                adda.l  #HCW,a3         | Update output pointer for next char.
    9999                lea     _cgtable,a0     | Establish CG pointer in a0
    100                 lsl.w   #1,d0           | ... 2 | character
     100                lsl.w   #1,d0           | ... 2 * character
    101101                adda.w  d0,a0           | ... + _cgtable address
    102102                move.w  #VPIX-1,d6      | Set scan line counter in d6
Note: See TracChangeset for help on using the changeset viewer.