Click HereClick Here
home features news forums classifieds faqs links search
5171 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Channel: #Amigaworld
Channel Policy and Guidelines

(Uses JAVA Applet and Port 1024)
Visit the Chatroom Website

Who's Online
 29 guest(s) on-line.
 1 member(s) on-line.


 vox

You are an anonymous user.
Register Now!
 vox:  4 mins ago
 wawa:  7 mins ago
 AmigaMac:  12 mins ago
 klx300r:  12 mins ago
 amigadave:  16 mins ago
 freak:  19 mins ago
 kilaueabart:  37 mins ago
 AliveMOon:  38 mins ago
 terminills:  44 mins ago
 NovaCoder:  45 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  OS4 Memory allocation and progress
Register To Post

Goto page ( Previous Page 1 | 2 )
PosterThread
sundown 
Re: OS4 Memory allocation and progress
Posted on 6-Jul-2006 22:38:29
#21 ]
Elite Member
Joined: 30-Aug-2003
Posts: 4616
From: West coast, USA

@All

Any known software compatibility problems, especially with older 68k apps that break?

_________________
X1000! Party on
Pure Gold
Hate tends to make you look stupid...

 Status: Offline
Profile     Report this post  
RWO 
Re: OS4 Memory allocation and progress
Posted on 6-Jul-2006 23:15:15
#22 ]
Regular Member
Joined: 8-Mar-2003
Posts: 447
From: Denmark

@sundown

Yes there is trouble with some of the PPC programs (not 68k) were they dont respect read-only data.

if you for example have a source where the data is set to 'const', that data will be send to a readonly memory location and it will trough a DSI if you try to modify the data.

One program the fails for this is LimpidClock.

edit: I'm were not trying to put LimpidClock in a bad light it was just an example.. I do apologize to the author for using the Nice program as an example.

RWO

Last edited by RWO on 07-Jul-2006 at 12:54 PM.

_________________
Debugging is a state of mind

 Status: Offline
Profile     Report this post  
lylehaze 
Re: OS4 Memory allocation and progress
Posted on 6-Jul-2006 23:41:57
#23 ]
Cult Member
Joined: 1-Sep-2004
Posts: 865
From: Virginia, USA

@EntilZha

Do developers that are not on the beta list have access to the new
memory system?

I'm developing without it, so I'm wondering if it's something I'm missing, or something I'm not supposed to have yet.

LyleHaze, writing drivers in the dark...

_________________
question=(2b||!(2b))

 Status: Offline
Profile     Report this post  
afxgroup 
Re: OS4 Memory allocation and progress
Posted on 6-Jul-2006 23:45:31
#24 ]
Super Member
Joined: 8-Mar-2004
Posts: 1952
From: Taranto, Italy

@lylehaze

if you are writing drivers you will have some troubles..

_________________
http://www.amigasoft.net

 Status: Offline
Profile     Report this post  
wegster 
Re: OS4 Memory allocation and progress
Posted on 7-Jul-2006 0:02:50
#25 ]
Elite Member
Joined: 29-Nov-2004
Posts: 8554
From: RTP, NC USA

@RWO

Quote:

RWO wrote:
@sundown

Yes there is trouble with some of the PPC programs (not 68k) were they dont respect read-only data.

if you for example have a source where the data is set to 'const', that data will be send to a readonly memory location and it will trough a DSI if you try to modify the data.

One program the fails for this is LimpidClock.

RWO


Hrm, -Wall is your friend

_________________
Are we not done with the same silly arguments and flames yet??!

 Status: Offline
Profile     Report this post  
lylehaze 
Re: OS4 Memory allocation and progress
Posted on 7-Jul-2006 0:18:42
#26 ]
Cult Member
Joined: 1-Sep-2004
Posts: 865
From: Virginia, USA

@afxgroup

Yes, I am writing a driver.
Sure, I'm having troubles, nothing works perfect on the first try.

May I assume by your comment that I'll have more troubles when the
new memory system is made available?

LyleHaze

_________________
question=(2b||!(2b))

 Status: Offline
Profile     Report this post  
afxgroup 
Re: OS4 Memory allocation and progress
Posted on 7-Jul-2006 0:20:50
#27 ]
Super Member
Joined: 8-Mar-2004
Posts: 1952
From: Taranto, Italy

@lylehaze

yes. ask sg2 for more details about new memory system and drivers

_________________
http://www.amigasoft.net

 Status: Offline
Profile     Report this post  
RWO 
Re: OS4 Memory allocation and progress
Posted on 7-Jul-2006 0:24:16
#28 ]
Regular Member
Joined: 8-Mar-2003
Posts: 447
From: Denmark

@wegster

Quote:
Hrm, -Wall is your friend

Yes I agree.. Looking at the Changelog of OS4 all the Developers have started to use -Wall and -Werror so I followed too, just to be sure.

