Path: utzoo!attcan!uunet!microsoft!alonzo From: alonzo@microsoft.UUCP (Alonzo GARIEPY) Newsgroups: comp.sys.handhelds Subject: Re: HP48 machine language Message-ID: <57459@microsoft.UUCP> Date: 16 Sep 90 23:07:01 GMT References: <8377@jarthur.Claremont.EDU> Reply-To: alonzo@microsoft.UUCP (Alonzo GARIEPY) Organization: Microsoft Corp., Redmond WA Lines: 31 bgribble@jarthur.Claremont.EDU (Bill Gribble) writes: > While I feel like I'm learning pretty fast, these questions might seem > kind of moronic to anyone with any real experience in ml. Not at all... These are tough questions. > 1.) What is the procedure for allocating and using large chunks of memory? First, I will assume that you have seen two recent postings to this group: CHIP48 by Andreas Gustafsson, and the disassembly of stralloc by Jan Brittenson. Andreas gives an FTP site where the source to CHIP48 is available. This is the best example around of HP48 assembly programming. Andreas makes use of that same stralloc routine for allocating a large chunk of memory. I expect Andreas will post the source of the next version (if he doesn't, I will ;-) for those of you who, like myself, do not have FTP access. > Say, f'rinstance, that I wanted to rewrite DUP. Jan's disassembler will be available soon. You will then be able to look at DUP directly to see how it performs its magic. > 2.) I think this was asked before, but how do I read the keyboard from ml? Once again, the CHIP48 source is your reference on this. Andreas has done a good job. If anyone has my postings on the HP28S keyboard buffer, can you send me a copy? Alonzo Gariepy alonzo@microsoft