Re: In pursuit of Dead Wild Cat

2008-05-16 Thread Colin Piggot
Thomas wrote: > I'm not doing too terribly (see > http://www.youtube.com/watch?v=hcMiB1ZkukM > for my attempt at a Cobra Mk 3 versus the Spectrum original), Great work! > Dead Wild Cat Never looked at the disassembly of that, but can remember the distorted perspective when it was running.

Re: In pursuit of Dead Wild Cat

2008-05-16 Thread Thomas Harte
In fairness, I'm not completely comparing like for like in that video. I am doing realistic 3d engine stuff of creating one view matrix to represent the orientation and location of the camera, a separate transformation matrix to represent the orientation and location of the model, then composing t

Re: In pursuit of Dead Wild Cat

2008-05-16 Thread David Brant
The DWC demo is about 450K file, and I believe that a lot of this is tables for multiplying and dividing etc. You say that your divide routine costs 2000 cycles is this each time you divide? How fast is the multiply routine? Dave - Original Message - From: "Thomas Harte" <[EMAIL PROTE

Re: In pursuit of Dead Wild Cat

2008-05-16 Thread Thomas Harte
Yep, I think I'm on approximately 2000 cycles for every divide. There are no special cases and no tables are used. That number was arrived at through the Sim Coupe debugger, so shouldn't be too inaccurate, though it obviously won't be completely dependable because of the usual RAM access ti

Re: In pursuit of Dead Wild Cat

2008-05-16 Thread Edwin Blink
From: "Thomas Harte" ... dead wild cat demo ... I'm don't remember this demo Where can it be found ? BTW If you need some help with optimizing your (multiply/devide) code. I'm always in for some byte/T-state banging :-) Edwin

Re: In pursuit of Dead Wild Cat

2008-05-16 Thread Thomas Harte
It's originally on Fred 50, but not really in the sense that you have to expand it to another floppy disk and then boot it off that. But, here, I'll save you the effort of all that: http://members.allegro.cc/ThomasHarte/temp/DWC.DSK The more I watch it, the more I become convinced that it's

RE: In pursuit of Dead Wild Cat

2008-05-16 Thread Adrian Brown
If i remember correctly alot of divides in 3d systems on older platforms can actually be a nice big table ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edwin Blink Sent: 16 May 2008 22:00 To: Adrian Subject: Re: In pursuit of Dead Wild Cat From: "Th