Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!agate!shelby!msi.umn.edu!noc.MR.NET!gacvx2.gac.edu!hhdist From: CW%APG.PH.UCL.AC.UK@pucc.PRINCETON.EDU Newsgroups: comp.sys.handhelds Subject: Message-ID: <0471181703FF001A65@gacvx2.gac.edu> Date: 14 Nov 90 14:44:31 GMT Lines: 75 To: handhelds@gac.edu Return-path: CW <@pucc.PRINCETON.EDU:CW@APG.PH.UCL.AC.UK> To: handhelds@gac.edu Via: UK.AC.UCL.PH.APG; 14 NOV 90 14:43:54 GMT X-Envelope-to: hhdist Hi everyone, I first want to say to the newsgroup-- I'm sorry but I do not know if my message produces a replyable address! Let me know if it doesn't and if I really then have to send all my messages to the postmaster I will. Secondly to the guy who wrote BLINKY-- Excellent. Thirdly-- A while ago I tried to write an asteroids game in CHIP48. I got as far as a rotating ship that moved about in amongst 4 asteroids, but my chip assembler and disassembler (which were very primitive!!!) were very very slow and not too useful, and I gave up. I have a few questions..... i) I find moving the sprite to the left is quite difficult since there is no equivalent instruction to Vx=Vx-KK only Vx=Vx+KK. Am I missing something fundamental? Does anyone have a nice little routine or algorhythm (spelling?) to explain a simple way to do it. ii) Can the string that contains the game be any length, or is it REALLY limited to 4K. iii) Finally, I have not got and have never been able to find the thing called an 'unzipper' so all the stuff in vega.hut.fi is unaccessible (spelling again???) by me. I would like the unzipper or an unzipped turbo pascal chip compiler, thanks. iv) Finally Finally, here are a couple of small routines, based on Alonzo Gariepy's HEXIFY routine (full credit to him), that take a string on level one and either converts it from a string of CHIP commands to a string of bytes and vica-versa. ->CHIP String_of_commands -- String_of_bytes CHK [3655d] << "" SWAP 1 OVER SIZE FOR j "#" OVER j j 1 + SUB + "h" + OBJ-> B->R CHR ROT SWAP + SWAP 2 STEP DROP >> CHIP-> String_of_bytes -- String_of_commands CHK [18750d] << HEX "" SWAP 1 OVER SIZE FOR j DUP j j SUB NUM R->B ->STR DUP SIZE 1 - 3 SWAP SUB IF DUP SIZE 1 == THEN "0" SWAP + END ROT SWAP + SWAP NEXT DROP >> Sorry I didn't download them but I'm not sitting at the right machine anyway they are not very long, and I sometimes feel very guilty (you know with the work ethic and everything) about not having to type in the programs people post, but I also feel very thankful. Anything big I send I promise to download.... Finally Finally Finally, I tried to get the file hp48sx.wks from vega.hut.fi but it also appeared to be in a funny format (even though it didn't have a .zip extension, any clues ? Thanks Conrad