Welcome, Guest. Please login or register.

Author Topic: WHDLoad and 68060 issues with image corruption  (Read 3279 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline BetelgeuseTopic starter

  • Jr. Member
  • **
  • Join Date: Dec 2005
  • Posts: 99
    • Show only replies by Betelgeuse
WHDLoad and 68060 issues with image corruption
« on: April 15, 2018, 11:54:08 PM »
I have an A4000 with Cyberstorm MK2 and 128MB of Cyberstorm RAM, 2MB Chip RAM, and I think another 16MB of A4000 Fast-RAM (all motherboard RAM slots populated), Picasso IV also acting as a flicker fixer for WHDLoad games. The problem is when running WHDLoad games with tooltips set to CACHECHIP and DCACHE, some games show image corruption, particularly in text. For some games the issue is minor, for others it makes the game unplayable (like ST: 25th Anniversary). Setting the flag CHIPNOCACHE solves the corruption, but makes some games a lot slower (like Tornado AGA or Robinson's Requiem AGA, Star Trek runs fine then and is plenty fast). There is no corruption when running these games from a regular install, not thru WHDLoad (the latter is more convenient though). Is there any way to avoid the corruption issue?
Betelgeuse,
aka Armpit of the Giant

\\"I Am Become Death, The Destroyer of Worlds!\\"
 

guest11527

  • Guest
Re: WHDLoad and 68060 issues with image corruption
« Reply #1 on: April 16, 2018, 12:12:55 AM »
Quote from: Betelgeuse;838530
The problem is when running WHDLoad games with tooltips set to CACHECHIP and DCACHE, some games show image corruption, particularly in text.
Of course. Chip memory is not cacheable simply because the data can change under the CPU any time by using the blitter without the CPU cache noticing the change. Caching requires that the memory contents does not change by any means but the CPU.

Hence, CACHECHIP is certainly a pretty bad idea - as you observe.
 

Offline klx300r

  • Amiga 1000+AmigaOne X1000
  • Hero Member
  • *****
  • Join Date: Sep 2007
  • Posts: 3246
  • Country: ca
  • Thanked: 20 times
  • Gender: Male
    • Show only replies by klx300r
    • http://mancave-ramblings.blogspot.ca/
Re: WHDLoad and 68060 issues with image corruption
« Reply #2 on: April 16, 2018, 02:46:42 AM »
@ Betelgeuse

I've got basically same setup as you except my CS is the MKIII and I gave up with WHDLoad on my A4000 as try as I may I only can get to the game intro at best to pop up so I use my 1200 with WB3.1 and 030 to happily run all my WHDLoad stuff...will be watching this thread to hopefully see if you can get WHDLoad working properly with A4000 & CS060 board and wish you luck:)
____________________________________________________________________
c64-dual sids, A1000, A1200-060@50, A4000-CSMKIII
Indivision AGA & Catweasel MK4+= Amazing
! My Master Miggies-Amiga 1000 & AmigaOne X1000 !
--- www.mancave-ramblings.blogspot.ca ---
  -AspireOS.com & Amikit- Amiga for your netbook-
***X1000- I BELIEVE *** :angel:
 

Offline BetelgeuseTopic starter

  • Jr. Member
  • **
  • Join Date: Dec 2005
  • Posts: 99
    • Show only replies by Betelgeuse
Re: WHDLoad and 68060 issues with image corruption
« Reply #3 on: April 16, 2018, 03:19:22 AM »
Quote from: Thomas Richter;838532
Of course. Chip memory is not cacheable simply because the data can change under the CPU any time by using the blitter without the CPU cache noticing the change. Caching requires that the memory contents does not change by any means but the CPU.

Hence, CACHECHIP is certainly a pretty bad idea - as you observe.


Makes sense, but why then have the option in the first place?
Betelgeuse,
aka Armpit of the Giant

\\"I Am Become Death, The Destroyer of Worlds!\\"
 

Offline amiga1260

  • Hero Member
  • *****
  • Join Date: Feb 2003
  • Posts: 679
    • Show only replies by amiga1260
Re: WHDLoad and 68060 issues with image corruption
« Reply #4 on: April 16, 2018, 04:10:28 AM »
I have no problems getting WHDLoad Games running without glitches on my Blizzard 1260, Commodore 3660 and Cyberstorm 060 MK 1.

You need to set the maxtransfer value at 00x01fe00 with HDtoolbox for all the partitions.
The best result is to copy the game again on HD.
 

Offline UberFreak

  • Full Member
  • ***
  • Join Date: Nov 2012
  • Posts: 148
    • Show only replies by UberFreak
Re: WHDLoad and 68060 issues with image corruption
« Reply #5 on: April 16, 2018, 04:18:07 PM »
I'm running WHDLoad (demos mostly) on an A4000 with CSmk1 060.
From my experience with a few hundred demos and games, about 50% run, some with glitches here and there.
The other 50% require lots of massaging, playing around with tooltips etc, but that doesn't always help.
Its mostly old slaves that have issues.

I've recently built a basic KS1.2 A500 with a Gotek, just for running all the old stuff without hassle or glitches.
 

Offline giZmo350

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 2055
  • Country: 00
  • Thanked: 29 times
  • Gulfport, Miss
    • Show only replies by giZmo350
Re: WHDLoad and 68060 issues with image corruption
« Reply #6 on: April 16, 2018, 04:32:44 PM »
Quote from: UberFreak;838556
I'm running WHDLoad (demos mostly) on an A4000 with CSmk1 060.
From my experience with a few hundred demos and games, about 50% run, some with glitches here and there.
The other 50% require lots of massaging, playing around with tooltips etc, but that doesn't always help.
Its mostly old slaves that have issues.

My experience with my A2000 with a Blizz 2060 is pretty much the same.

Quote from: UberFreak;838556
I've recently built a basic KS1.2 A500 with a Gotek, just for running all the old stuff without hassle or glitches.

I recently did the exact same thing, for the exact same reason, after buying a Gotek & external cable. :) I haven't gotten around to even starting the Gotek install yet as I have no idea where to start or what to do. :(:lol::(:lol:
A500: 2MB Chip, 8MB Fast, IndiECS, MiniMegi, IDE4ZorroII on Z-500, KS1.3/KS3.1, WB3.1&BWB
 
A2000HD: 2MB Chip, 128MB Fast, P5:Blizz 2060@50MHz, PCD-50B/4GBCF, XSurf100, RapidRoad, IndiECS, Matze RTG, MiniMegi, CD-RW, SunRize AD516, WB3.9
 
A1200: 2MB Chip, 64MB Fast, 4GBCF, GVP Typhoon 030 @40MHz w/FPU, Subway USB, EasyNet Ethernet, Indi AGA MKI, FastATA MK-IV, Internal Slim CD/DVD-RW, WB3.5

Surfing The Web With AMIGA Is Fun Again!
 

Offline kolla

Re: WHDLoad and 68060 issues with image corruption
« Reply #7 on: April 16, 2018, 09:32:34 PM »
Quote from: Betelgeuse;838540
Makes sense, but why then have the option in the first place?


I looked through the docs, and only find "ChipNoCache"

http://www.whdload.de/docs/en/opt.html#ChipNoCache

http://www.whdload.de/docs/en/cache.html#chipmem
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline BetelgeuseTopic starter

  • Jr. Member
  • **
  • Join Date: Dec 2005
  • Posts: 99
    • Show only replies by Betelgeuse
Re: WHDLoad and 68060 issues with image corruption
« Reply #8 on: April 17, 2018, 04:21:03 AM »
Quote from: kolla;838561
I looked through the docs, and only find "ChipNoCache"

http://www.whdload.de/docs/en/opt.html#ChipNoCache

http://www.whdload.de/docs/en/cache.html#chipmem


I think chip caching is on with the DCACHE tooltip, some readme files mention CHIPCACHE but I also didn't see it in the docs. So in the end DCACHE turns on all caching including chip caching. How does it differ from the CACHE command or what's turned on with SetPatch and the CPU command?
Betelgeuse,
aka Armpit of the Giant

\\"I Am Become Death, The Destroyer of Worlds!\\"
 

Offline kolla

Re: WHDLoad and 68060 issues with image corruption
« Reply #9 on: April 17, 2018, 07:45:26 AM »
Quote from: Betelgeuse;838570
How does it differ from the CACHE command or what's turned on with SetPatch and the CPU command?

I suppose these are options for within the "virtual" system that WHDLoad starts, and not the "host" system.

Btw - you know that with WHDLoad you can boot into OS3.1 or OS3.1.3 from OS3.9, with a defined directory as boot disk for the "instance", run programs in there, and at any time press the defined exit key to shut down the virtual OS3.1 or 1.3 "instance" and be back in OS3.9? Very convenient for running programs that somehow struggle with OS3.9, or as a test environment for your own hackish asm code :)

