26 February 2017, 14:11 | #81 |
Registered User
Join Date: Jun 2008
Location: Boston USA
Posts: 466
|
Mcoder must have tried using Atari's generic bitblt function from the blitter manual. That has a ridiculous overhead as it's really generic. I used MCoders sprite technique (it's clever) in the blitter intro I released on Atari forum. It's 2.8 times slower than using the ST blitter Don't take my word for it. Download the intro/benchmark and see. Even preshifting was slower than brute force AND/OR masking. You cannot beat 24 cycles a word for fully masking on a 68k. Hardware always wins. Here's an ST (not STe) game which mandates using the blitter.
[ Show youtube player ] It's doing double duty drawing sprites and scrolling the screen. It runs at 50hz.
|
26 February 2017, 18:26 | #82 | |
Registered User
Join Date: Nov 2012
Location: Willich/Germany
Posts: 232
|
Quote:
However, the difference is also that you only need a small alternative code path for the Blitter drawing and you're done. So, in fact, there are Atari ST games which use the Blitter when it is detected. |
|
26 February 2017, 18:30 | #83 |
Retro Freak
Join Date: Nov 2001
Location: Slovenia
Age: 51
Posts: 1,646
|
|
26 February 2017, 19:24 | #84 |
Registered User
Join Date: Jun 2008
Location: Boston USA
Posts: 466
|
Power drift, chronicles of omega, lethal xcess, wings of death, ghost battle, Elvira the arcade game, zool, Cisco heat. Star dust, obsession, great giana sisters remix, pole position conversion, maniac mansion, Giana blitter enhanced, sub station and some others
|
26 February 2017, 19:38 | #85 | ||
Registered User
Join Date: Nov 2012
Location: Willich/Germany
Posts: 232
|
Quote:
Quote:
|
||
26 February 2017, 21:22 | #86 |
Registered User
Join Date: Jun 2008
Location: Boston USA
Posts: 466
|
I think he must have tried to use the bitblit sample from the manual. That one has a 900 cycle overhead for every blit. A simple NOT AND, OR set of ops is around 2.6 times faster than his algorithm for drawing software sprites. It's around 5.8-8x times faster than a naive algorithm and about 20% faster than a pre shifted routine. It uses something like 20x less memory for data in the pre shifted case. The blitter has the raw blitblit performance of a 48+ mhz 68000. The STE has better bitblit performance than a fast RAM equipped Atari TT. Your method of using the intelligent end masks is around 50% faster at least than the brute force method. The CPU loses badly in all cases just like it would on the Amiga CPU vs the blitter. Insisting on using the CPU for "speed" vs the blitter is really stupid IMHO. It will have been driven by time to market and QA time demands.
Last edited by frank_b; 27 February 2017 at 01:31. |
27 February 2017, 19:16 | #87 | ||
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
Quote:
Quote:
|
||
27 February 2017, 19:23 | #88 | |
Registered User
Join Date: Jun 2008
Location: Boston USA
Posts: 466
|
Quote:
It's one or the other. |
|
28 February 2017, 09:49 | #89 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
You may not need to preshift sprites, but without hardware scrolling, you may want to preshift backgrounds nevertheless. And your precious 512 kB memory must hold two codepaths instead of one.
|
28 February 2017, 10:11 | #90 | |
Registered User
Join Date: Nov 2012
Location: Willich/Germany
Posts: 232
|
Quote:
Also the STE improved versions of Giana Sisters and Pac-Mania show that it isn't impossible to add an appropriate code path without changing too much. |
|
28 February 2017, 10:28 | #91 | |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,406
|
Quote:
You could even store extra animation frames etc for the blitter version and overwrite those with pre-shifted graphics if no blitter is present. Again, harder to do, but not impossible. |
|
28 February 2017, 11:51 | #92 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
Never did I say it was impossible – all options you list are viable if you have the time to spare.
But in a real-life situation, the ST blitter is not an option since so much of your time is already spent on handing blitter-less machines. |
28 February 2017, 13:49 | #93 | |
Registered User
Join Date: Jun 2008
Location: Boston USA
Posts: 466
|
Quote:
A sprite routine with the blitter is a couple of dozen CPU instructions at most. Scrolling the screen is 4x that much instruction overhead at most. The overhead is negligible. The memory savings at runtime are massive. With pre shifting a 32*32 1 plane sprite would be 3 words wide (one for shift span) * 32 * 16 if you want to put it on a pixel boundry. The blitter can use graphics stored 2 words wide, there's no need for a pre shift or extra word per row. The destination can be wider than the source. The hardware is optimised for this. It only needs to read the source as two words but can write out three to account for shifting. Games which use it prior to the STE are rare but they do exist. It should have been present on the original machine at launch day. |
|
01 March 2017, 07:48 | #94 | |
Registered User
Join Date: Nov 2012
Location: Willich/Germany
Posts: 232
|
Quote:
Anyway, adding scrolling capabilities, the Blitter and PCM sound to the Atari STE closes the gap to the Amiga by a fair margin. Last edited by AnimaInCorpore; 01 March 2017 at 11:17. |
|
02 March 2017, 14:00 | #95 |
TinkerTailorContentMaker
Join Date: Nov 2009
Location: Bedfordshire
Age: 45
Posts: 1,205
|
One thing that a lot of die hard ST users say is, the STE had much better hardware than the ST and they didn't use it properly, or it was a lazy rushed port. All that stuff being completely irrelevant, history has already been played out, all the excuses after the fact doesn't change anything. The ST was an OK machine, was never great, it filled a nice gap in the market for being affordable.
There will never be a game like Elf Mania or Lionheart on the ST, even with all the time in the world. Hypotheticals are all very fine but in the end that's all they are. I love the ST, it was my first 16-bit computer, but I realise the machines limits. Can't we just say the ST was a fine machine but will forever live in the Shadow of the Amiga. Shadow Of The Amiga - Possible game title? Haha! |
02 March 2017, 15:40 | #96 |
Registered User
Join Date: Nov 2015
Location: Vaasa, Finland
Posts: 524
|
Here is a Turtles Coin-op comparison, the Amiga and ST versions are at the end of the video:
[ Show youtube player ] Scrolling is smoother on the Amiga, but according to this video, ST version has music and Amiga version doesn't. --- Also the differences in Darius+ are interesting: Atari ST [ Show youtube player ] Amiga: [ Show youtube player ] On the Amiga also the second background layer scrolls, while in the ST version it does not. And also in the Amiga version a few colors in the palette are changed at certain points, giving the enemies in each attack wave slightly different colors. Although I'm not sure if the ST version does this palette swapping too. But to me it seems that they seriously tried to make the Amiga version better. |
02 March 2017, 16:28 | #97 |
Zone Friend
Join Date: Jun 2006
Location: Gargore
Age: 43
Posts: 17,789
|
I think Darius+ is hopeless on both machines. You can see on YouTube.
|
02 March 2017, 17:36 | #98 |
Guru Meditating
Join Date: Jun 2014
Location: England
Posts: 2,337
|
Agreed. Just did a side-by-side comparison of the st and the Amiga, and the pallette on the st is terrible. At first I though my version of the game was corrupt!
|
02 March 2017, 21:16 | #99 | |
CaptainM68K-SPS France
|
Quote:
Darius+ is a piece of junk. |
|
03 March 2017, 12:04 | #100 |
Settler
Join Date: Feb 2007
Location: Serf City
Posts: 1,760
|
Has Nitro been mentioned? Apparently this version has pedestrians and traffic on Atari but not on Amiga.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Spellbound! Atari ST version | s2325 | HOL data problems | 3 | 05 May 2011 17:24 |
Leeds United Atari ST version | s2325 | HOL contributions | 10 | 16 July 2010 10:09 |
Shadow of the Beast Atari ST version | laffer | request.Old Rare Games | 47 | 09 February 2007 20:24 |
Atari St version of HOL!!! | Fred the Fop | Retrogaming General Discussion | 16 | 07 July 2003 15:29 |
Req: Atari ST version of Games: Summer Edition! | Codetapper | request.Old Rare Games | 9 | 24 May 2002 20:25 |
|
|