English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 20 June 2018, 11:25   #1
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,281
Line of Fire Question

Can someone know how did they were able to do zooming on Amiga?
sandruzzo is offline  
Old 20 June 2018, 12:48   #2
zero
Registered User
 
Join Date: Jun 2016
Location: UK
Posts: 428
I think it just uses multiple pre-scaled copies of the sprites. The scaling certainly isn't very smooth.

That's how most Amiga games did scaling.
zero is offline  
Old 20 June 2018, 14:41   #3
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,281
So isnt' real time?
sandruzzo is offline  
Old 20 June 2018, 22:20   #4
Shatterhand
Warhasneverbeensomuchfun
 
Shatterhand's Avatar
 
Join Date: Jun 2001
Location: Rio de Janeiro / Brazil
Age: 41
Posts: 3,450
The arcade game is real time. Pretty sure amiga is Just pre-scaled images.

Richard Aplin said in a thread here how when he received the arcade board to port the game to the ST and Amiga he just laughed as the arcade board is like ten times more powerful than an Amiga.
Shatterhand is offline  
Old 21 June 2018, 00:50   #5
dlfrsilver
CaptainM68K-SPS France
 
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 46
Posts: 10,412
Send a message via MSN to dlfrsilver
Quote:
Originally Posted by Shatterhand View Post
The arcade game is real time. Pretty sure amiga is Just pre-scaled images.

Richard Aplin said in a thread here how when he received the arcade board to port the game to the ST and Amiga he just laughed as the arcade board is like ten times more powerful than an Amiga.
It's basically a Powerfull PC with 2 68000 running at 12.5mhz and custom FPU chips able to perform Multiplications and divisions (called hardware multiplier and divider).

The board use a 21 millions of colors palette.

Source : me, as i own the arcade board
dlfrsilver is offline  
Old 21 June 2018, 09:58   #6
zero
Registered User
 
Join Date: Jun 2016
Location: UK
Posts: 428
Pre-scaled sprites were the standard way of doing this sort of thing, e.g. for racing games like Hang On and Outrun.

The Amiga can do some scaling by spamming the scroll register, but it only works on bitmaps and entire scanlines.
zero is offline  
Old 21 June 2018, 11:07   #7
britelite
Registered User
 
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 818
Quote:
Originally Posted by dlfrsilver View Post
The board use a 21 millions of colors palette.
You counted all the colors yourself?

As in, I don't buy this claim. Other sources says it has 15 bit colors + 1bit shadow/highlight, which would give you almost 100k colors, but nowhere near 21 million
britelite is offline  
Old 21 June 2018, 11:29   #8
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,281
Quote:
Originally Posted by zero View Post
Pre-scaled sprites were the standard way of doing this sort of thing, e.g. for racing games like Hang On and Outrun.

The Amiga can do some scaling by spamming the scroll register, but it only works on bitmaps and entire scanlines.
I think if you scale well the entire bitmap you can archive a good scaling effect in y direction, the problem is x direction
sandruzzo is offline  
Old 21 June 2018, 12:46   #9
dlfrsilver
CaptainM68K-SPS France
 
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 46
Posts: 10,412
Send a message via MSN to dlfrsilver
Quote:
Originally Posted by britelite View Post
You counted all the colors yourself?

As in, I don't buy this claim. Other sources says it has 15 bit colors + 1bit shadow/highlight, which would give you almost 100k colors, but nowhere near 21 million
I'm not joking. I put my hands on the sega system, and indeed, Line of Fire has a global palette of 21 million of colors !

I've worked out the graphic format of this sega system, and it uses shit tons of colors.

that's also what Richard Aplin has discovered during the conversion.

Basically, Line of Fire graphics have been done on a big PC system called The Sega digitizer III.

the particularity of this system is that the graphics were made on a custom version of Autocad (the famous graphic drawing tool).

shinobi, golden Axe, altered beast, most famous Sega titles on sega system have been drawn on autocad.
dlfrsilver is offline  
Old 21 June 2018, 12:53   #10
britelite
Registered User
 
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 818
Quote:
Originally Posted by dlfrsilver View Post
I'm not joking. I put my hands on the sega system, and indeed, Line of Fire has a global palette of 21 million of colors !
I'm sure you're not joking, but I still don't buy it. I do want some proof of this claim, as 21 million colors doesn't make any sense.

Wikipedia says the Sega X Board the games is based on has a color palette of 98,304 colors. Same goes for https://segaretro.org/Sega_X_Board

