fdfishman@watcgl.UUCP (Flynn D. Fishman) (05/16/86)
Hi remember me, I am back with another (manx) C problem and since I got such a great response last time I am calling out again. The situation: I am trying to draw lines in the Hires Interlace mode of the Amiga. Being new to C I decided to cheat and modify someone elses program. I chose to alter moire.c by Scott Ballantyne (I hope you do not mind Scott) what I did is added #include <graphics/display> and changed MAXY to 400 instead of 200. and in the NewScreen Struct I changed HIRES to HIRES|INTERLACE. The program compiles and runs fine using Manx 3.20a except that instead of drawing to the bottom of the screen any point that would normally be below a certain level (perhaps 256) is shifted upwords or (mod n) this causes some of my lines to go to the wrong place. Did I forget anything is setting up the screen? If anybody has any ideas I would appreciate them. I am using a 512k amiga with dual drives. p.s. I sent out a long list of thank-you's for the help I got on my last request but yesterday I got most of them back in my User Unknown file. I will be trying to send them out again with my supervisors help, however, I would like everyone to know that I did appreciate the help I got. p.p.s. To Thomas Miles, have no fear I am using a 100% legal copy. Also try to compile your code using the +l option this will change the compilers default to 32 bit integers as opposed to the old default of 16 bits which do not work with garphics. -- FDFISHMAN (Flynn D. Fishman) UUCP : ...!{decvax|ihnp4|clyde|allegra|utzoo}!watmath!watcgl!fdfishman ARPA : fdfishman%watcgl%waterloo.csnet@csnet-relay.arpa CSNET : fdfishman%watcgl@waterloo.csnet