Article View: rec.games.programmer
Article #1216A couple of questions: 2 page vs. 3 page, C++ performance
From: larsen
Date: Wed, 14 Oct 1992 23:47
Date: Wed, 14 Oct 1992 23:47
23 lines
1775 bytes
1775 bytes
I have done video games for other computers, but not for the IBM PC. I have a couple of questions. 1) Do you recommend 2 page swapping, waiting for the interrupt, or 3 page swapp 1) Do you recommend 2 page swapping, waiting for the interrupt, or 3 page swapping? I'm leaning towards 3 page for several reasons: a) I don't know how to do two page! (It shouldn't be two hard to make an interrupt handler, but I haven't seen any sample code.) b) My background animations will be smoother. c) Since I can do redraws at leisure, the code should be simpler, shouldn't it? d) It will make things easier to speed up and slow down -- but I will have to compute the processor speed at the beginning. Any ideas on the I will have to compute the processor speed at the beginning. 2) Is there any performance hit for using C++ rather than C? My game will be object oriented whether I use C++ or C -- it just depends on who is doing the 2) Is there any performance hit for using C++ rather than C? My game will be 2) Is there any performance hit for using C++ rather than C? My game will be 2) Is there any performance hit for using C++ rather than C? Thank you Bryan Larsen (Larsen@meena.cc.uregina.ca)
Technical Details
Message-ID:
<14OCT92.23470313@meena.cc.uregina.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!eff!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!sue!meena.cc.uregina.ca!larsenShow Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!eff!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!sue!meena.cc.uregina.ca!larsen From: larsen@meena.cc.uregina.ca Subject: A couple of questions: 2 page vs. 3 page, C++ performance Sender: news@sue.cc.uregina.ca Message-ID: <14OCT92.23470313@meena.cc.uregina.ca> Date: 14 OCT 92 23:47:03 GMT Organization: University of Regina, Regina, Sask., Canada Lines: 23