Changeset 84c0125 in buchla-68k for ram/sedisp.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
  • ram/sedisp.s

    r15854f1 r84c0125  
    44
    55|       se_disp(ep, sd, gdstb, cf)
    6 |       struct s_entry |ep;
     6|       struct s_entry *ep;
    77|       short sd;
    8 |       struct gdsel |gdstb[];
     8|       struct gdsel *gdstb[];
    99|       short cf;
    1010
     
    111111| gdsel structure definitions
    112112| ---------------------------
    113 G_NEXT          =       0               | long - 'next' field   (struct gdsel |)
     113G_NEXT          =       0               | long - 'next' field   (struct gdsel *)
    114114G_NOTE          =       4               | word - 'note' field   (short)
    115115G_CODE          =       6               | word - 'code' field   (short)
     
    206206                clr.b   numstr+3                | terminate string
    207207                move.w  d1,d0                   | col = group
    208                 asl.w   #2,d0                   | ... | 5
     208                asl.w   #2,d0                   | ... * 5
    209209                add.w   d1,d0                   | ...
    210210                add.w   #6,d0                   | ... + 6
     
    251251                clr.w   d2                      | d2 = ep->group
    252252                move.b  E_GROUP(a0),d2          | ...
    253                 lsl.w   #2,d2                   | ... | 4
     253                lsl.w   #2,d2                   | ... * 4
    254254                movea.l P_SL(a6),a2             | a2 points at gdstb
    255255                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[ep->group]
     
    304304                clr.w   d2                      | get group in d2
    305305                move.b  E_GROUP(a0),d2          | ...
    306                 lsl.w   #2,d2                   | ... | 4
     306                lsl.w   #2,d2                   | ... * 4
    307307                move.l  0(a2,d2.W),d0           | check gdstb[ep->group]
    308308                beq     dsexit
     
    353353                movea.l d0,a1                   | a1 = gdsp
    354354                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    355                 move.w  #48,d2                  | d2 = event PRIORITY | 4
     355                move.w  #48,d2                  | d2 = event PRIORITY * 4
    356356                movea.l P_SL(a6),a2             | a2 points at gdstb
    357357                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
     
    376376                movea.l d0,a1                   | a1 = gdsp
    377377                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    378                 move.w  #48,d2                  | d2 = event PRIORITY | 4
     378                move.w  #48,d2                  | d2 = event PRIORITY * 4
    379379                movea.l P_SL(a6),a2             | a2 points at gdstb
    380380                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
     
    394394                movea.l d0,a1                   | a1 = gdsp
    395395                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    396                 move.w  #48,d2                  | d2 = event PRIORITY | 4
     396                move.w  #48,d2                  | d2 = event PRIORITY * 4
    397397                movea.l P_SL(a6),a2             | a2 points at gdstb
    398398                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
     
    428428                movea.l d0,a1                   | a1 = gdsp
    429429                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    430                 move.w  #52,d2                  | d2 = event PRIORITY | 4
     430                move.w  #52,d2                  | d2 = event PRIORITY * 4
    431431                movea.l P_SL(a6),a2             | a2 points at gdstb
    432432                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
     
    491491                move.w  d1,-(a7)                | save group number on stack
    492492                add.w   d0,d0                   | calculate column
    493                 add.w   d0,d1                   | ... = 5 | group
     493                add.w   d0,d1                   | ... = 5 * group
    494494                addi.w  #5,d1                   | ... + 5
    495495                move.w  #AT11,-(a7)             | vputs(obj8, 3, col, numstr, atr11)
     
    519519                movea.l d0,a1                   | a1 = gdsp
    520520                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    521                 move.w  #52,d2                  | d2 = event PRIORITY | 4
     521                move.w  #52,d2                  | d2 = event PRIORITY * 4
    522522                movea.l P_SL(a6),a2             | a2 points at gdstb
    523523                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
     
    548548                move.w  d1,-(a7)                | save group number
    549549                move.w  (a7),d0                 | col = group number
    550                 add.w   d0,d0                   | ... | 5
     550                add.w   d0,d0                   | ... * 5
    551551                add.w   d0,d0                   | ...
    552552                move.w  (a7)+,d2                | ...  (d2 = group number)
     
    583583                movea.l d0,a1                   | a1 = gdsp
    584584                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    585                 move.w  #52,d2                  | d2 = event PRIORITY | 4
     585                move.w  #52,d2                  | d2 = event PRIORITY * 4
    586586                movea.l P_SL(a6),a2             | a2 points at gdstb
    587587                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
     
    612612                move.w  d1,-(a7)                | save group number
    613613                move.w  (a7),d0                 | col = group number
    614                 add.w   d0,d0                   | ... | 5
     614                add.w   d0,d0                   | ... * 5
    615615                add.w   d0,d0                   | ...
    616616                move.w  (a7)+,d2                | ...  (d2 = group number)
     
    647647                movea.l d0,a1                   | a1 = gdsp
    648648                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    649                 move.w  #52,d2                  | d2 = event PRIORITY | 4
     649                move.w  #52,d2                  | d2 = event PRIORITY * 4
    650650                movea.l P_SL(a6),a2             | a2 points at gdstb
    651651                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
     
    683683                move.w  d1,-(a7)                | save variable number
    684684                move.w  d1,d0                   | calculate display offset
    685                 lsl.w   #3,d0                   | ... (var | 9) + 6
     685                lsl.w   #3,d0                   | ... (var * 9) + 6
    686686                add.w   d0,d1                   | ... in d1
    687687                addq.w  #6,d1                   | ...
     
    707707                movea.l d0,a1                   | a1 = gdsp
    708708                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    709                 move.w  #52,d2                  | d2 = event PRIORITY | 4
     709                move.w  #52,d2                  | d2 = event PRIORITY * 4
    710710                movea.l P_SL(a6),a2             | a2 points at gdstb
    711711                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
     
    743743                move.w  d1,-(a7)                | save variable number
    744744                move.w  d1,d0                   | calculate display offset
    745                 lsl.w   #3,d0                   | ... (var | 9) + 8
     745                lsl.w   #3,d0                   | ... (var * 9) + 8
    746746                add.w   d0,d1                   | ... in d1
    747747                addi.w  #8,d1                   | ...
     
    791791                movea.l d0,a1                   | a1 = gdsp
    792792                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    793                 move.w  #52,d2                  | d2 = event PRIORITY | 4
     793                move.w  #52,d2                  | d2 = event PRIORITY * 4
    794794                movea.l P_SL(a6),a2             | a2 points at gdstb
    795795                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
     
    834834                movea.l d0,a1                   | a1 = gdsp
    835835                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    836                 move.w  #56,d2                  | d2 = event PRIORITY | 4
     836                move.w  #56,d2                  | d2 = event PRIORITY * 4
    837837                movea.l P_SL(a6),a2             | a2 points at gdstb
    838838                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
     
    880880                movea.l d0,a1                   | a1 = gdsp
    881881                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    882                 move.w  #56,d2                  | d2 = event PRIORITY | 4
     882                move.w  #56,d2                  | d2 = event PRIORITY * 4
    883883                movea.l P_SL(a6),a2             | a2 points at gdstb
    884884                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
     
    918918                movea.l d0,a1                   | a1 = gdsp
    919919                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    920                 move.w  #56,d2                  | d2 = event PRIORITY | 4
     920                move.w  #56,d2                  | d2 = event PRIORITY * 4
    921921                movea.l P_SL(a6),a2             | a2 points at gdstb
    922922                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
     
    955955                movea.l d0,a1                   | a1 = gdsp
    956956                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    957                 move.w  #56,d2                  | d2 = event PRIORITY | 4
     957                move.w  #56,d2                  | d2 = event PRIORITY * 4
    958958                movea.l P_SL(a6),a2             | a2 points at gdstb
    959959                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
     
    978978                movea.l d0,a1                   | a1 = gdsp
    979979                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    980                 move.w  #60,d2                  | d2 = event PRIORITY | 4
     980                move.w  #60,d2                  | d2 = event PRIORITY * 4
    981981                movea.l P_SL(a6),a2             | a2 points at gdstb
    982982                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
     
    10081008                move.w  d1,-(a7)                | save group number
    10091009                move.w  (a7),d0                 | col = group number
    1010                 add.w   d0,d0                   | ... | 5
     1010                add.w   d0,d0                   | ... * 5
    10111011                add.w   d0,d0                   | ...
    10121012                move.w  (a7)+,d2                | ...  (d2 = group number)
     
    10501050                movea.l d0,a1                   | a1 = gdsp
    10511051                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    1052                 move.w  #60,d2                  | d2 = event PRIORITY | 4
     1052                move.w  #60,d2                  | d2 = event PRIORITY * 4
    10531053                movea.l P_SL(a6),a2             | a2 points at gdstb
    10541054                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
     
    11001100                movea.l d0,a1                   | a1 = gdsp
    11011101                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    1102                 move.w  #60,d2                  | d2 = event PRIORITY | 4
     1102                move.w  #60,d2                  | d2 = event PRIORITY * 4
    11031103                movea.l P_SL(a6),a2             | a2 points at gdstb
    11041104                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
     
    11501150                movea.l d0,a1                   | a1 = gdsp
    11511151                move.l  G_NEXT(a1),_gdfsep      | gdfsep = gdsp->next
    1152                 move.w  #60,d2                  | d2 = event PRIORITY | 4
     1152                move.w  #60,d2                  | d2 = event PRIORITY * 4
    11531153                movea.l P_SL(a6),a2             | a2 points at gdstb
    11541154                move.l  0(a2,d2.W),G_NEXT(a1)   | gdsp->next = gdstb[pri]
Note: See TracChangeset for help on using the changeset viewer.