02 February 2020, 19:08 | #1 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,790
|
What is Sliced Ham?
What is Sliced Ham and how does it work? and any examples?
|
02 February 2020, 19:25 | #2 |
Inviyya Dude!
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,784
|
You take some ham and a knife, and then you slice it...
|
02 February 2020, 19:28 | #3 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,790
|
I knew this would heppen
|
02 February 2020, 19:32 | #4 |
Registered User
Join Date: Sep 2017
Location: Kansas, USA
Posts: 328
|
Instead of using a single 16 color palette for the whole screen, it loads a new palette for each scanline, which can help reduce HAM artifacts, depending on the image.
There is also the similar dynamic high-res which also loads a new palette per scan line, but in high-res mode instead of HAM. Digiview 4.0 supported them, not sure what else. |
02 February 2020, 19:34 | #5 | |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,790
|
Quote:
was it slow? and was it CPU intensive? |
|
02 February 2020, 19:44 | #6 |
Registered User
Join Date: Sep 2017
Location: Kansas, USA
Posts: 328
|
I think they typically used the Copper to load the new palette, so it wasn't specifically CPU intensive, but unless you have some fast RAM the CPU isn't going to be doing much as there's little DMA time left.
Apparently the original version of SHAM only changed the palette every other line, leaving more time for the CPU. |
02 February 2020, 19:55 | #7 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,790
|
Thanks for your explaination
Last edited by Retro1234; 03 February 2020 at 17:45. |
02 February 2020, 20:18 | #8 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,378
|
If you would like to play with S-HAM, dynamic Hires or PCHG there is HamLabPlus 2.10 at the FTP site of the user LoadWB (amiga.org):
https://forum.amiga.org/index.php?PH...7399#msg267399 ftp://nexus.polaris.net/pub/forager/Amiga |
02 February 2020, 20:37 | #9 | |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,790
|
Quote:
|
|
02 February 2020, 21:45 | #10 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,303
|
I suppose that palette had to be computed specifically for each line, so it was good for static images, but not for games (HAM itself had the same issue).
Unless you want to paste a background image and use only sprites for all characters. Games already use various copper effects to change the palette (copper rainbows, palette change between playfield and status bar...) |
02 February 2020, 22:08 | #11 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,790
|
Thanks for your reply.
maybe the repeating background of a Dual Playfield might work? |
02 February 2020, 22:22 | #12 |
Registered User
Join Date: Jul 2006
Location: Sunderland
Posts: 948
|
|
02 February 2020, 22:37 | #13 |
Registered User
Join Date: Sep 2017
Location: Kansas, USA
Posts: 328
|
Dual playfield and HAM are mutually exclusive.
|
02 February 2020, 23:09 | #14 |
Registered User
Join Date: Dec 2016
Location: Finland
Posts: 168
|
It's of course also possible to use normal bitplane mode or extra halfbright (EHB), and then change palette on every scanline, but leave a set of colors unchanged; that way you can also move around blitter objects without distorting their colors when moving object horizontally or vertically.
The sliced EHB mode certainly works better for games than sliced HAM. Sliced EHB technique was used by the game Universe. It changes only first 16 colors on a scanline basis and leaves the other 16 colors untouched for objects, and these colors are also used by sprites. It seems that not that many colors are changed per scaline (probably 2-8), as the game is said to have only 256 colors in all, so the copper doesn't also slow down CPU access to chip ram completely. But this mode is probably not suitable for fast action games on OCS. |
03 February 2020, 00:02 | #15 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,790
|
I was thinking of some kind of Copper Rainbow that could be more than one colour per scanline, sorry.
the guy Kev G did more than one Rainbow Side by Side and I think it worked with Dual Playfield. https://www.ultimateamiga.co.uk/index.php?topic=9300.0 Last edited by Retro1234; 03 February 2020 at 00:10. |
03 February 2020, 00:09 | #16 | |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,790
|
Quote:
|
|
03 February 2020, 13:48 | #17 |
Registered User
Join Date: Nov 2015
Location: Perth, Australia
Posts: 73
|
Someone should have told the people making Space Quest IV!
|
03 February 2020, 13:50 | #18 | |
Inviyya Dude!
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,784
|
Quote:
Just change the value for that color ($dff180) with the copper inbetween starts of lines. |
|
03 February 2020, 15:29 | #19 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,790
|
|
03 February 2020, 17:04 | #20 |
Registered Abuser
Join Date: Oct 2013
Location: Valencia / Spain
Posts: 363
|
It's a technique that was established relatively early on in Amiga history and there's no technical reason why it couldn't have been used in various title screens and background images in Amiga.
Probably the biggest reason for it not being used is similar that of Ham mode: it's really usable to art digitised with quality hardware from quality source or the end result is garbage. Secondly, it would have given only a debatable step up in the quality compared to HAM as most of the players play their games thru tiny CRT sets anyway. So, not worth the hassle, extra 3rd party software (for conversion) and the extra code. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sham instead of ham ? | turrican3 | Retrogaming General Discussion | 2 | 11 September 2020 13:11 |
Why is HAM so underrated? | Foebane | Retrogaming General Discussion | 15 | 02 December 2017 12:25 |
Sliced & Diced (2014)(Dekadence) in ADF format for everyone | Vollldo | request.Demos | 5 | 22 October 2016 22:24 |
Ham videos | Zooup1972 | support.Apps | 17 | 19 April 2015 00:35 |
Fun with HAM | Mequa | Amiga scene | 10 | 01 January 2011 05:54 |
|
|