Changeset 8325447 in buchla-68k for vlib/glcplot.s


Ignore:
Timestamp:
08/07/2017 02:04:35 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
27c8d40
Parents:
84c0125
Message:

Removed _ prefix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlib/glcplot.s

    r84c0125 r8325447  
    1414                .text
    1515
    16                 .xdef   _GLCplot
    17                 .xref   _lcd_a0,_lcd_a1,_lcdbase
     16                .xdef   GLCplot
     17                .xref   lcd_a0,lcd_a1,lcdbase
    1818
    1919XLOC            =       8                       | 'x' parameter offset
     
    2727                .page
    2828
    29 _GLCplot:       link    a6,#0                   | Link stack frames
     29GLCplot:        link    a6,#0                   | Link stack frames
    3030                moveq   #63,d0                  | d0 = (63-y) * 85
    3131                sub.w   YLOC(a6),d0             | ...
     
    4141                lsr.w   #3,d1                   | d1 = (x%6) / 8
    4242                add.w   d1,d0                   | d0 = cursor address
    43                 add.w   _lcdbase,d0             | ...
     43                add.w   lcdbase,d0              | ...
    4444                move.w  d0,d1                   | d1 = cursor address, too
    45                 move.b  #G_CRSWR,_lcd_a1        | Send cursor address to GLC
    46                 move.b  d0,_lcd_a0              | ...
     45                move.b  #G_CRSWR,lcd_a1         | Send cursor address to GLC
     46                move.b  d0,lcd_a0               | ...
    4747                lsr.w   #8,d0                   | ...
    48                 move.b  d0,_lcd_a0              | ...
    49                 move.b  #G_MREAD,_lcd_a1        | Read old pixel byte
    50                 move.b  _lcd_a1,d0              | ... into d0
     48                move.b  d0,lcd_a0               | ...
     49                move.b  #G_MREAD,lcd_a1         | Read old pixel byte
     50                move.b  lcd_a1,d0               | ... into d0
    5151                tst.w   VAL(a6)                 | Check val for zero
    5252                beq     glcplt1                 | Jump if val EQ 0
     
    5757glcplt1:        bclr    d2,d0                   | Clear the pixel to 0
    5858
    59 glcplt2:        move.b  #G_CRSWR,_lcd_a1        | Send cursor address to GLC
    60                 move.b  d1,_lcd_a0              | ...
     59glcplt2:        move.b  #G_CRSWR,lcd_a1         | Send cursor address to GLC
     60                move.b  d1,lcd_a0               | ...
    6161                lsr.w   #8,d1                   | ...
    62                 move.b  d1,_lcd_a0              | ...
    63                 move.b  #G_MWRITE,_lcd_a1       | Setup GLC to write pixel
    64                 move.b  d0,_lcd_a0              | Write pixel
     62                move.b  d1,lcd_a0               | ...
     63                move.b  #G_MWRITE,lcd_a1        | Setup GLC to write pixel
     64                move.b  d0,lcd_a0               | Write pixel
    6565                unlk    a6                      | Unlink stack frames
    6666                rts                             | Return to caller
Note: See TracChangeset for help on using the changeset viewer.