•  Back 
  •  Horizontal line 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - das Betriebssystem
Author      : 
Version     : tos.hyp (5. März 2013)
Subject     : Programmieren/Atari
Nodes       : 3001
Index Size  : 93602
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Titel
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File6.9.1  Bindings für horizontal_line                                TOS

 Pure-C:    void horizontal_line( int16_t x1, int16_t y1, int16_t x2 
            );

 Assembler:

            movem.l   D0-D2/A0-A2,-(A7)  ; Register retten
            move.l    pParamblk,A0       ; Zeiger Parameterblock LINEA
            move.w    x1,(38,A0)         ; erste X-Koordinate in LINEA.x1
            move.w    y1,(40,A0)         ; erste Y-Koordinate in LINEA.y1
            move.w    x2,(42,A0)         ; zweite X-Koordinate in LINEA.x2
            move.w    colbit0,(24,A0)    ; Bit für erste Plane in LINEA.fg_bp_1
            move.w    colbit1,(26,A0)    ; Bit für erste Plane in LINEA.fg_bp_2
            move.w    colbit2,(28,A0)    ; Bit für erste Plane in LINEA.fg_bp_3
            move.w    colbit3,(30,A0)    ; Bit für erste Plane in LINEA.fg_bp_4
            move.w    wmode,(36,A0)      ; Writemode in LINEA.wrt_mode
            move.w    patptr,(44,A0)     ; Linienmuster in LINEA.patptr
            move.w    patmsk,(48,A0)     ; Anzahl Muster in LINEA.patmsk
            move.w    mfill,(52,A0)      ; Writemode in LINEA.multifill
            dc.w      $A004              ; Line-A Opcode
            movem.l   (A7)+,D0-D2/A0-A2  ; Register restaurieren