[A83] Re: Interrupt troubles [83, Ion]


[Prev][Next][Index][Thread]

[A83] Re: Interrupt troubles [83, Ion]




Yes.. I think I've got it to work, it was some problem with Venus vs.
V-Explorer that made the program to crash.

I just use the code I gave, and changed the TIEI and TIDI in the crt0-file
to a simple RET. Does _getkey indeed uses the interrupt for scanning keys?

...tiei
	;exx
	;ld	hl,(hl1save)
	;ld	bc,(bc1save)
	;ld	de,(de1save)
	;exx
	;ld	iy,(iysave)
IF DEFINED_GRAYlib
	;im	1
ELSE
	;ei
ENDIF
	ret

...tidi
IF DEFINED_GRAYlib
	;im	2
ELSE
	;di
ENDIF
	;exx
	;ld	(hl1save),hl
	;ld	(bc1save),bc
	;ld	(de1save),de
	;exx
	;ld	(iysave),iy
	ret

Now only to make it work with the greyscale interrupt, then I'll file
things up and post them at Ticalc.org and calc.org, maybe somebody else
might want to use it.

	Henk Poley