Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!haven!decuac!shlump.nac.dec.com!kallon!eirikur From: eirikur@kallon.dec.com (Eirikur Hallgrimsson) Newsgroups: comp.sys.tandy Subject: Need Model 100 help getting data back from ROM calls. Keywords: CALL,BASIC,ROM Message-ID: <11060@shlump.nac.dec.com> Date: 4 May 90 18:23:05 GMT Sender: newsdaemon@shlump.nac.dec.com Organization: Digital Equipment Corporation Lines: 18 I've been called-in as a Model 100 semi-expert to consult on a science application that wants to run a timer based on how long a key is held down. INKEY$ just won't hack it. I need (at least) to call the keyboard scan routines. What I don't understand is how to get back the data that the ROM routine leaves in a register. The call statement neatly sets up the registers with arguments that you pass, but how do you then read the registers when the routine passes control back to you? I feel like I must be missing something. Replies by mail would be most welcome, but I'll come back and take a look here, too. "I came to discuss plastic surgery, but I could wait." -- Martha Frankel Eirikur Hallgrimsson eh@ddif.enet.dec.com