![]() |
![]() |
#21 |
Guru Meditating
Join Date: Jun 2014
Location: England
Posts: 2,353
|
|
![]() |
![]() |
#22 | |||
Code Kitten
![]() Join Date: Aug 2015
Location: Montreal/Canadia
Age: 52
Posts: 1,178
|
Quote:
![]() ![]() This said, I have no opinion on that topic since I know nothing about the Z80 instruction set (other than it is part of the horrendous 808x family) but agree with you that reasonable comparisons can be achieved provided well defined standards of performance are agreed upon. And I will leave it at that. ![]() Quote:
In the description of this early development video by the author of the port, he mentions that it runs at 12.5Hz so I guess we can use this as a minimum reference. [ Show youtube player ] Quote:
Also I actually wonder why the C64 version did not use a higher resolution mode as well since it does not use that many colors to begin with. Could it have been much faster in 320x200? I do not know enough about display memory organization on the C64 to answer. As Trixster mentioned in his video description, they did document development somewhat there: https://stardot.org.uk/forums/viewto...p?f=53&t=16132 Thanks! That is very kind of you. ![]() |
|||
![]() |
![]() |
#23 |
Zone Friend
Join Date: Apr 2005
Location: London
Posts: 1,178
|
Sorry to keep banging on about comparing this to the speccy, but I just don't understand how this is possible.
The BBC Master version of stunt car racer in this video is quite incredible. It's fast and it just looks right, it looks 16-bit quality on a 2Mhz 65SC12. The spectrum version is like a slideshow, it's hard to tell if the physics are even right, on a 3.5Mhz Z80. What is going on in the BBC Master the the Spectrum doesn't have to make this happen? |
![]() |
![]() |
#24 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,213
|
|
![]() |
![]() |
#25 | |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
Is that person also playing Alien Breed 3D II in the screen next to it?
Quote:
|
|
![]() |
![]() |
#26 |
Registered User
Join Date: Jun 2015
Location: Umeå / Sweden
Posts: 266
|
|
![]() |
![]() |
#27 | |
Code Kitten
![]() Join Date: Aug 2015
Location: Montreal/Canadia
Age: 52
Posts: 1,178
|
Quote:
As for why the Spectrum version is slower, well, it should not. ![]() As some like Roondar have pointed out, the Speccy's Z80 should be somewhat faster than the BBC 6502, but the former's advantage should really be that its graphic mode requires a much smaller memory bandwidth to update than the BBC's. For Stunt Car Racer's purposes, the Sinclair graphic mode is essentially a monochrome bitmap which should be much simpler to update than the 4 bits per pixel of the BBC. The answer is probably that whoever was tasked to write the port to the Speccy either was not very good/experienced or was not given enough time to do it correctly. ![]() |
|
![]() |
![]() |
#28 |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,436
|
I know next to nothing about the ZX Spectrum, apart from three things:
For comparison, the C64's bitmap mode (in both 160x200 and 320x200) uses 8KB + 1KB of attributes and the BBC micro uses 10KB for the basic 4-colour 160x200/2 colour 320x200 mode. As a result of the above, I'm fairly certain the ZX Spectrum version of Stunt Car Racer could've been faster. Don't know why it isn't. Oh and the BBC Master version is still pretty epic ![]() Last edited by roondar; 04 April 2019 at 11:59. |
![]() |
![]() |
#29 |
Registered User
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,076
|
The Spectrum has 16bit additions and Subtractions built into the chipset which helps enormously with 3D calculations, but the screen layout is absolutely horrible - it's divided vertically into three horizontal bands, each of which are divided into 8 groups of 8 pixel lines.
This is extremely fast for drawing text - you just add 256 to your pixel address to get the next pixel down so a simple INC H (where HL holds the address) will address the next line. Obviously things get more complex if you want to draw outside the character grid limitations. Each byte holds 8 pixels, so you have to rotate and shift a lot to draw lines for vectors. I think the current speed winner for line drawing is about 7 cycles per pixel, and filled polygons are that plus cycles for the spans. A purely bitmapped display of 1BPP would take more memory but offer an insane speed advantage which sadly the Speccy didn't get. So yes, the Speccy version of SCR should have been a LOT better - it could have easily outperformed the BBC and C64 versions had the coder actually thought about what they were doing, whereas Crammond not only knew his hardware, but also was very very good at algorithms. |
![]() |
![]() |
#30 |
Registered User
Join Date: May 2013
Location: Grimstad / Norway
Posts: 852
|
a) You can set up a 256x192(or however many lines you want to use) screenmode on the C= 64 if you want by limiting your colours a little and shaping it with raster interrupts. (Basically using N character sets at the same time.)
b) The ZX does have a few limits; you can't double-buffer so you will typically have to draw to an off-screen buffer and then do a memcopy to transfer it to the screen. Screen memory is slower than the rest of the ram. |
![]() |
![]() |
#31 |
Registered User
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,076
|
The 128k Spectrum sorted that with the shadow screen memory bank, but as the 128k models were never that prevalent, nobody really used it much - but it did allow you to use double buffering with a simple OUT instruction - you could even do it from BASIC if you were careful.
The screen memory was slow though, due to the interaction between the ULA and the z80. This too had its uses as you could (on earlier 48k/128k models) use this to perform frame timing. Interestingly, the russian models didn't have this ULA<>z80 contention and thus ran marginally faster. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Stunt Car Racer | atchoo | support.Games | 3 | 19 November 2011 19:32 |
Stunt Car Racer | Poor Student | support.Games | 4 | 25 September 2006 19:32 |
Stunt Car Racer TNT | Zorro | project.CARE | 15 | 19 July 2005 11:50 |
Stunt car racer - the return! | Bloodwych | Nostalgia & memories | 17 | 10 January 2005 20:36 |
Stunt Car Racer | Darkseid | support.Games | 2 | 04 June 2002 22:27 |
|
|