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.13.1 Bindings für text_blt TOS Pure-C: void text_blt( int16_t x, int16_t y, uint8_t c ); Assembler: movem.l D0-D2/A0-A2,-(A7) ; Register retten move.l pParamblk,A0 ; Zeiger Parameterblock LINEA move.w wmode,(36,A0) ; Writemode in LINEA.wrt_mode move.w mode,(54,A0) ; Clipmode in LINEA.clip move.w cx1,(56,A0) ; linke obere Clip-Ecke, X-Koordinate in LINEA.xmn_clip move.w cy1,(58,A0) ; linke obere Clip-Ecke, Y-Koordinate in LINEA.ymn_clip move.w cx2,(60,A0) ; rechte untere Clip-Ecke, X-Koordinate in LINEA.xmx_clip move.w cy2,(62,A0) ; rechte untere Clip-Ecke, Y-Koordinate in LINEA.ymx_clip move.w #$8000,(64,A0) ; xacc_dda mit $8000 besetzen move.w dda_inc,(66,A0) ; Vergrößerungsfaktor in LINEA.dda_inc move.w t_sclsts,(68,A0) ; Vergrößerungsrichtung in LINEA.t_sclsts move.w mono_status,(70,A0); Proportionalschrift in LINEA.mono_status move.w sourcex,(72,A0) ; X-Koordinate im Font in LINEA.sourcex move.w sourcey,(74,A0) ; Y-Koordinate im Font in LINEA.sourcey move.w destx,(76,A0) ; X-Zielkoordinate in LINEA.destx move.w desty,(78,A0) ; Y-Zielkoordinate in LINEA.desty move.w delx,(80,A0) ; Breite des Zeichens in LINEA.delx move.w dely,(82,A0) ; Höhe des Zeichens in LINEA.dely move.l fbase,(84,A0) ; Start der Font-Daten in LINEA.fbase move.w fwidth,(88,A0) ; Breite des Fontimage in LINEA.fwidth move.w style,(90,A0) ; Schreibstil in LINEA.style move.w litemask,(92,A0) ; Maske für Light in LINEA.litemask move.w skewmask,(94,A0) ; Maske für Kursiv in LINEA.skewmask move.w weight,(96,A0) ; Breite bei Bold in LINEA.weight move.w r_off,(98,A0) ; Kursiv-Offset rechts in LINEA.r_off move.w l_off,(100,A0) ; Kursiv-Offset links in LINEA.l_off move.w scale,(102,A0) ; Vergrößerung ja/nein in LINEA.scale move.w chup,(104,A0) ; Rotationswinkel in LINEA.chup move.w text_fg,(106,A0) ; Textfarbe in LINEA.text_fg move.l scrtchp,(108,A0) ; Puffer in LINEA.scrtchp move.w scrpt2,(112,A0) ; Index in Puffermitte in LINEA.scrpt2 move.w text_bg,(114,A0) ; Hintergrundfarbe in LINEA.text_bg dc.w $A008 ; Line-A Opcode movem.l (A7)+,D0-D2/A0-A2 ; Register restaurieren