Hello Stefan, * On Sun, Dec 19, 2010 at 10:10:42AM -0800 Stefan Wessels wrote: > >> 3. The game doesn't run right on VICE. > > I just thought about it, and tested this hypotheses. I use (CIA1.cra > = (CIA1.cra & 0xc0) | 0x12; CIA1.crb |= 0x60;) to set up timer a and > b so I can get a fixed frame rate. When I take this code out, it runs > fine under Vice, just too fast. With that code in, this code > (CIA1.pra = 0;keys = 255 - CIA1.prb;) doesn't return 0, as I expect it > to, and as Power64 does. Getting the cra/crb values was a crapshoot. > The issue may very well be there. Which version of VICE are you using? I know that the current snapshot has parts of the CIA reworked. It should work better now. Have you tested on a real C64? I would be interested in your game (either sources, or a binary of it - better: Both! ;) Regards, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/ ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Mon Dec 20 08:32:22 2010
This archive was generated by hypermail 2.1.8 : 2010-12-20 08:32:26 CET