So I'm really interested where you get your numbers from, as I'm more inclined to believe the specs I referenced than your random numbers.

EDIT:
Quote:
I've worked out the graphic format of this sega system, and it uses shit tons of colors.
Alright, show me the specs of this format

Last edited by britelite; 21 June 2018 at 13:16.
britelite is offline  
Old 21 June 2018, 13:16   #11
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Yep, for that sort of palette to make any sense, it first off needs to be using more than 24 bits per pixel, which even today isn't used on top-end games (Remember that a 32-bit colour mode still only includes 24 bits of color data, which is ~16.8 million colours). So perhaps it's using some sort of hardware offset scheme like HAM on the Amiga, and a non-RGB colour system... But even that wouldn't make any sense - why bother going to such lengths to introduce colours that probably can't be perceived by the naked eye?

I also wonder about the AutoCAD element - it's a hideous tool for drawing computer graphics. Are you sure it wasn't just a part of the processing, for example as part of the digitizer setup, in which case the graphics were drawn on paper and then scanned in to produce a vector version, which could then be scaled to suit different resolutions?
Daedalus is offline  
Old 21 June 2018, 14:43   #12
dlfrsilver
CaptainM68K-SPS France
 
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 46
Posts: 10,412
Send a message via MSN to dlfrsilver
Quote:
Originally Posted by britelite View Post
I'm sure you're not joking, but I still don't buy it. I do want some proof of this claim, as 21 million colors doesn't make any sense.

Wikipedia says the Sega X Board the games is based on has a color palette of 98,304 colors. Same goes for https://segaretro.org/Sega_X_Board

So I'm really interested where you get your numbers from, as I'm more inclined to believe the specs I referenced than your random numbers.

EDIT:

Alright, show me the specs of this format
The specs ? The sega system boards, whatever they are are basically mixing Planar tiles with chunky bitmap graphics.

those chunky bitmap graphics can be sprites, background or scene parts.

the proof : I have extracted most of all shinobi arcade graphic assets. and also some others like Hang-on and Super Hang On.


richard himself said this :

"The bitmap graphics were grabbed from the arcade PCB video output by Andy Heike and Nick Vincent with the colour frame grabber, and the sprites were read, decoded and converted from the arcade machine's Eproms by me. (Not a bit of bloody help from Sega either!)

They were remapped from 21 million to 16 colours by Andy Heike, Nick Vincent, and some students in Manchester.
dlfrsilver is offline  
Old 21 June 2018, 14:44   #13
dlfrsilver
CaptainM68K-SPS France
 
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 46
Posts: 10,412
Send a message via MSN to dlfrsilver
Quote:
Originally Posted by Daedalus View Post
Yep, for that sort of palette to make any sense, it first off needs to be using more than 24 bits per pixel, which even today isn't used on top-end games (Remember that a 32-bit colour mode still only includes 24 bits of color data, which is ~16.8 million colours). So perhaps it's using some sort of hardware offset scheme like HAM on the Amiga, and a non-RGB colour system... But even that wouldn't make any sense - why bother going to such lengths to introduce colours that probably can't be perceived by the naked eye?

I also wonder about the AutoCAD element - it's a hideous tool for drawing computer graphics. Are you sure it wasn't just a part of the processing, for example as part of the digitizer setup, in which case the graphics were drawn on paper and then scanned in to produce a vector version, which could then be scaled to suit different resolutions?
I guess Sega got a custom version of AutoCAD. I found this information in a twitter like site, showing japanese development machines, and where this information has been given by a Sega arcade engineer.
dlfrsilver is offline  
Old 21 June 2018, 15:08   #14
britelite
Registered User
 
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 818
Quote:
Originally Posted by dlfrsilver View Post
The specs ?
The specs of the graphics format you claim to have extracted.

Quote:
the proof : I have extracted most of all shinobi arcade graphic assets. and also some others like Hang-on and Super Hang On.
Ok, then show me how the "21 million" colours are defined in those graphics assets.

Quote:
They were remapped from 21 million to 16 colours by Andy Heike, Nick Vincent, and some students in Manchester.
But still, you're not answering where you get that "21 million" figure from.

EDIT:
Quote:
The bitmap graphics were grabbed from the arcade PCB video output by Andy Heike and Nick Vincent with the colour frame grabber
This of course might explain why you seem to think the hardware handles more colors than it does, as the video output will have artifacts resulting in more colors. For example, a C64 handles and outputs 16 colors but the video signal will have way more due to composite artifacts.

