English Amiga Board    


Go Back   English Amiga Board > » Requests > request.UAE Wishlist

Reply
 
Thread Tools
Old 14 July 2012, 09:54   #1
BlankVector
Registered User
 
Join Date: Jun 2012
Location: Paris, France
Posts: 82
Send a message via MSN to BlankVector
Z3 Fast safeguards

Hello.

This is about WinUAE 2.4.1.
I encountered trouble with Z3 Fast settings reported there.
So here is my wish list to improve the user experience.

1) Tell the user explicitly when VirtualAlloc() fails, with an error MessageBox. Something like "Your system does not have enough memory for the amount of Z3 Fast you asked for. Please decrease your Z3 Fast settings.".
Currently, if VirtualAlloc() fails, there is only a trace in the debug log, the user will probably not see it. Then the Z3 Fast is silently disabled, the user does not understand why there is no Z3 RAM at all. This is confusing.

2) It has been said that WinUAE is not able to increase the Z3 Fast size "on the fly", that is to say when starting emulation and pressing F12 afterwards, then Reset. This is an acceptable limitation, but the UI should not suggest that it is possible. Especially, pressing F12 and increasing the Z3 Fast size silently fails, this is not acceptable.
I propose the following: when F12 is pressed (by opposition to fresh startup), forbid the user to increase Z3 Fast to more than the initial value wich were used at startup. Or simpler, just gray out the Z3 Fast slider when F12 is pressed.
BlankVector is offline   Reply With Quote
Old 14 July 2012, 14:23   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,938
Do you have some use case where you need to change memory size on the fly?

1: Simple "halve size of memory, try again and so on.." can be done. (instead of just setting memory size to zero)

2: Approximate available memory space can be added to GUI (approximate because there can be "empty" space between different memory types)

(Actually I already did above changes..)
Toni Wilen is offline   Reply With Quote
Old 14 July 2012, 14:29   #3
BlankVector
Registered User
 
Join Date: Jun 2012
Location: Paris, France
Posts: 82
Send a message via MSN to BlankVector
Quote:
Originally Posted by Toni Wilen View Post
Do you have some use case where you need to change memory size on the fly?
I'm making experiments with Fast RAM on EmuTOS. The amount of detected Fast RAM is always displayed on the EmuTOS welcome screen. So with WinUAE it is very easy to make tests: press F12, change the amount of Z3 RAM, reset, see the result... very handy.

Quote:
Originally Posted by Toni Wilen View Post
1: Simple "halve size of memory, try again and so on.." can be done. (instead of just setting memory size to zero)
Very good, thanks.
BlankVector is offline   Reply With Quote
Old 14 July 2012, 14:36   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,938
Quote:
Originally Posted by BlankVector View Post
I'm making experiments with Fast RAM on EmuTOS. The amount of detected Fast RAM is always displayed on the EmuTOS welcome screen. So with WinUAE it is very easy to make tests: press F12, change the amount of Z3 RAM, reset, see the result... very handy.
I hope you use autoconfig instead of poking around or there will be big surprises when using real Amigas..

UAE likes to put it at 0x10000000, AmigaOS on the other hand likes to start from 0x40000000 and there is some hackery to "move" it lower..
Toni Wilen is offline   Reply With Quote
Old 14 July 2012, 14:44   #5
BlankVector
Registered User
 
Join Date: Jun 2012
Location: Paris, France
Posts: 82
Send a message via MSN to BlankVector
Quote:
Originally Posted by Toni Wilen View Post
I hope you use autoconfig instead of poking around
Of course.

I found the excellent Expansion implementation in AROS sources which perfectly fits my needs, no trouble there. It works perfectly for both Z2 and Z3 Fast RAM

Quote:
Originally Posted by Toni Wilen View Post
1: Simple "halve size of memory, try again and so on.." can be done. (instead of just setting memory size to zero)
I'm afraid I misunderstood this answer on my first read.
My initial complain was about the user not being informed when his settings are not respected. If your new code silently truncates down the configured RAM to some random value, it is not much better than 0.
The user must be informed about what is going on.
BlankVector is offline   Reply With Quote
Old 14 July 2012, 14:50   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,938
Quote:
Originally Posted by BlankVector View Post
The user must be informed about what is going on.
WinUAE never says anything (excluding possible logging) if there are configuration conflicts, it always have and always will silently "fix" them. Sorry.

Just check the log (or log console window) to see exactly right values.
Toni Wilen is offline   Reply With Quote
Old 19 July 2012, 20:48   #7
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,938
Perhaps full Z3/MegaChip/RTG memory adjustment on the fly is possible after all.

Some rewriting needed to do before next beta. Of course it is also possible it can't be stable enough (for example it can cause other unexpected side-effects if "too much" virtual space is reserved on some Windows setups..)

(btw, Z3 changes only work accidentally, for example it totally breaks if RTG also changes..)
Toni Wilen is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio going too fast spannernick support.WinUAE 1 23 May 2012 11:11
Use of 4MB PCMCIA Fast Flash Memory as Fast RAM in A1200 nkarytia support.Hardware 10 16 September 2011 13:37
Look ma, no Fast RAM! tnt23 Hardware pics 17 14 March 2010 06:09
Apollo 1260 32MB FAST or Blizzard 1260 64MB FAST? prart support.Hardware 36 19 June 2008 00:23
32-bit FAST RAM vs. ZII FAST RAM polbit support.Hardware 16 28 January 2007 20:16


All times are GMT +2. The time now is 08:44.

-->

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Page generated in 0.16310 seconds with 11 queries