Article View: rec.games.programmer
Article #1019Code for Loading.
From: colin buckley
Date: Sat, 07 Nov 1992 05:22
Date: Sat, 07 Nov 1992 05:22
37 lines
2279 bytes
2279 bytes
Date Entered: 11-07-92 00:14 JA>> JNC @@Even >> MOVSB >>@@Even: >> REP MOVSW >>| Colin Buckley -- 486 Powered (Packing Extra Socks) | > ^^^ This is why its faster on yours... On 386 or 286, > that isn't the case. Actually, I tested it with Abrash's STIMER before I had the 486. I tested it on a 16mhz 286, and the JNC was faster than another rep overall. I tried small odd/even, and large odd/even. But like I said, I believe I used ADC CX,0. Then I tried it on a XT, and the JNC was faster aswell, and since most optimization is directed at 8088/6 I used that. I have no idea what the processor demographics are, and even so, unless they listed game usage specifically, I'll stick with what's best for XT's and 286s. I will test the ADC CX,CX version though. Optimization will be important later, right now I just want to see my game up and running to inspire me. I'm really losing motivation like usual. Abrash uses JNC which is where I first found it. Sutty and Blair (Advanced programming guide to SVGA (They did EGA/VGA aswell) provided the additional REP method. Most people think Abrash is god. Although personally I tought PGP sucked, and I don't know why people beg for copies. I'm not trying to convince you I'm right just why I originally posted and my view of optimization. .----------------------------------------------------. | Colin Buckley -- 486 Powered (Packing Extra Socks) | | Toronto, Ontario, Canada | | InterNet: colin.buckley@rose.com | | | | So Eager to Play, So Relunctant to Admit it... | `----------------------------------------------------' --- RM 2.00 : RoseNet<=>Usenet Gateway : Rose Media 416-733-2285
Technical Details
Message-ID:
<1992Nov07.052211.9459@rose.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uunet.ca!rose!usenetShow Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uunet.ca!rose!usenet From: colin.buckley@rose.com (colin buckley) Subject: Code for Loading. Organization: Rose Media Inc, Toronto, Ontario. Date: Sat, 7 Nov 1992 05:22:05 GMT Message-ID: <1992Nov07.052211.9459@rose.com> Sender: usenet@rose.com (Usenet Gateway) X-Gated-By: Usenet <==> RoseMail Gateway (v1.70) Lines: 37