Last edited by britelite; 21 June 2018 at 15:14.
britelite is offline  
Old 21 June 2018, 21:53   #15
dlfrsilver
CaptainM68K-SPS France
 
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 46
Posts: 10,412
Send a message via MSN to dlfrsilver
Quote:
Originally Posted by britelite View Post
The specs of the graphics format you claim to have extracted.
The specs ? Chunky bitmap (read : PC pixel image format), arbitrary size as opposed to the planar tiles 8x8 also used by the boards.

Ok, then show me how the "21 million" colours are defined in those graphics assets.

But still, you're not answering where you get that "21 million" figure from.

Quote:
EDIT:

This of course might explain why you seem to think the hardware handles more colors than it does, as the video output will have artifacts resulting in more colors. For example, a C64 handles and outputs 16 colors but the video signal will have way more due to composite artifacts.
Ok, even in mame, if you take a screenshot, you'll get it in millions of colors as well.

This because the only mode able to support the amount of colors is this one.

when a game uses 100.000 colors, you must use the 16 millions colors mode at least.
dlfrsilver is offline  
Old 22 June 2018, 08:04   #16
britelite
Registered User
 
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 818
Quote:
Originally Posted by dlfrsilver View Post
Ok, even in mame, if you take a screenshot, you'll get it in millions of colors as well.
Indeed, because it always takes a screenshot in truecolor, just like pretty much any other emulator. Doesn't mean the hardware it's emulating handles this amount.

Quote:
when a game uses 100.000 colors, you must use the 16 millions colors mode at least.
Exactly. When the hardware emulated uses ~17bit colors, you can't replicate that properly with indexed modes or 15/16bit hicolor modes.

Anyway, any of this doesn't explain where you get your random "21 million" colors from. So if you're still going to stick to your claim, it would be easier to take you serious if you back your claim up with some proof (as in technical specifications supporting your claim)?
britelite is offline  
Old 22 June 2018, 08:05   #17
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,281
Line of Fire Amiga version use prescaled "bob"?
sandruzzo is offline  
Old 22 June 2018, 08:21   #18
britelite
Registered User
 
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 818
Quote:
Originally Posted by sandruzzo View Post
Line of Fire Amiga version use prescaled "bob"?
It's hard to say, considering the movement seems to be linear, it could very well be possible that the scaling is done "realtime", as in the next step is being calculated offscreen (for the duration of several frames) while moving the previously scaled version on screen. This would at least conserve some memory contrary to having all steps in memory at once.

But I didn't code it, so this is just an educated guess
britelite is offline  
Old 22 June 2018, 09:05   #19
dlfrsilver
CaptainM68K-SPS France
 
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 46
Posts: 10,412
Send a message via MSN to dlfrsilver
Quote:
Originally Posted by britelite View Post
Indeed, because it always takes a screenshot in truecolor, just like pretty much any other emulator. Doesn't mean the hardware it's emulating handles this amount.

Exactly. When the hardware emulated uses ~17bit colors, you can't replicate that properly with indexed modes or 15/16bit hicolor modes.

Anyway, any of this doesn't explain where you get your random "21 million" colors from. So if you're still going to stick to your claim, it would be easier to take you serious if you back your claim up with some proof (as in technical specifications supporting your claim)?
Mame doesn't support as you noticed the tilemaps or any other game graphics in chunky format.

You can only access the planar parts with the F4 key.
dlfrsilver is offline  
Old 22 June 2018, 09:09   #20
britelite
Registered User
 
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 818
Quote:
Originally Posted by dlfrsilver View Post
Mame doesn't support as you noticed the tilemaps or any other game graphics in chunky format.

You can only access the planar parts with the F4 key.
This has absolutely nothing to do with what I said.
britelite is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Heureka / Klett Red Line / Orange Line English education TTSAddict request.Apps 4 17 September 2017 14:15
Understanding the (in)famous copper's lost cycle (PAL all line, NTSC short line). ross Coders. Asm / Hardware 10 13 March 2017 17:50
In the line of Fire - Dreamcast f.p.s - Kick-starter. Adrian Browne Retrogaming General Discussion 5 26 December 2016 02:21
Command Line question brolly support.WinUAE 8 18 April 2011 11:11
fire and ice cd32, turrican3 question McDuck support.Games 4 06 June 2009 20:11

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 21:43.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09921 seconds with 15 queries