English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 31 July 2017, 04:04   #1
NorthWay
Registered User
 
Join Date: May 2013
Location: Grimstad / Norway
Posts: 391
Testers wanted (file attached)

DON'T USE THIS - BROKEN! (Might try fixing.)
I started hacking this 15 years ago (before I was lost to World of Warcrack) and now I have finally completed it.
This is probably one of the grosser hacks around and I know it makes my machine flaky, so don't try unless you are specially interested. Perhaps assemble the code yourself or just peruse it and do a facepalm or two as you shudder at it.

It will fall over mightily if you use some sort of Angel tool.

Oh yes, what it is: It relocates the free memory lists from chipmem to fastmem, hence hopefully making faster allocs of chipmem.
At some point I thought that could be a nice win. After having tested I'm a bit disappointed. I'll probably not use it until I bake it into a version of GuardianAngelRemix.

(As for the flaky part, suddenly the screen just goes grey (i.e. background colour is all you see). I might need that GAR version to see if there are any funky hits happening.)
Attached Files
File Type: zip FasterChipmemAlloc.zip (3.4 KB, 23 views)

Last edited by NorthWay; 01 August 2017 at 09:17. Reason: broken!
NorthWay is offline  
AdSense AdSense  
Old 31 July 2017, 13:44   #2
ross
Omnia fert aetas

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 47
Posts: 551
Quote:
Originally Posted by NorthWay View Post
At some point I thought that could be a nice win. After having tested I'm a bit disappointed. I'll probably not use it until I bake it into a version of GuardianAngelRemix.
Hi NorthWay, the idea is good but, as you have written in source, need to be 'integrated' in Alloc function to be effective.
The SetFunction overlay make all advantages disappear

Cheers,
ross
ross is offline  
Old 01 August 2017, 01:40   #3
NorthWay
Registered User
 
Join Date: May 2013
Location: Grimstad / Norway
Posts: 391
I have to patch TypeOfMem() too. Perhaps that is the flaky part.

A synthetic test loop showed it being 2-3x faster for chipmem. I didn't test the slowdown for fastmem.

UPDATE: Still buggy. Thinking.
UPDATE2: Major facepalm moment. This is absolutely not working. All FreeMem() calls will add the chipmem back to fastmem! To make it work it has to either split the original fastmem into two regions with the fast-chip part taken out, or you have to take over all the memory functions and integrate it into the core. Can we just have some new hw with faster chipmem plixxors?

Last edited by NorthWay; 01 August 2017 at 09:24. Reason: update2
NorthWay is offline  
Old 01 August 2017, 13:59   #4
ross
Omnia fert aetas

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 47
Posts: 551
Quote:
Originally Posted by NorthWay View Post
..or you have to take over all the memory functions and integrate it into the core.
This

Bye,
ross
ross is offline  
Old 01 August 2017, 18:17   #5
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 708
As far as I remember, the MemChunk struct is part of the "free" memory block itself, so this can't work without rewriting the whole memory allocation system (and breaking a lot of third party software in the process, I fear).
hooverphonique is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two Beta Testers wanted for my windows project. Worf support.Other 1 04 February 2017 22:13
Name of Amiga Game wanted (Soundtrack attached) strellson Retrogaming General Discussion 5 25 January 2016 01:44
Real Hardware Testers Wanted! jimmy2x2x Coders. Asm / Hardware 27 11 December 2015 23:30
WinUAE Crashes (Attached DMP and CFG file) Hache support.WinUAE 30 30 December 2013 09:22
Wanted: Beta Testers BippyM project.Amiga Demo DVD 51 12 April 2005 07:01

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 13:30.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.15371 seconds with 15 queries