08 October 2018, 18:08 | #1 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,212
|
Differences between slow & fast ram giving 103 error
Not sure if this is the right place to post this query...
Anyway, I have an exe with some code,code_f,data & data_f sections It is giving a 103 error in WinUAE with 1/2 meg chip and 1 meg fast ram But it is loading fine with 1/2 meg chip & 1/2 meg slow ram What could cause this difference of behavour ? I am not very clued up on AmigaDos stuff really |
08 October 2018, 19:01 | #2 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,476
|
Hi Dan, this is strange..
You sure there isn't some _c sections? Can you upload somewhere the exe? (can suffice only the header if you want) There is no difference between slow(ranger) RAM and real fast RAM if you use the _f bit on exe header (the memory with the highest priority is used first if there are both). |
08 October 2018, 21:59 | #3 | |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,979
|
Quote:
|
|
08 October 2018, 22:25 | #4 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,212
|
ah.. my mistake... I use code and data and data_c only
|
08 October 2018, 22:35 | #5 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
That doesn't really make sense. Are there any other differences in the WinUAE configurations? Or do you really only change the RAM settings?
|
08 October 2018, 22:40 | #6 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,476
|
Ok, then it is possible that it happens.
The reason is that in some configurations the supervisor stack, and/or exec.library and the expansion.library can be located in chip mem (especially configuration with fast ram not autoconfig). Even with that little difference some exes that require a lot of chip-ram give error 103. |
08 October 2018, 22:56 | #7 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,212
|
Ok.. that makes sense
I have a 224k chip ram "area" reserved, that I allocate within using my own memory allocator And there is around 160k for the music module too so It's about 384k chip ram used. |
08 October 2018, 23:27 | #8 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,476
|
With KS1.3 512KB chip-ram, Z2 RAM, DF1 online, you've ~420KiB usable (just checked )
It's the worst situation, you've supervisor stack, exec and expansion in chip ram. |
09 October 2018, 10:02 | #9 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,212
|
So this is probably it... chip mem usage causing the 103 on fast ram configs
Need to optimise chip mem sections and try to reduce to under 420k It should be around 385k as noted above, but there could be some stray section in another coders part... I will investigate.. |
09 October 2018, 10:30 | #10 | |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,979
|
Quote:
|
|
09 October 2018, 10:51 | #11 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,212
|
There is a stray (unaccounted for) 58608 byte chip section that I can't currently locate
This is the issue |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A2000 fast ram error above 2MB | ppieczul | support.Hardware | 1 | 22 April 2018 16:43 |
Slow/Fast RAM difference | Galaxy | support.Hardware | 4 | 15 December 2017 21:21 |
ClassicWB issues & Fast RAM | Clym5 | support.Hardware | 8 | 18 March 2015 12:14 |
AmigaOS 3.9 BB ROM Update Error & Ram-Handler Not Updating 44.24 | crazyegg | support.Apps | 23 | 10 November 2010 21:03 |
What means ERROR 103? | Unregistered | support.Hardware | 5 | 12 January 2002 15:44 |
|
|