![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Sparky
![]() Join Date: Mar 2017
Posts: 155
Downloads: 112
Uploads: 1
|
![]()
Currently the highest recorded ram allocated to SH3 on my machine is 3,893,000 KB any thing higher that that will just crash.Right now with ever increasing size of HD GUI,HD ship model,Sub interiors,Champaine file,Harbour traffic this is getting problematic.
How did the 4GB patch worked? Why getting larger that 4GB is difficult? |
![]() |
![]() |
![]() |
#2 | |
Grey Wolf
![]() Join Date: Jul 2011
Location: Verona, Italy
Posts: 927
Downloads: 1435
Uploads: 0
|
![]() Quote:
Probe explain.. Forgive my poor English.. Memory is divided into addresses. Each address corresponds to a byte, 8 bits. In 32bit processors, to compose each of these addresses the machine instructions use 2 registers, one register called selector and one called offset, the latter having a size of 32bit. 32-bit processors have 32-bit address registers. So at most they can address 2 ^ 32 bytes = 4GB. (simplified, non-technical and in-depth definition, just to try to explain the concept)
__________________
Parked under the balcony with my U-27 waiting Juliet finish makeup |
|
![]() |
![]() |
![]() |
#3 |
Ocean Warrior
![]() Join Date: May 2012
Location: In the sea, on land and above
Posts: 3,481
Downloads: 875
Uploads: 0
|
![]()
What about 64-bit systems?
__________________
![]() ![]() |
![]() |
![]() |
![]() |
#4 |
Grey Wolf
![]() Join Date: Jul 2011
Location: Verona, Italy
Posts: 927
Downloads: 1435
Uploads: 0
|
![]()
For 64bit depend by operative system example for windows 10 32 and 64 bit
32bit Windows 10 Pro for Workstation 32-Bit 4GB Windows 10 Education 32-Bit 4GB Windows 10 Pro 32-Bit 4GB Windows 10 Enterprise 32-Bit 4GB Windows 10 Home 32-Bit 4GB 64bit Windows 10 Home 64-Bit 128GB Windows 10 Pro 64-Bit 2TB Windows 10 Pro for Workstation 64-Bit 6TB Windows 10 Enterprise 64-Bit 6TB Windows 10 Education 64-Bit 128G see here: https://docs.microsoft.com/it-it/win...its-windows-10
__________________
Parked under the balcony with my U-27 waiting Juliet finish makeup |
![]() |
![]() |
![]() |
#5 |
Ocean Warrior
![]() Join Date: May 2012
Location: In the sea, on land and above
Posts: 3,481
Downloads: 875
Uploads: 0
|
![]()
Win 7
![]()
__________________
![]() ![]() |
![]() |
![]() |
![]() |
#6 |
Torpedoman
![]() Join Date: Nov 2010
Location: Zielona Góra, Poland
Posts: 116
Downloads: 72
Uploads: 0
|
![]()
SH3 was compiled from a high-level language as a 32-bit processor machine program, so it must have a 32-bit addressing limit, which is a number that corresponds to a positive unsigned number of 4GB.
If you still want SH3 to have access to more memory, you would have to decompile the machine code of all game modules into a high-level language such as C / C ++, and then recompile as machine code for a 64-bit processor taking into account the differences resulting from a slightly newer system API. That is, simplifying the system to make larger memory areas available at further addresses. Changing the width of a machine word in code is difficult enough with full reliable source code. Having the source code from decompilation, where all the objects have been broken down into procedures in practice, and their names and actions are incomprehensible because they are numbers in practice - creating 64-bit code is extremely difficult. Although theoretically possible. |
![]() |
![]() |
![]() |
|
|