RWO

_________________
Debugging is a state of mind

 Status: Offline
Profile     Report this post  
RWO 
Re: OS4 Memory allocation and progress
Posted on 7-Jul-2006 0:29:57
#29 ]
Regular Member
Joined: 8-Mar-2003
Posts: 447
From: Denmark

@lylehaze

Quote:
May I assume by your comment that I'll have more troubles when the
new memory system is made available?

If you need to support DMA in your driver.. you now have to alloc memory block that isent swappable and you need to translate the memory address to the real psyical address.

That also means all current drivers that use DMA, needs to be updated, from AHI driver to USB and IDE and so on. but that is allready done.

RWO

_________________
Debugging is a state of mind

 Status: Offline
Profile     Report this post  
Rogue 
Re: OS4 Memory allocation and progress
Posted on 7-Jul-2006 0:30:02
#30 ]
OS4 Core Developer
Joined: 14-Jul-2003
Posts: 3999
From: Unknown

@lylehaze

Quote:
May I assume by your comment that I'll have more troubles when the
new memory system is made available?


Well, it's not that big of an issue really. The MEMF_PUBLIC flag is mostly ignored now (or rather converted to MEMF_SHARED) so you will not nescessarily get non-fragmented memory (i.e. the pages may be scattered around). If you don't use MEMF_PUBLIC, it should not make any difference.

_________________
Seriously, if you want to contact me do not bother sending me a PM here. Write me a mail

 Status: Offline
Profile     Report this post  
lylehaze 
Re: OS4 Memory allocation and progress
Posted on 7-Jul-2006 0:40:05
#31 ]
Cult Member
Joined: 1-Sep-2004
Posts: 865
From: Virginia, USA

@All

Thanks for the info.
I'll have to look over my existing code to see if anything
might be affected.(CAMD, USB MIDI, new project)

I look forward to getting the full details of how to make
best use of the new allocation scheme.

Patience is a blessing, I'm just not in a hurry for
anything anymore.

Too old, too tired.

LyleHaze

_________________
question=(2b||!(2b))

 Status: Offline
Profile     Report this post  
tonyw 
Re: OS4 Memory allocation and progress
Posted on 7-Jul-2006 3:56:27
#32 ]
Elite Member
Joined: 8-Mar-2003
Posts: 2780
From: Sydney (of course)

@wegster

"-Wall" is not enough. Despite the option name ("all"), it does not check everything. You have to add -Wwrite-strings and a few others as well.

The gcc people decided that "all" should mean "almost all".

_________________
cheers
tony

Hyperion Support Forum: http://forum.hyperion-entertainment.biz/index.php

 Status: Offline
Profile     Report this post  
tonyw 
Re: OS4 Memory allocation and progress
Posted on 7-Jul-2006 3:59:19
#33 ]
Elite Member
Joined: 8-Mar-2003
Posts: 2780
From: Sydney (of course)

@sundown

Legacy programs like 68k stuff are not checked for writes to "read-only" sections. The old "hunk" binary system did not support it properly, IIRC.

_________________
cheers
tony

Hyperion Support Forum: http://forum.hyperion-entertainment.biz/index.php

 Status: Offline
Profile     Report this post  
sundown 
Re: OS4 Memory allocation and progress
Posted on 7-Jul-2006 4:21:54
#34 ]
Elite Member
Joined: 30-Aug-2003
Posts: 4616
From: West coast, USA

@tonyw

Had a feeling some old programs would break. I'm glad I got e-uae working to support those that don't survive the change. Just hope e-uae survives.

_________________
X1000! Party on
Pure Gold
Hate tends to make you look stupid...

 Status: Offline
Profile     Report this post  
Samwel 
Re: OS4 Memory allocation and progress
Posted on 7-Jul-2006 4:50:05
#35 ]
Elite Member
Joined: 7-Apr-2004
Posts: 3393
From: Sweden

@sundown

If not, I guess Mr Drummond will fix it rather quick as he's in the inner circle and
has this information since long ago.

_________________
/Harry

[SOLD] µA1-C - 750GX 800MHz - 512MB - Antec Aria case

Avatar by HNL_DK!

 Status: Offline
Profile     Report this post  
sundown 
Re: OS4 Memory allocation and progress
Posted on 7-Jul-2006 6:04:41
#36 ]
Elite Member
Joined: 30-Aug-2003
Posts: 4616
From: West coast, USA

@Samwel

Yes, Richard is a beta tester, so not much to worry about.

I was hoping the beta testers could/would start to give us a warning about the apps that are known to fail.

_________________
X1000! Party on
Pure Gold
Hate tends to make you look stupid...

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 )

[ home ][ about us ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright © 2000 - 2011 Amigaworld.net.

Page took 0.123487 seconds to load.