Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
|
|
|
|
 |
hardware OS4 : TLFSmem ok to be developped further as memtlsf |
posted by bernd_afa on 13-Nov-2007 16:29:40 (3766 reads) |
I have been given permission by Chris Hodges to reassemble and release TLSFmem, and to rename it and add a remark in the readme.
Currently I have noticed some enforcer hits and crashes happen when running Wipeout 2097 (68k memtracker) and when quitting AmigaAmp.
When starting YAM 2.4p1, this too causes some enforcer hits to occur. I am not 100% sure if that is down to a bug in YAM or TLSFmem yet.
In an email, Chris informed me that he has not looked to make any fixes, so I will wait until December to see if maybe that situation will change. If not, I will begin to reassemble it.
That is possible, blitzbasic code is too reassemble.
If you can reproduce any problems with TLSFmem, please let me know. The more bad situations that happen, the easier it is to find the problem.
Finally, I would like to ask if any other AOS developers can help here too, particularly with the enforcer hits caused by YAM are shown below:
Enforcer Hit! Bad program Illegal WORD WRITE to: 65adadc6 PC: 10030ef2 Data: badedeec 0000000e 00000018 6db5b5cd f7f7f7f7 00000000 109d6f64 00000022 Addr: 100407c8 f7f7f7f7 10ab2e14 109d6f5c 109ba9e8 109d6f64 10000868 10ab2dd8 Stck: 10030ef2 109ba9e8 109d6f5c 10ab2e14 badedeec 0000000f 00000030 109d6f5c Stck: 100407c8 0000000f 00000030 00f835c4 10000868 109d6f7c 10ab2e14 715f0041 Stck: 00000004 109b5428 10030a6e 100a8034 10ab2dcc 0000001e 00000400 0000010c Stck: 10030f0c 10ab2dcc 10961be0 00000000 00000001 0000001e 100a6ce0 0000002e Stck: 100a6d40 00000001 109b52a0 00000000 10ab2d8c 1109f084 100a6c14 00000012 ----> 10030ef2 - "tlsfmem" Hunk 0000 Offset 0000083a ----> 109ba9e8 - "AmigaAMP" Hunk 0004 Offset 00000000 ----> 109b5428 - "h0:w-pr/Enforcer/Wipeout/Wipeout" Hunk 0000 Offset 00000520 ----> 10030a6e - "tlsfmem" Hunk 0000 Offset 000003b6 ----> 10030f0c - "tlsfmem" Hunk 0000 Offset 00000854 ----> 109b52a0 - "h0:w-pr/Enforcer/Wipeout/Wipeout" Hunk 0000 Offset 00000398 10030eda : 2669 fffc MOVEA.L (A1, -$0004) == $f7f7f7f3,A3 10030ede : c749 EXG.L A3,A1 10030ee0 : 2011 MOVE.L (A1),D0 10030ee2 : 0240 fffc AND.W #$fffc,D0 10030ee6 : d680 ADD.L D0,D3 10030ee8 : 91a8 001c SUB.L D0,(A0, $001c) == $100407e4 10030eec : 6100 ff56 BSR.W #$ff56 10030ef0 : 6122 BSR.B #$00000022 10030ef2 : * 2389 38fc MOVE.L A1,(A1, D3.L*1, $fffffffc) == $65adadc0
10030ef6 : 2003 MOVE.L D3,D0 10030ef8 : 0071 0001 3802 OR.W #$0001,(A1, D3.L*1, $02) == $65adadc6 10030efe : 5483 ADD.L #$00000002,D3 10030f00 : d1a8 001c ADD.L D0,(A0, $001c) == $100407e4 10030f04 : 2283 MOVE.L D3,(A1) 10030f06 : 6100 ff3c BSR.W #$ff3c 10030f0a : 6150 BSR.B #$00000050 10030f0c : 4cdf 0c1c MVMEL.L #$0c1c,(A7)+ Name: "AmigaAMP"
Enforcer Hit! Bad program Illegal LONG WRITE to: 65788e21 PC: 10ecc7fe Data: 00000004 deadf00d 10fee6aa 00000078 00000020 00000021 00000000 7fffe2a3 Addr: 657870c5 65788e25 65787065 657870c5 11d4b308 00000000 657870a5 11d4b2b4 Stck: 00000038 7fffffff 00000020 10ece782 10000868 10000868 00000000 65787065 Stck: 00000000 11d4b310 badedeed 00020202 00a6a620 01000000 000ab2fc 00028000 Stck: 00a689b8 20000868 ffff00e0 0008d0d8 00010000 00000008 00000000 00ecd9dc Stck: ffff0868 0000e178 10000001 10f74fd2 10000868 1103c310 10eed320 10c5d6b0 Stck: 11d4b278 00000048 00000000 00000001 00000000 10eca75c 10eed320 10eca4dc ----> 10ecc7fe - "h0:w-pr/Enforcer/Wipeout/Wipeout" Hunk 0000 Offset 000027a6 ----> 10ece782 - "h0:w-pr/Enforcer/Wipeout/Wipeout" Hunk 0000 Offset 0000472a ----> 10f74fd2 - "LIBS:muimaster.library" Hunk 0000 Offset 00005b0a ----> 10eca75c - "h0:w-pr/Enforcer/Wipeout/Wipeout" Hunk 0000 Offset 00000704 ----> 10eca4dc - "h0:w-pr/Enforcer/Wipeout/Wipeout" Hunk 0000 Offset 00000484 10ecc7ec : 4e75 RTS.L 10ecc7ee : 4e71 NOP.L 10ecc7f0 : 594f SUBA.W #$00000004,A7 10ecc7f2 : 2f07 MOVE.L D7,-(A7) 10ecc7f4 : 2e00 MOVE.L D0,D7 10ecc7f6 : 2f41 0004 MOVE.L D1,(A7, $0004) == $11d4b2b8 10ecc7fa : 2248 MOVEA.L A0,A1 10ecc7fc : 6006 BT .B #$00000006 10ecc7fe : * 22ef 0004 MOVE.L (A7, $0004) == $11d4b2b8,(A1)+ 10ecc802 : 5987 SUB.L #$00000004,D7 10ecc804 : 7004 MOVE.L #$00000004,D0 10ecc806 : be80 CMP.L D0,D7 10ecc808 : 62f4 BHI.B #$fffffff4 10ecc80a : 7000 MOVE.L #$00000000,D0 10ecc80c : be80 CMP.L D0,D7 10ecc80e : 630c BLS.B #$0000000c 10ecc810 : 41ef 0004 LEA.L (A7, $0004) == $11d4b2b8,A0 Name: "YAM"
|
|
|
|
| STORYID: 4058
|
Poster | Thread | pixie
 |  |
