2 ; Ullrich von Bassewitz, 22.06.2002
4 ; void __fastcall__ tgi_textstyle (unsigned char magx, unsigned char magy,
6 ; /* Set the style for text output. */
9 .include "tgi-kernel.inc"
16 jsr popax ; Get magx/magy in one call
20 ; A = textdir, X = textmagx, Y = textmagy
22 cmp #TGI_TEXT_HORIZONTAL
24 cmp #TGI_TEXT_VERTICAL
26 Fail: jmp tgi_inv_arg ; Invalid argument
28 beq Fail ; Cannot have magnification of zero
30 beq Fail ; Cannot have magnification of zero
32 ; Parameter check ok, store them
38 ; Call the driver, parameters are passed in registers