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



Lost Password?

Don't have an account yet?
Register now!

Your support is needed and is appreciated as is primarily dependent upon the support of its users.

Main sections
OS4 Zone
IRC Network
AmigaWorld Radio
Top Members
Amiga Dealers
About Us
Terms of Service

IRC Channel
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
49 crawler(s) on-line.
 20 guest(s) on-line.
 1 member(s) on-line.


You are an anonymous user.
Register Now!
 fishy_fis:  37 secs ago
 Spectre660:  6 mins ago
 DiscreetFX:  9 mins ago
 Bosanac:  12 mins ago
 Karlos:  17 mins ago
 Everblue:  24 mins ago
 amiwell:  49 mins ago
 zipper:  58 mins ago
 AMIGASYSTEM:  1 hr 3 mins ago
 BigD:  1 hr 7 mins ago

Software News   Software News : Updated Modula-2 Compiler - Native PPC Code for OS4
   posted by tbreeden on 21-Dec-2009 2:10:03 (2218 reads)
Dec 16, 2009

Now, after a year of nights and weekends ( don't call this
a hobby compiler! )

Here is an update to the initial October 26, 2008 release of a
native PPC Modula-2 compiler for Amiga OS4. AgletM2PPC
v3.1 beta implements much of the ISO Modula-2 base standard.


The download can be found at OS4 Depot AgletM2PPC

Checkout the PDF Documentation file at my Aglet Web Site.

Any feedback welcome.

Tom Breeden

release Dec 16, 2009 changes from previous release October 26, 2008:

- v3.1 Beta1 (16.12.2009)
- The compiler itself is now PPC native, and is
significantly faster!
- The size limit on procedures is now probably large enough
for any sane program.
- A bug which caused extremely excessive stack use was fixed.
Now 40 or 50K should be enough for almost any compile.
- Some code generation errors were fixed.
- Fixed problem with Opaque pointers resolved within the
IMPLEMENTATION module by imported pointer types.
- Added compiler warning: OpenArrayCopyWarn.
- SDK 53.8+ now using the GNU assembler v2.18 vs. 2.14
in earlier SDKs. This required that some instructions be
output slightly differently.
- Certain "recording" versions of FP instructions are no
longer generated, since Sam 440ep/flex does not support

- Mod2Lnk recognizes a "-stack" switch and inserts the
"$STACK:xxxx" cookie into executables.
- The .asm files no longer need be kept around. All dependency
information is in the object file now. Asm files are written
to T:
- Added the "-g" debug switch, which causes both exported and
non-exported symbols to be put into the Elf symbol table so
that SymbolsRTS can find them as well.

- Option "Make Icons?" added for the project file save.
- Fixed problem of GR on exit if M2IDE changed its current
- Multiselect now supported for the "Misc Files" file

Amiga Modules
- Added Definition files for about 25 more Amiga Libraries,
and all supplied Amiga definition files (over 150 of them) were
brought up to the v53.13 SDK.
- The TextEditor gadget is now working much better, as the
Definition file now adjusts to a glitch in the SDK's .h

Aglet Modules
- System module SymbolsRTS was introduced for better debugging
of exception locations.
- CLI program arguments and Workbench ToolTypes are
transparently (almost) unified when the ArgsSupport module
is used to read startup arguments.
- Many improvements in the (experimental) SimpleXXX modules
(SimpleGUI, SimpleScreens, SimpleMenus, SimpleGraphics, etc).
- new modules: BigInt, for 155 bit integers; IconSupport, for
writing out icons.

I make no representations about the suitability of this software
for any purpose. It is provided "as is" without express or implied warranty.

This is copyrighted freeware being distributed "as-is". I hope it can be useful
for anyone interested in developing new generation Amiga software with a
Wirthian language.

Oct 2008 Announcement:

Related Links
· More about Software News
· News by tbreeden

Most read story about Software News
UBoot 2010.06.04 for Sam460ex available

Last news about Software News
Hollywood APK Compiler 4.0 released
Printer Friendly Page  Send this Story to a Friend

Re: Updated Modula-2 Compiler - Native PPC Code for OS4
Posted on 21-Dec-2009 13:20:19
#1 ]
Elite Member
Joined: 6-May-2007
Posts: 10824
From: Greensborough, Australia


Well done on your release. Good to see more native OS4 compilers for the different computer languages we have out there. It's good to have a choice and freedom to chose a language we like. We don't all have common taste. I have expensive taste.

Thanks for bringing this to our community.

Last edited by Hypex on 22-Dec-2009 at 01:12 PM.

 Status: Offline
Profile     Report this post  
Re: Updated Modula-2 Compiler - Native PPC Code for OS4
Posted on 21-Dec-2009 14:02:59
#2 ]
Super Member
Joined: 18-Apr-2009
Posts: 1274
From: Germany


Absolutly! I was totally amazed how seemless the package (test-)compiled and linked the "HelloWorld.mod" after installation with the OS4.1 SDK tools. Excellent!


 Status: Offline
Profile     Report this post  
Re: Updated Modula-2 Compiler - Native PPC Code for OS4
Posted on 22-Dec-2009 1:16:38
#3 ]
Super Member
Joined: 23-Nov-2008
Posts: 1410
From: Australia, VIC

Days and Nights, That does sound like a lot fo work.

Well done.

Courtesy of SAM440Flex & Amiga OS4.1 only
CD32 / SX1 Expansion
A500 with HxC & 1mb Chip Ram, Flicker Fixer Box
C=OS (Usa) Laptops
MorphOS PowerBook G4
AROS / AmiPUP Netbook
A1000 with 1.5MB RAM.

 Status: Offline
Profile     Report this post  
Re: Updated Modula-2 Compiler - Native PPC Code for OS4
Posted on 23-Dec-2009 3:46:12
#4 ]
Joined: 19-Aug-2003
Posts: 17
From: Unknown


Looking good!

I've been able to recompile and link Mod 2 programs on my Sam produced with previous versions of your compiler (on an A1). And the two I've tried work.

Looking forward to using this a lot in the future!


 Status: Offline
Profile     Report this post  
[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 was originally founded by David Doyle