Re: TLFSmem ok to be developped further as memtlsf Posted on 13-Nov-2007 21:52:18
| | [ #1 ] |
| |
 |
Elite Member  |
Joined: 10-Mar-2003 Posts: 3437
From: Figueira da Foz - Portugal | | |
|
| | Status: Offline |
| | Petah
|  |
Re: TLFSmem ok to be developped further as memtlsf Posted on 13-Nov-2007 22:27:31
| | [ #2 ] |
| |
 |
Regular Member  |
Joined: 10-Mar-2003 Posts: 433
From: EU <3 ❤️ | | |
|
| ... yet another software announcement that totally fails to address new users. Not even a simple link to another resource explaining more is provided.
General request to people reaching their target audience thru AmigaWorld.net - please show your users the courtesy of not expecting they know your software just as well as you do. You are encouraged to write a brief description of what your program or project does. Try to uphold at certain level of quality in your posts. _________________ That'll Put Marzipan In Your Pie Plate, Bingo 💻 Pro-Amiga, 🌍 Pro-Globalism, 🍅 Pro-Vegan, 🛦 Pro-NATO & 🇪🇺 Pro-Joint EU Defense Intervention Initiative
|
| Status: Offline |
| | Laser
|  |
Re: TLFSmem ok to be developped further as memtlsf Posted on 13-Nov-2007 22:43:11
| | [ #3 ] |
| |
 |
Regular Member  |
Joined: 19-Jul-2003 Posts: 333
From: Norwich, UK | | |
|
| Quote:
yet another software announcement that totally fails to address new users |
Not just new users. I'm an Amiga user of over 15 years, and *I* don't even know what the app. is!
It's good to see stuff resurrected, great to see people doing something constructive, but please give a brief layman's description of what stuff is with an announcement. It's getting to be like Linux-land around here otherwise! |
| Status: Offline |
| | tomazkid
 |  |
Re: TLFSmem ok to be developped further as memtlsf Posted on 13-Nov-2007 23:06:06
| | [ #4 ] |
| |
 |
Team Member  |
Joined: 31-Jul-2003 Posts: 11694
From: Kristianstad, Sweden | | |
|
| Quote:
... yet another software announcement that totally fails to address new users. Not even a simple link to another resource explaining more is provided. |
Valid point. I was going to ask for some links, but then the news item was approved already, oh well, my own fault for not notifying the rest of staff.
@Anyone Please PM me or someone else in aw.net staff with links to add to this news item. _________________ Site admins are people too..pooff!
|
| Status: Offline |
| | AmiKit
 |  |
Re: TLFSmem ok to be developped further as memtlsf Posted on 14-Nov-2007 6:55:38
| | [ #5 ] |
| |
 |
Super Member  |
Joined: 18-Jul-2004 Posts: 1139
From: Europe | | |
|
| | Status: Offline |
| | pixie
 |  |
Re: TLFSmem ok to be developped further as memtlsf Posted on 14-Nov-2007 9:59:12
| | [ #6 ] |
| |
 |
Elite Member  |
Joined: 10-Mar-2003 Posts: 3437
From: Figueira da Foz - Portugal | | |
|
| | Status: Offline |
| | bernd_afa
|  |
Re: TLFSmem ok to be developped further as memtlsf Posted on 14-Nov-2007 10:11:36
| | [ #7 ] |
| |
 |
Cult Member  |
Joined: 14-Apr-2006 Posts: 829
From: Unknown | | |
|
| Tlsfmem is a tlsf memory allocater that avoid that memory is fragment after long on time of your amiga and so avoid slowdown
it is faster than original memallloc when use long time your amiga.
When developer use memtracker tools (wipeout) it give always a speedup.
Chris Hodges have develop it but pab on german page begin to troll against it and Chris add in the readme and FAQ some words against pab. german anews does not release this news and Chris Hodges is demotivate about that and stop developing and he answer to my bugreport, that he do not search for fixes (see enforcer Hits)
The source he dont want give, but the ok to reassamble it and release bugfixed versions.
reads here about TLSF
http://rtportal.upv.es/rtmalloc/
For AROS tlsfmem cant use, because it is 68k asm code when reassamble. Also original source is written in asm stand in tlsf mem readme Last edited by bernd_afa on 14-Nov-2007 at 10:16 AM. Last edited by bernd_afa on 14-Nov-2007 at 10:14 AM.
|
| Status: Offline |
| | pixie
 |  |
Re: TLFSmem ok to be developped further as memtlsf Posted on 14-Nov-2007 11:39:52
| | [ #8 ] |
| |
 |
Elite Member  |
Joined: 10-Mar-2003 Posts: 3437
From: Figueira da Foz - Portugal | | |
|
| @bernd_afa: Quote:
For AROS tlsfmem cant use, because it is 68k asm code when reassamble. Also original source is written in asm stand in tlsf mem readme |
Strong words you say. AmigaOS was also 68k assembler and look at where AROS is today... should that be no stop for you my friend!  _________________ Indigo 3D Lounge, my second home. The Illusion of Choice | Am*ga
|
| Status: Offline |
| | Laser
|  |
Re: TLFSmem ok to be developped further as memtlsf Posted on 14-Nov-2007 12:54:13
| | [ #9 ] |
| |
 |
Regular Member  |
Joined: 19-Jul-2003 Posts: 333
From: Norwich, UK | | |
|
| @bernd_afa
Quote:
Tlsfmem is a tlsf memory allocater that avoid that memory is fragment after long on time of your amiga and so avoid slowdown |
Thanks for the explanation. It sounds like a potentially useful tool. Please continue your work to make it available again. |
| Status: Offline |
| | _Steve_
 |  |
Re: TLFSmem ok to be developped further as memtlsf Posted on 14-Nov-2007 20:45:49
| | [ #10 ] |
| |
 |
Team Member  |
Joined: 17-Oct-2002 Posts: 6821
From: UK | | |
|
| @tomazkid
Erm, it relates to this news item which was only posted 2 weeks ago. Last edited by _Steve_ on 14-Nov-2007 at 08:46 PM.
_________________ Test sig (new)
|
| Status: Offline |
| | _Steve_
 |  |
Re: TLFSmem ok to be developped further as memtlsf Posted on 14-Nov-2007 20:50:54
| | [ #11 ] |
| |
 |
Team Member  |
Joined: 17-Oct-2002 Posts: 6821
From: UK | | |
|
| @pixie
Quote:
Strong words you say. AmigaOS was also 68k assembler and look at where AROS is today... should that be no stop for you my friend! |
But (and that is a big but), AROS is not a recompile of AOS taken from the original code, but merely a reimplementation of the API and AOS behaviour. As you must be aware, it is not binary compatible to any AOS compiled software or 68K asm code because it does not emulate the 68K processor in any fashion.
As such, unless you are going to recode the application in C which can then be recompiled for an AROS target, it just isn't going to happen. _________________ Test sig (new)
|
| Status: Offline |
| | pixie
 |  |
Re: TLFSmem ok to be developped further as memtlsf Posted on 15-Nov-2007 1:02:03
| | [ #12 ] |
| |
 |
Elite Member  |
Joined: 10-Mar-2003 Posts: 3437
From: Figueira da Foz - Portugal | | |
|
| I was talking in reimplement it in C indeed... Just as AROS was, just as concepts are translated across different languages... _________________ Indigo 3D Lounge, my second home. The Illusion of Choice | Am*ga
|
| Status: Offline |
| | bernd_afa
|  |
Re: TLFSmem ok to be developped further as memtlsf Posted on 15-Nov-2007 17:17:23
| | [ #13 ] |
| |
 |
Cult Member  |
Joined: 14-Apr-2006 Posts: 829
From: Unknown | | |
|
| firtst i thought this still contain asm code, but when look on the page i post the code seem asm free.
maybe its worth a look to do that in C or maybe another coder do that in C for AROS
* (Jul 28 2007) Herman ten Brugge : * * - Add 64 bit support. It now runs on x86_64 and solaris64. * - I also tested this on vxworks/32and solaris/32 and i386/32 processors. * - Remove assembly code. I could not measure any performance difference * on my core2 processor. This also makes the code more portable.
BTW: Herman ten Brugge write too the fpu emulation in uae. -;)
/* * UAE - The Un*x Amiga Emulator * * MC68881 emulation * * Copyright 1996 Herman ten Brugge * Modified 2005 Peter Keunecke */ Last edited by bernd_afa on 15-Nov-2007 at 05:18 PM.
|
| Status: Offline |
| |
|
|
[ home ][ about us ][ privacy ]
[ forums ][ classifieds ]
[ links ][ news archive ]
[ link to us ][ user account ]
|