English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 07 July 2016, 07:05   #1
ShK
Registered User
 
ShK's Avatar
 
Join Date: Mar 2013
Location: Lahti / Finland
Age: 52
Posts: 447
How to load program into fixed memory area

Is there any tool for AOS3 which can allocate the given memory address and load any program in there?
ShK is offline  
Old 07 July 2016, 09:07   #2
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,986
Why do you need to do this? When possible it is best to avoid it if you can.

Of course if you have no choice, you could always use an absolute cruncher which will pack an Amiga exe file to a specific memory address, but this is only advisable for a program that kills the OS.

Crunchmania is decent enough and will do this.
Galahad/FLT is offline  
Old 07 July 2016, 09:41   #3
demolition
Unregistered User
 
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 43
Posts: 4,190
Can you demand a specific memory address when allocating memory from the OS?

Of course, it may already be occupied by something else unless it is some special memory type, e.g. something that is hidden and has not been added to the system pool. But in that case, you cannot use the OS to allocate that memory, but it should not damage the running system if you just use it directly since the system would never access it.
demolition is offline  
Old 07 July 2016, 09:46   #4
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
Quote:
Originally Posted by demolition View Post
Can you demand a specific memory address when allocating memory from the OS?
You can use the AllocAbs function for this purpose.
meynaf 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
How to shrink an area of reserved memory Mrs Beanbag Coders. System 4 05 July 2013 22:35
External windows program communicating with program running inside WinUAE xxxxx support.WinUAE 10 19 February 2013 09:27
Best program to test memory? Mustangjeff support.Hardware 5 05 October 2012 07:43
For a beginner what Program and Program language would you recommend? amigang New to Emulation or Amiga scene 5 27 March 2012 13:06
Calling another program from a compiled Amos program...? andyr support.Apps 3 24 October 2004 23:47

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 15:45.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07117 seconds with 13 queries