Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!jarthur!bgribble From: bgribble@jarthur.Claremont.EDU (Bill Gribble) Newsgroups: comp.sys.handhelds Subject: HP48 machine language Message-ID: <8377@jarthur.Claremont.EDU> Date: 13 Sep 90 23:07:19 GMT Organization: Harvey Mudd College, Claremont, CA 91711 Lines: 28 Let me preface this by saying that my only machine language programming experience prior to the 48 was a 2-week segment on ml in a cs class. While I feel like I'm learning pretty fast, these questions might seem kind of moronic to anyone with any real experience in ml. 1.) What is the procedure for allocating and using large chunks of memory? Say, f'rinstance, that I wanted to rewrite DUP. I know how to fiddle the stack pointers to tell the system that another object is on the stack; I know enough about object representation to find and deal with the object in level 1, and even how big it is; but how do I find a free memory chunk large enough for a copy of the object? I assume the system maintains a list of free segments; how do I find it and alter it, if that's what I need to do? 2.) I think this was asked before, but how do I read the keyboard from ml? 'nuff said. Enough for now. Just by way of a progress report (in case anyone cares) I've passed all the major technical/conceptual hurdles (I think) to rewriting my terminal emulator in machine language. It might be out by the end of the semester, if we're lucky (and Systems doesn't kill me). ============================================================================= ===== Bill Gribble Internet: bgribble@jarthur.claremont.edu ===== ===== Harvey Mudd College wgribble@hmcvax.claremont.edu ===== ===== Claremont, CA 91711 Bitnet: wgribble@hmcvax.bitnet ===== ===== (714) 621-8000 x2045 UUCP: ..!uunet!jarthur!bgribble ===== =============================================================================