English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 29 October 2014, 00:22   #1
whitebird
Registered User
 
Join Date: May 2006
Location: France
Age: 48
Posts: 211
Protracker and chip ram

Hello,

When I load a module with protracker it goes in chipram by default. How make it load in fastram?

When a module is in chipram, it should use less CPU power because the samples can be played through the use of DMA (however with some CPU processing) but chip ram is not big enough for some modules.
whitebird is offline  
Old 29 October 2014, 10:37   #2
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
I don't think ProTracker ever supported this. If you're not dependent on PT then try Octamed, it can put all data in fastram, and is probably a more solid and competent tracker than PT.
Leffmann is offline  
Old 29 October 2014, 12:34   #3
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
Leffmann is right. Even the non-mixed MED modules would "scatter load" the data so that only the samples were in Chip RAM and the rest were not.
Samurai_Crow is offline  
Old 29 October 2014, 13:11   #4
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
With 2MB chip and some fastram all protracker modules should fit (load) into chipram. If you haven`t 2MB chip, then upgrade. If you just want to playback protracker modules use a modplayer like HippoPlayer.
daxb is offline  
Old 05 November 2014, 17:23   #5
whitebird
Registered User
 
Join Date: May 2006
Location: France
Age: 48
Posts: 211
OK, thank you for your replies.

I have 2MB of chipram the problem is that with WB3.9, 256 display eats some chip RAM and you have only 1.2MB left.
whitebird is offline  
Old 05 November 2014, 17:34   #6
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
You can start Portracker direct if you like to get the max. chipram free. There is no WB needed to launch first. For example I use KeyPressed (Aminet) to launch (just hold a key at boot time) some Software like Protracker.
daxb is offline  
Old 05 November 2014, 18:35   #7
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,644
Quote:
Originally Posted by whitebird View Post
OK, thank you for your replies.

I have 2MB of chipram the problem is that with WB3.9, 256 display eats some chip RAM and you have only 1.2MB left.
Tips:
- Don't use Workbench.
- Use FBlit so you load the WB garbage into Fast RAM instead.
Amiga1992 is offline  
Old 18 June 2018, 12:51   #8
RiP
Q
 
Join Date: Feb 2017
Location: CD0:
Posts: 139
I have the same problem too, wish PT could use Fast RAM too =/
RiP is offline  
Old 18 June 2018, 14:59   #9
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
If you want to use Protracker then start it without startup-sequence to get all the chipram available. If you just want to play PT mods from WB then use a mod player that can use fastram to load the mods.
daxb is offline  
Old 22 June 2018, 11:17   #10
RiP
Q
 
Join Date: Feb 2017
Location: CD0:
Posts: 139
Thanks for reply, OctaMED solved the problem
RiP is offline  
Old 26 June 2018, 16:25   #11
8bitbubsy
Registered User
 
8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,708
Pfft, that's not a real solution to the problem. The real solution is to conserve as much chipmem as possible in Workbench, by installing hacks like FBlit/FText, like Akira pointed out. Also don't use a wallpaper with loads of bitplanes/colors, and eventually use screenmodes with 4-8 colors. It's worth it in the end. Being able to load those big .mods in PT (and other trackers) is a much bigger gain then spicing up your already outdated desktop system in my opinion, but we're all different.

Anyways, the samples need to be in chipmem so that Paula can get data from DMA. It's the samples that take up the most space, not the rest. A .mod without samples is 1084+(numPatterns*1024) long, and numPatterns can be anywhere from 1 to 64 (or 100 in PT2.1x+). E.g. a standard .mod with 100 patterns is just 103kB(+samples), and most modules have WAY fewer patterns than that.
8bitbubsy is offline  
Old 26 June 2018, 19:49   #12
BastyCDGS
Registered User
 
Join Date: Nov 2015
Location: Freiburg / Germany
Age: 44
Posts: 200
Send a message via ICQ to BastyCDGS
Quote:
Originally Posted by whitebird View Post
When I load a module with protracker it goes in chipram by default. How make it load in fastram?

When a module is in chipram, it should use less CPU power because the samples can be played through the use of DMA (however with some CPU processing) but chip ram is not big enough for some modules.
In order to give a good reply to this, it would be good to know what is your goal? Is it just simple playback of those modules? Or do you want to edit them, too?

The reason why I ask is that in the former case there are way a lot more possibilities. You could use HippoPlayer (if I remember recorrectly, it supported playbkack from Fast RAM).
There are also trackers which can utilize Fast RAM.

Also, are you using emulation or real Amiga? If emulation, you can just use 32-bit chipram or simply boost to 8MB. If real Amiga, which one and what configuration?

Anyway, the absolute maximum you can get is create a special disk for ProTracker and using tools like add21k (removes one bitplane from WB screen), start protracker with Run <NIL: >NIL: and endcli afterwards.

Also don't forget the fact, that a lot of trackers and module players load the module in one chunk of memory. So also consider largest free memory block. Modules often fail to load because of this due to fragmented memory.

I have written long time ago a command line ProTracker/NoiseTracker/SoundTracker player, which loads all non-sample data to fast RAM, if available and allocates one chunk of memory for each sample instead, allowing to load large modules with fragmented chip memory.

If you are interested in this, I can release it publically.
Player runs on stock A500 with KS1.2+. Is command line based and supports wait for end song, pitch/speed changing and stuff like master volume.
BastyCDGS is offline  
Old 26 June 2018, 20:06   #13
BastyCDGS
Registered User
 
Join Date: Nov 2015
Location: Freiburg / Germany
Age: 44
Posts: 200
Send a message via ICQ to BastyCDGS
Quote:
Originally Posted by whitebird View Post
OK, thank you for your replies.

I have 2MB of chipram the problem is that with WB3.9, 256 display eats some chip RAM and you have only 1.2MB left.
Sorry, did notice this too late.
If you use a real Amiga, you could boot without executing startup-sequence and cd into ProTracker dir and run it. Hold both mouse buttons pressed after rebooting / turning on the computer.

You can also create a startup menu by editing S:Startup-Sequence which runs ProTracker directly or only if you hold left mouse button pressed while booting. Include execution of add21k and alike as explained in my previous post.

Should give you almost 2MB free of chip.
BastyCDGS is offline  
Old 29 June 2018, 19:06   #14
BastyCDGS
Registered User
 
Join Date: Nov 2015
Location: Freiburg / Germany
Age: 44
Posts: 200
Send a message via ICQ to BastyCDGS
Just for information.

I released the mentioned mod player just on Aminet, feel free to download. Includes Devpac source.

http://aminet.net/package/mus/play/cdgs_bastyplayer

Maybe it will help the chip RAM issue a little bit.

If you have questions or trouble with the player, just ask...
BastyCDGS 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
Where does all my Chip RAM go? Mrs Beanbag support.Other 25 23 June 2014 13:04
How 2MB chip ram with the Mini Megi Chip? Antti support.Hardware 6 04 June 2014 20:54
A600 multi-upgrade (Chip RAM + Fast RAM + ROM + IDE2CF) Astrofra Hardware pics 15 18 February 2014 21:27
chip ram gone source support.Hardware 6 17 February 2014 08:55
[SAS/C] Making malloc() allocate in fast RAM instead of chip RAM? 8bitbubsy Coders. General 3 07 August 2011 07:06

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

Top

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