WHDLoad MantisBT - SWOS
View Issue Details
0005020SWOS[All Projects] Generalpublic2021-02-17 11:162021-05-06 23:05
Assigned ToJOTD 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
CPU68020 + 68851
ChipMem2 MB
FastMem8 MB
WorkbenchOS 3.1
KickROM40 - Kick 3.1
Summary0005020: Slowdowns SWOS
DescriptionI tried all kind of versions of SWOS and the same happen. Lot's of slowdowns.
Steps To ReproducePlay the game ;)
Additional InformationI tried the NOVBRmove but did not change anything.

The exactly same install works great with my A1200 Blizzard IV 030.
TagsNo tags attached.
duplicate of 0000003closed JOTD Sensible World of Soccer: When I play a match there are many slowdown problem, 
Attached Fileszip SWOS9697_alpha.zip (1,860) 2021-05-02 23:42
jpg swos.jpg (92,111) 2021-05-03 09:01

2021-02-17 21:33   
68851 ? wow I didn't know some 020 boards had MMU with that chip.

Have you tried with "NOMMU" btw?
2021-03-01 19:39   
no, but I tried it now and it did not change anything.

All the best
2021-05-02 11:18   
Looks like I have to redo this one for faster processors, sadly I supported lots of versions.

Out of interest, which version of SWOS are you playing?
2021-05-02 11:29   
(Last edited: 2021-05-02 11:34)
I think just using fastmem instead of chipmem for program code could fix the issue. I can try that if you want. Your current slave uses 2MB chip

        lea Swos.rel(pc),a0
pos2: lea $100000,a1
        bsr _LoadFileDEC
        lea reloc_size(pc),a0
        move.l d0,(a0)
        lea Swos.prg(pc),a0
pos: lea $180000,a1
        bsr _LoadFileDEC
        ;bsr remove_hogs
        lea swos_version(pc),a0

this is convenient to debug, but for production you should definitely use expansion mem.

Want me to have a look?

2021-05-02 13:22   
Most play 96/97. That is the last version of SWOS for Amiga. That is the one I play all the time.
I think using fastmem. instead of chipmem. is a great idea.
Very nice if you can look at it and just send me beta versions to test if you like to nikosidis(at)gmail.com

All the best
2021-05-02 23:43   
ok, here's a alpha version attached.

uses only 1MB chip, and 1MB fast. Some graphics are garbled in the menus (chip/fast mixup probably) but the game runs

can you check if the speed is better? if it is, I'll keep working on it and the other versions
2021-05-03 09:01   

It did not work good. I renamed to alpha to sensibleworldofsoccer9697.slave

This came right away trying to run the game. It flash all the time. Waited over 1 min. without anything happening on screen.
2021-05-03 19:23   
sure it's not just missing PRELOAD tooltype?
2021-05-03 22:13   
Hallo JOTD

Great news :D
The preload was there but I had to press left mouse button when it flashes.
I know SWOS 96/97 as for old disk 1 right before asking for disk 2. Maybe that is the reason?
Now it is no more slowdowns and I could not see any bug in menu either.
Great work :) Thanks.
2021-05-04 22:45   
(Last edited: 2021-05-04 22:46)
excellent! after all those years of complaints, using fastmem fixed it (obviously) but I didn't want to interfere with Galahad excellent work earlier, and didn't really looked into the fastmem support (which wasn't trivial, BTW, there are wrong relocs at the start of the .REL file, I'm glad they were at the start!!).

Now I just allowed myself to :)

The flash is a debug feature that was left in slave.

I'm adapting the 246357 other versions now :)

2021-05-04 23:34   
Yes, very nice you found this problem.
As noted before I never had the slowdowns on my A1200 Blizzard IV.
Maybe the chip RAM access is faster on the A1200?
2021-05-04 23:53   
that may be counter-intuitive but chipmem is slower on accelerator boards, because the board has to access memory through the main board.

on a non-expanded amiga, the cpu accesses chipmem in a faster way because there's less interfacing.

Issue History
2021-02-17 11:16FAirlaneNew Issue
2021-02-17 21:33JOTDNote Added: 0009587
2021-02-20 00:17WeplProjectWHDLoad => SWOS
2021-03-01 19:39FAirlaneNote Added: 0009671
2021-05-02 10:48PsygoreAssigned To => GalahadFLT
2021-05-02 10:48PsygoreStatusnew => assigned
2021-05-02 11:18GalahadFLTNote Added: 0010153
2021-05-02 11:29JOTDNote Added: 0010154
2021-05-02 11:29JOTDNote Edited: 0010154bug_revision_view_page.php?bugnote_id=10154#r1385
2021-05-02 11:34JOTDNote Edited: 0010154bug_revision_view_page.php?bugnote_id=10154#r1386
2021-05-02 13:22FAirlaneNote Added: 0010156
2021-05-02 23:42JOTDFile Added: SWOS9697_alpha.zip
2021-05-02 23:43JOTDNote Added: 0010164
2021-05-03 09:01FAirlaneFile Added: swos.jpg
2021-05-03 09:01FAirlaneNote Added: 0010167
2021-05-03 19:23JOTDNote Added: 0010172
2021-05-03 22:13FAirlaneNote Added: 0010173
2021-05-04 22:45JOTDNote Added: 0010201
2021-05-04 22:45JOTDAssigned ToGalahadFLT => JOTD
2021-05-04 22:45JOTDStatusassigned => confirmed
2021-05-04 22:46JOTDNote Edited: 0010201bug_revision_view_page.php?bugnote_id=10201#r1392
2021-05-04 22:46JOTDNote Edited: 0010201bug_revision_view_page.php?bugnote_id=10201#r1393
2021-05-04 23:34FAirlaneNote Added: 0010202
2021-05-04 23:53JOTDNote Added: 0010203
2021-05-06 23:05JOTDStatusconfirmed => closed
2021-05-06 23:05JOTDResolutionopen => fixed
2021-05-06 23:05JOTDRelationship addedduplicate of 0000003