English Amiga Board

Go Back   English Amiga Board > Other Projects > project.WHDLoad

Thread Tools
Old 10 December 2018, 23:53   #1

E-Penguin's Avatar
Join Date: Jul 2016
Location: Darmstadt
Posts: 871
Using Fast RAM added with AddMem?

Short version - WHDLoad doesn't appear to see Fast ram added via AddMem. "Can't allocate ExpMem". Is this expected?

Long version:
You'll have to bear with me on this while I explain how I got here...

I have a A500+ with an A590 hdd/ram expansion, with 2MB in it. I want to use it for WHDLoad gaming, and I realise it would be better with 4MB fast, or more.

There's a guy on amibay selling 68k-socket RAM expansions, which sort-of support autoconfig but don't support the chaining, so when I try to use one it makes my A590 not work, which rather defeats the whole purpose of trying to get games running from the harddisk.

It's possible to disable the autoconfig on the 68k-socket RAM, and the guy selling them would do me a 4MB version starting at 0x600000, which I could then add with AddMem. I tried to do it myself but got bogged down in not understanding HDL and didn't progress much further.

Before splashing out on new hardware I thought I'd try it in WinUAE. I started up a bog-standard A500+ config, 2Mb Chip, A590+2Mb Chip, and 4Mb non-autoconfig RAM in the Z2 space. AddMem adds the memory and using MemCheck & SysInfo I can see that it is indeed working in that it can be written to / read from.

Only, when I start "The Settlers" slave (latest from retroplay, WHDLoad 18.3) it fails with "Can't allocate ExpMem".

I have tried disabling PRELOAD, and setting ChipExp but neither made any difference.

I wondered if having non-contiguous Fast ram blocks was the issue, but when I move it to 0x200000 (at the end of the A590's autoconfig ram) still doesn't work.

I then wondered if having blocks split across two memory devices was the problem, so I disabled the ram on the A590 entirely and set up the winuae config to have 8Mb non-autoconfig fast which I add through AddMem. No dice - "Can't allocate ExpMem".

I'm left to conclude that WHDLoad can't see/use memory added through the AddMem command.

Any ideas?
E-Penguin is offline  
Old 12 December 2018, 22:17   #2
Wepl's Avatar
Join Date: Nov 2001
Location: Germany
Posts: 694
WHDLoad sees all memory, no matter how it was added to the system.
Settlers is just a bad test object because it needs 4352 MiB of extra memory (which is required as a single free chunk). Don’t know if there is any other install which requires that much memory too. I think 98% of the installs should work with 4 MiB fast memory.
You can check for individual memory requirements at the web-page under ‘WHDLoad Slave information’. There is listed Chip and Expansion memory. Some additional memory is required for os, whdload, slave.

Last edited by Wepl; 27 December 2018 at 13:30.
Wepl is offline  
Old 14 December 2018, 21:22   #3

E-Penguin's Avatar
Join Date: Jul 2016
Location: Darmstadt
Posts: 871
Ah thanks, it was the single chunk requirement that was causing the issue. Having 2MB @ 0x200000-3FFFFF and 4MB @ 0x600000 - 9FFFFF wasn't doing the job.
E-Penguin 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
A600 multi-upgrade (Chip RAM + Fast RAM + ROM + IDE2CF) Astrofra Hardware pics 15 18 February 2014 22:27
Use of 4MB PCMCIA Fast Flash Memory as Fast RAM in A1200 nkarytia support.Hardware 10 16 September 2011 14:37
Added SIMM to ZIP adapter, now 16MB Fast RAM tonyyeb support.Hardware 18 01 September 2008 11:59
A500 doesn't boot when 512k ram added! memothejanitor support.Hardware 1 25 June 2007 11:51
32-bit FAST RAM vs. ZII FAST RAM polbit support.Hardware 16 28 January 2007 21:16

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 02:53.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.07618 seconds with 12 queries