http://www.whdload.de/apps/alla.html
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

guest11527

  • Guest
Re: WHDLoad and 68060 issues with image corruption
« Reply #10 on: April 17, 2018, 07:58:46 AM »
Quote from: Betelgeuse;838570
How does it differ from the CACHE command or what's turned on with SetPatch and the CPU command?

That is hard to tell without the documentation. Caching on the 68060 is controlled by two switches. First, there is a global on/off switch for the cache that is controlled by the CPU command (somewhat), but the final tuning of caching is due to the MMU, which is setup by the 68060.library. Hence, even if "DCACHE" is on via SetPatch, the MMU still turns it off for the chip memory.

Now, what WHDLoad does is completely unclear. In particular, whether it builds a custom MMU table. Given the defects you observed, it seems likely that it does, albeit in an incorrect manner.
 

Offline kolla

Re: WHDLoad and 68060 issues with image corruption
« Reply #11 on: April 17, 2018, 01:34:28 PM »
Quote from: Thomas Richter;838574
Now, what WHDLoad does is completely unclear. In particular, whether it builds a custom MMU table. Given the defects you observed, it seems likely that it does, albeit in an incorrect manner.

It does, the documentation is quite clear about that.

http://www.whdload.de/docs/en/mmu.html
http://www.whdload.de/docs/en/cache.html
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS