English Amiga Board


Go Back   English Amiga Board > Main > Nostalgia & memories

 
 
Thread Tools
Old 03 February 2020, 17:19   #21
number6
Registered User
 
Join Date: Sep 2017
Location: USA
Posts: 153
@thread

Horizontal interrupts and vertical blank interrupts go way back:
[ Show youtube player ]

That uses 1 color register btw. You can see how having more (mentioned in the other postings) allowed expansion of this methodology.
Anyone who used dynamic hi-res will also remember that the image would not remain stable if the mouse was moved.
Ham-8 basically deprecated SHAM, but it's still very interesting.

#6

Last edited by number6; 03 February 2020 at 17:41. Reason: added notes
number6 is offline  
Old 03 February 2020, 17:46   #22
Retro1234
Phone Homer
 
Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 5,773
I'm interested in different colours on the Horizontal.
Retro1234 is offline  
Old 03 February 2020, 19:01   #23
saimon69
J.M.D - Bedroom Musician
 
Join Date: Apr 2014
Location: los angeles,ca
Posts: 3,519
Quote:
Originally Posted by coder76 View Post
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.
If you go down on just 32 colors and change the first 16 (= 128 colors) would that reduce bandwidth for basic single screen platformers?
saimon69 is offline  
Old 03 February 2020, 19:06   #24
number6
Registered User
 
Join Date: Sep 2017
Location: USA
Posts: 153
Quote:
Originally Posted by Retro1234 View Post
I'm interested in different colours on the Horizontal.
You could actually do that even in the old days with 1 register.
Basically you had to know machine cycles and color clocks to do it though.

With Amiga it's obviously not necessary, but it is an interesting parallel about people pushing the limits of what a machine was originally designed to do.

#6
number6 is offline  
Old 03 February 2020, 19:28   #25
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
@Retro1234, HAM was another innovation the Amiga had, to allow truecolor pictures (as opposed to palettized images) without hefty RAM requirements. Computers were just beginning to get more than 64K of RAM; the Mac cost $2500 and had 128K. The Amiga 1000 doubled that, allowing another 256K expansion. Within 2 years, needs had been found that required 1MB to leave enough for the OS and programs. A HAM image would be exactly the size on file and in RAM as a 64-color picture! And this meant that an OS and a program to handle these pictures could fit in RAM.

HAM was the predecessor of the "hi-color" modes found on PC graphics cards in 1995. 4K colors vs ~29K colors. When hi-color cards came out PCs weren't powerful enough to run games in hi-color mode. This took another 4 years, and in 1999, PCs could run games in truecolor mode (~16M colors), but many lowered it to hi-color to not get a slow framerate.

I have never heard of "sliced HAM" before either. To me, it's PCHG. It's an image format that increases the number of colors in palettized pictures, but not in HAM pictures. Rather, it brings the total counted differing colors on-screen closer to 4K and reduces the artifacts, and leaves enough CPU left to run the OS and programs, on Amiga 1000 and up.

By comparison, you had to wait a few seconds to display a truecolor picture on your PC in 1992, due to the palette remapping; what you would see would be 256 colors. The same year, HAM was upgraded on AGA to 256K colors - much better than hi-color, but not as good as truecolor.
Photon is offline  
Old 03 February 2020, 23:40   #26
coder76
Registered User
 
Join Date: Dec 2016
Location: Finland
Posts: 168
Quote:
Originally Posted by saimon69 View Post
If you go down on just 32 colors and change the first 16 (= 128 colors) would that reduce bandwidth for basic single screen platformers?

Well sure, when you reduce bitplanes and copper instructions, then you get more DMA time for blitter and also more CPU time if you run code from chip ram, or this pseudo fast ram 512k expansion which everyone had for A500.


Everything works of course much better under AGA, when you also have fast ram+more bitplanes, and the ability the swap an entire color bank with a single copper instruction.



There is no restriction on scrolling screen with the sliced EHB method (or other normal bitplane modes), it doesn't distort colors like HAM mode, and since you also have a fixed palette for blitter objects and sprites, you can move them also vertically without distorting their colors.
coder76 is offline  
Old 04 February 2020, 00:27   #27
saimon69
J.M.D - Bedroom Musician
 
Join Date: Apr 2014
Location: los angeles,ca
Posts: 3,519
Quote:
Originally Posted by coder76 View Post


There is no restriction on scrolling screen with the sliced EHB method (or other normal bitplane modes), it doesn't distort colors like HAM mode, and since you also have a fixed palette for blitter objects and sprites, you can move them also vertically without distorting their colors.
If for some reason AGA did not come out i would have expected more adventure games using the same method that Universe did - well, there is still time (not the engine though)
saimon69 is offline  
Old 04 February 2020, 11:24   #28
Foebane
Banned
 
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
HAM is AWESOME! Have you ever seen high-end HAM8 demos? They're easily the best of any on Amiga!

Sure, the HAM8 mode may just be a framebuffer with c2p used, and the resolution may be blocky, but the results are better than 256 colours any day.
Foebane is offline  
Old 12 April 2021, 18:57   #29
Pyromania
Moderator
 
Pyromania's Avatar
 
Join Date: Jan 2002
Location: Chicago, IL
Posts: 3,375
I heard Easter Ham is even better.
Pyromania is offline  
Old 12 April 2021, 19:37   #30
saimon69
J.M.D - Bedroom Musician
 
Join Date: Apr 2014
Location: los angeles,ca
Posts: 3,519
Prosciutto!!!! :9

saimon69 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
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

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 01:36.

Top

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