Path: utzoo!attcan!uunet!seismo!esosun!ucsdhub!sdsu!lindwall From: lindwall@sdsu.UUCP (John Lindwall) Newsgroups: comp.sys.amiga Subject: HELP w/various (hopefully not obvious) problems Keywords: gameport AllocRemember FreeRemember game Message-ID: <3059@sdsu.UUCP> Date: 24 Jun 88 05:57:11 GMT Organization: San Diego State University, Math/Sciences Dept. Lines: 19 I need some help with a few problems I am having programming the Amiga. 1. I have written the simplest program I can to test out the usage of the Intuition FreeRemember() and AllocRemember() functions. When I exit the program I am 80 bytes short. I am calling FreeRemember() with TRUE for the reallyForget argument to deallocate all of the RAM used. I've looked at the RKM's and the AutoDocs but I see no bug reports. Can someone post or send a working example, or at least offer some advice? 2. I want to write a game that accepts either keyboard or joystick input. I need a fast double-buffered display. Using the RethinkDisplay() call in an Intuition screen to perform double-buffering is too slow. I rewrote it to do direct calls to the graphics primitives which is much faster. Assuming I don't use Intuition, what is the best way to gather user input from the keyboard and the joystick? Thanks for any help!