12 February 2019, 18:39 | #1 |
Registered User
Join Date: Apr 2007
Location: Oakbank, Canada
Posts: 85
|
A1000 and weird colors
I have an NTSC A1000 with 8Meg fast memory and a gotek. When I try to run Cannon Fodder I get really strange colors on the screen. I do not get this problem with other games. I tried emulating it on Winuae and was not able to get the same output, so thinking a hardware issue. Any ideas?
This is on the commodore monitor connected to the TV Mod port This is on an LCD TV connected to the video port Also get the same result with Ghosts N Gobblins. |
12 February 2019, 22:39 | #2 |
Registered User
Join Date: Sep 2017
Location: Kansas, USA
Posts: 324
|
The early A1000s didn't have EHB, perhaps that's the problem? In WinUAE, enable No-EHB Denise in Adv. Chipset to check.
*update* That's not it, just checked in WinUAE. Last edited by Rotareneg; 13 February 2019 at 00:30. |
13 February 2019, 17:29 | #3 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Does game's title screens ("not in any way endorsed" screen for example) also have similar color problem?
I checked game's copper list and I didn't see anything interested except it has dual playfield priority bit set (playfield 2 has priority over playfield 1) which does nothing if dual playfield is not enabled. Perhaps it makes difference if Denise is early no-EHB Denise.. EDIT: does same happen if you use real floppy drive? Last edited by Toni Wilen; 13 February 2019 at 18:36. |
13 February 2019, 20:13 | #4 |
Registered User
Join Date: Apr 2007
Location: Oakbank, Canada
Posts: 85
|
Not able to check with a real floppy yet, I am trying to track one down at the moment (external one, but the gotek in it and use the internal one as the second drive).
I will check the title screen tonight, in Ghosts N Goblins it was messed up. |
13 February 2019, 21:08 | #5 |
Registered User
Join Date: Sep 2006
Location: New Sandusky
Posts: 942
|
That's weird, it looks like an inverted chroma signal.
I read somewhere that Cannon Fodder DOES use EHB in parts btw, and I'm not sure if UAE's emulation of early Denise chips is 100% accurate. Denise 8362 R5 and earlier are the pre-EHB chips, if you care to look at your motherboard, R6 and later have EHB. Also you could try some games that definitely do use EHB like Black Crypt, Super Cars 2, Agony (the loading screens only). EDIT: Just saw that you're having issues with Ghosts'n'Goblins which is def not an EHB game. It could be something is not playing nice with the composite modulator. Have you tried the RGB port directly? Maybe hooking up an A520 modulator to the RGB port? I say this because it seems more than coincidental that the things that are supposed to be blue are red, the things that are supposed to be green are blue, and the things that are supposed to be red are green, as opposed to just random colors for everything. Last edited by AmigaHope; 13 February 2019 at 21:15. |
13 February 2019, 21:08 | #6 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
Hmm, interesting... Are you able to test via analogue RGB connection to the 1084? My guess is, the picture will look fine then.
My theory: The hardware register bplcon0 has a "COLOR" bit. On the A1000 only, that controls whether the composite video signal is monochrome or in colour. Technically, setting COLOR to 0 probably stops the colour burst being present in the back porch of the composite video signal. Since no other Amiga model supports that feature, various games and demos accidentally don't set the COLOR bit. (The developers never tested on A1000.) It seems Cannon Fodder is one such game; at least, the WHDLoad info page says "bplcon0.color bits fixed" Since your A1000 is pimped-up, you could try using the Cannon Fodder WHDLoad installer, install to RAM: and run the game from there. If you want to check other games that might have colour issues, Google search for: bplcon0 site:whdload.de So why do you see those strange/wrong intense colours? My guess is, enough of the Amiga ~3.58MHz clock signal leaks into the composite video signal, so even with the bplcon0 COLOR bit 0, the video decoder in the monitor sees a very weak colour burst (of the wrong phase). Thus it "amplifies" the chrominance signal which may still be present in the active part of each scan line. Do you have any other TVs or monitors (especially old ones) to test? |
13 February 2019, 21:31 | #7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
GhostnGoblins title screen does not have color bit set but main game screen does set it.
|
14 February 2019, 06:45 | #8 |
Registered User
Join Date: Apr 2007
Location: Oakbank, Canada
Posts: 85
|
I opened up the 1000 and it does have the denise without EHB. I double checked Cannon Fodder and the title screen also has the problem.
I am trying to track down a RGB cable to test using it. Currently I am using the TV MOD port. I have an IDE adapter comming, and once I have it installed I will give whdload a try. Thanks for all the help. |
14 February 2019, 07:28 | #9 |
Registered User
Join Date: Sep 2004
Location: Tacoma, WA USA
Age: 52
Posts: 1,915
|
GNG is a PAL game so it might not work on a NTSC Amiga.
|
14 February 2019, 17:03 | #10 |
Registered User
Join Date: Apr 2007
Location: Oakbank, Canada
Posts: 85
|
Ghosts N Goblins gets the title screen, but the game does not run, but I think it it need 1Meg of chip ram, and I only have 512K.
|
14 February 2019, 20:53 | #11 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
btw, could you run this test program: http://eab.abime.net/showpost.php?p=1289627&postcount=8 |
|
14 February 2019, 20:53 | #12 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
If you post links to the Cannon Fodder ADFs you're using, I could have a go at patching it to always set the COLOR bit.
|
15 February 2019, 06:05 | #13 | |
Registered User
Join Date: Apr 2007
Location: Oakbank, Canada
Posts: 85
|
The title screen did not have the proper colors. I'll give the program a try.
Quote:
|
|
15 February 2019, 06:18 | #14 |
Registered User
Join Date: Apr 2007
Location: Oakbank, Canada
Posts: 85
|
That would be great.
I added the ones I am using to the zone, but any version would do: http://eab.abime.net/zone/CannonFodder.zip |
15 February 2019, 09:28 | #15 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
I have early european A1000 (PAL Agnus but NTSC composite output and NTSC main crystal), I can check what COLOR bit does to composite signal with a scope and create test program that can be used to test what happens to colors. (if it is color phase shift or something more complex) EDIT: I checked (bad quality) A1000 schematics and it looks like COLOR bit (=Denise "Burst" pin 18) controls pin 1 of MC1377 RGB to composite video encoder. Datasheet says pin 1 controls color burst duration so apparently it sets some "illegal" voltage level which causes chip to generate very quick or very low level pulse. Or something like that. Chip does not have any color burst enable/disable input signal. Last edited by Toni Wilen; 15 February 2019 at 11:41. |
|
15 February 2019, 14:54 | #16 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
Maybe there could be some difference if your machine has PAL Agnus? (Different number of colour clocks per line so different colour burst phase maybe?)
Look at the MC1377 datasheet from here. Page 8: "Another means of inhibiting the burst pulse is to set Pin 1 either above 1.3 Vdc or below 1.0 Vdc for the duration that burst is not desired." From the A1000 schematic, Denise pin 18 is buffered, then via simple resistor network which (by my possibly wrong calculation) leads to these voltages on MC1377 pin 1: low => ~1.15V, high -> ~3.8V So the Denise BURST pin goes low for the duration of the colour burst in each active scan line. (I assume it's only in the active lines, not during the vertical blanking period.) And I assume setting bplcon0 COLOR to 0 just means the BURST pin always stays high. I wonder if aging capacitors could be the cause of the strange colours? If that causes more of the 3.58MHz clock to leak into the output composite video signal, the video decoder in the monitor sees a very weak colour burst, so it amplifies the chrominance component of the video signal by far too much. Or maybe other models of monitor wouldn't see that low-level signal during the colour burst period, and thus would activate a "colour killer" so the scanline would be shown in monochrome. (Back when there were both B&W and colour TV broadcasts, that feature eliminated colour artifacts appearing when viewing B&W programs.) Some 1084 models have a "VCR" button which is supposed to improve the picture for poor-quality video signals. Maybe changing that setting could change things here? |
15 February 2019, 17:40 | #17 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
I checked the signal with a scope:
if COLOR bit is zero: constant ~3.9v at pin 1. if COLOR bit is one: high about 60.90us (4.10v), low about 2.5us (1.15v) EDIT: Tested also composite out, color=0 seems to disable color burst. But there is lots of noise and scope does not want to sync to it, probably because it is PAL/NTSC hybrid. Or my A1000 video output isn't fully working.. Obviously this is impossible to confirm without swapping components Last edited by Toni Wilen; 15 February 2019 at 19:24. |
23 February 2019, 03:03 | #18 |
Registered User
Join Date: Apr 2007
Location: Oakbank, Canada
Posts: 85
|
|
26 February 2019, 16:22 | #19 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
I'm working on it.
By the way, it seems the WHDLoad installer requires 1MB chip RAM so that rules out using it on your A1000. (Maybe it would be possible for the installer developer to reduce the amount of chip RAM needed though. Because on the Cannon Fodder disk there are three versions of the game code assembled for different addresses.) |
26 February 2019, 16:57 | #20 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
Fully patching the game code will be a bit of a pain. I'd need to extract the RNC-crunched files from ADF, patch, recompress and write back to ADF. Those steps aren't actually that hard, the main hassle being the data isn't written continuously in the ADF (the last two bytes of each sector seem to contain the track number or something).
Actually finding where to patch is relatively simple since I can start from the WHDLoad installer source code. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
My colors are messed up in OS 3.9 | VoltureX | support.Apps | 2 | 27 June 2013 09:21 |
Weird A-Max / A1000 issue | desiv | support.Hardware | 0 | 06 November 2011 06:35 |
More colors in workbench? | Neophyte | New to Emulation or Amiga scene | 2 | 17 September 2007 16:16 |
Using 256 colors | sence2001 | support.Apps | 0 | 02 October 2004 21:34 |
What happened to the colors here?! | andreas | project.EAB | 14 | 22 May 2004 19:32 |
|
|