English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 12 April 2021, 18:56   #1
KONEY
OctaMED Music Composer

KONEY's Avatar
 
Join Date: Jan 2009
Location: Venice - Italy
Age: 46
Posts: 533
DS.B to fill all available memory

Hello,

I wonder if there's a way to allocate all available ram to a buffer with a DC.B? Or any other method?

Thanks!
KONEY is offline  
Old 12 April 2021, 21:12   #2
ross
Defendit numerus

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 50
Posts: 3,241
Quote:
Originally Posted by KONEY View Post
Hello,

I wonder if there's a way to allocate all available ram to a buffer with a DC.B? Or any other method?

Thanks!
Raise your task priority, then do repeated AllocMem () (with big value), if if fail decrease memory request and repeat.
This give you in return the biggest memory chunk, so you have to repeat until it fail allocating even 8 bytes

With a dc.b directive in a non-fixed amount memory system is impossible

But WHY?!?
ross is offline  
Old 13 April 2021, 00:56   #3
KONEY
OctaMED Music Composer

KONEY's Avatar
 
Join Date: Jan 2009
Location: Venice - Italy
Age: 46
Posts: 533
I want to try to make a visual memory testing tool
KONEY 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
Blitter fill, nothing happens? deimos Coders. General 23 15 October 2019 14:41
Blitter Vertical Fill 71M Coders. Asm / Hardware 34 16 November 2017 22:31
Blitter fill problem mekhall Coders. Asm / Hardware 7 20 June 2016 00:04
80 GB HD to fill! fatboy Amiga scene 16 20 July 2011 14:13
Fill 'em Tim Janssen request.Old Rare Games 1 27 June 2003 09:25

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 12:04.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.07007 seconds with 15 queries