;
; File generated by cc65 v 2.13.2
;
	.fopt		compiler,"cc65 v 2.13.2"
	.setcpu		"65C02"
	.smart		on
	.autoimport	on
	.case		on
	.debuginfo	off
	.importzp	sp, sreg, regsave, regbank, tmp1, ptr1, ptr2
	.macpack	longbranch
	.forceimport	__STARTUP__
	.import		_tgi_install
	.import		_tgi_init
	.import		_tgi_clear
	.import		_tgi_setcolor
	.import		_tgi_outtextxy
	.import		_tgi_ioctl
	.import		_lynxtgi
	.export		_main

.segment	"RODATA"

L0001:
	.byte	$48,$65,$6C,$6C,$6F,$20,$57,$6F,$72,$6C,$64,$00

; ---------------------------------------------------------------
; void __near__ main (void)
; ---------------------------------------------------------------

.segment	"CODE"

.proc	_main: near

.segment	"CODE"

	lda     #<(_lynxtgi)
	ldx     #>(_lynxtgi)
	jsr     _tgi_install
	jsr     _tgi_init
	cli
L0007:	lda     #$04
	jsr     pusha
	ldx     #$00
	lda     #$00
	jsr     _tgi_ioctl
	stx     tmp1
	ora     tmp1
	jeq     L0008
	jmp     L0007
L0008:	jsr     _tgi_clear
	lda     #$03
	jsr     _tgi_setcolor
	ldx     #$00
	lda     #$00
	jsr     pushax
	ldx     #$00
	lda     #$00
	jsr     pushax
	lda     #<(L0001)
	ldx     #>(L0001)
	jsr     _tgi_outtextxy
	lda     #$04
	jsr     pusha
	ldx     #$00
	lda     #$01
	jsr     _tgi_ioctl
L0016:	jmp     L0016
	rts

.endproc

