Welcome, Guest. Please login or register.

Author Topic: Development of Tlsfmem as Memtlsf Allowed by Chris Hodge  (Read 5531 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AmigaMance

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: Development of Tlsfmem as Memtlsf Allowed by Chris Hodge
« Reply #14 from previous page: November 15, 2007, 03:54:37 AM »
@Bernd_afa
 If i have understood you correctly, you plan to convert highly optimized assembly code to blitzbasic? Hmm.. i'm not sure if this is a good thing but hey, it's better than nothing!
A1200 PPC user.
 

Offline unusedunusedTopic starter

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show only replies by unusedunused
Re: Development of Tlsfmem as Memtlsf Allowed by Chris Hodge
« Reply #15 on: November 15, 2007, 04:40:22 PM »
>No software can fill 256MB memory instantly.

i have a AMD64 3000+ with DUAL Channel DDR Ram and winuae.
sysspeed show me fast2fastm 828 Megabytes/sec

so in theory can be faster than wipeout and old mem system do ;-)

but you are right, i do a complete coldstart and verify and see wipeout with tlsfmem does not fill.

something i must add on todo list.it is important that the developers tools work 100% with memtlsf.

mungwall is faster sure, because it do not munge allocpooled and freepooled.

memfree on old AOS memallocater is very slow, so many programs use memory pools.

because poolmem was lots faster in praxis i change amiblitz to use mempools and here are find out that mungwall does not track mempool memory.

when i have tlsfmem in year 2000 then i save lots work -;)

but the algo is only found 2005

>If i have understood you correctly, you plan to >convert highly optimized assembly code to >blitzbasic?

i reassemble it to 68k asm code back, with in_go(aminet) and it stay asm.

but of course i use a modern graphical assembler ide where i can click on a jsr label and the editor jump to the label.this is important to navigate in unknwon programs that do many nestet jumps

so i develop memtlsf in amiblitz assembler.
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: Development of Tlsfmem as Memtlsf Allowed by Chris Hodge
« Reply #16 on: November 15, 2007, 08:53:15 PM »
Quote
it is important that the developers tools work 100% with memtlsf.

Yes!

Quote
memfree on old AOS memallocater is very slow,

Very true!


Quote
but of course i use a modern graphical assembler ide where i can click on a jsr label and the editor jump to the label.this is important to navigate in unknwon programs that do many nestet jumps

Amiblitz Assembler sounds awesome!
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline unusedunusedTopic starter

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show only replies by unusedunused
Re: Development of Tlsfmem as Memtlsf Allowed by Chris Hodge
« Reply #17 on: November 16, 2007, 05:24:48 PM »
>Amiblitz Assembler sounds awesome!

wy.C have too support of inline assembler code.

but in amiblitz it is much more easy to code in asm in basic code.

for example you can do
var = 40

move.l @var(a4),d0
add.l #10,d0
move.l d0,@var(a4)
print var
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: Development of Tlsfmem as Memtlsf Allowed by Chris Hodge
« Reply #18 on: November 16, 2007, 05:39:05 PM »
That is awesome!  Back when Blitz Basic first came out (1988?) I begged them for that feature!  But they would not do it for me.  :-(   I told them I would pay them $200.00 for that feature so I could just use Blitz Basic as my Assembler.  Oh well... 20 years waiting is better than never. :-)
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline unusedunusedTopic starter

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show only replies by unusedunused
Re: Development of Tlsfmem as Memtlsf Allowed by Chris Hodge
« Reply #19 on: November 18, 2007, 12:13:32 PM »
to mix very easy assembler and basic code was the first step done in amiblitz in when released 2001

this was necessary, because blitzbasic source was asm and in most part the fast asm speed is not necessary.

amiblitz use for new code basic and the old code stay in asm.

BTW: it is possible to test the amiblitz speed compare to c speed, when you download at www.hd-rec.de

if you do that with the existing CPU expensive effects as reverb, you can see that amiblitz sometimes is little faster sometimes little slower as gcc C.

to reach the speed amiblitz offer to load varibale to registers to avoid unescessary load of vars by bad compiler optimation.

for example

regload var1,var2,var3,var4
.....
calculation
.....
regsave var1,var2,var3,var4 ;//(if some values are changed)
 

Offline nicholas

Re: Development of Tlsfmem as Memtlsf Allowed by Chris Hodge
« Reply #20 on: April 27, 2013, 04:56:22 PM »
:bump:

What happened to this?  Did it ever get released?
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: Development of Tlsfmem as Memtlsf Allowed by Chris Hodge
« Reply #21 on: April 27, 2013, 10:14:08 PM »
As u know TLSFmem and MuGuardianAngel don't get along with each other.

Some years back I was discussing this with THOR and to make a long story short: MuGuardianAngel needs to be rewritten to "work the way TLSFmem works".    Currently MuGuardianAngel relies on deeply intricate inner workings of the plain old ancient AmigaOS memory management system.

It really sux that I have to keep nuking TLSFmem and rebooting my machine every time I want to run MuGuardianAngel.

In a perfect world I could run both MuGuardianAngel and TLSFmem all the time on my dev machine and speed up my bug-catching and bug-destroying.

Thor will not rewrite MuGuardianAngel.  So basically we need Bernd or we're all dead.

Help me Berndi-wan Kenobi, ur my only hope.  My only hope.
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA