🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12598

Re: example program using the input.device / event handler

#12598
From: Robert R. Burns
Date: Thu, 11 May 1989 21:32
21 lines
1101 bytes
In article ... (Matt Dillon) writes:

)...

code for the input event handler in assembler...

)#asm
)	    ;	A0 = pointer to event linked list
)	    ;	A1 = pointer to data segment (not used)
)	    ;
)	    ;	return D0 = new event linked list
)	    ;
)	    ;	I don't know if A0/A1 need to be preserved.  I don't think so
)	    ;	but why take the chance?

They don't need to be preserved.  Guaranteed.
-- 
Bob Burns, {cbmvax,oliveb,well}!amiga!kodiak	   _
	| /_  _|. _ |	   Commodore __		  |_) _ |_  _ )'
	|<(_)(_)|(_\|<	    /\ |  ||| _` /\	  |_)(_\| )(_\ |
	| \ Software	___/..\|\/|||__|/..\___		   Faith
Technical Details
Message-ID: <3825@amiga.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!purdue!ames!oliveb!amiga!kodiak
References: <8905070409.AA14466@postgres.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!purdue!ames!oliveb!amiga!kodiak
From: kodiak@amiga.UUCP (Robert R. Burns)
Newsgroups: comp.sys.amiga.tech
Subject: Re: example program using the input.device / event handler
Message-ID: <3825@amiga.UUCP>
Date: 11 May 89 21:32:13 GMT
References: <8905070409.AA14466@postgres.Berkeley.EDU>
Reply-To: kodiak@tooter.UUCP (Robert R. Burns)
Organization: Commodore-Amiga Inc, Los Gatos CA
Lines: 21