Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
81 user(s) are online (56 user(s) are browsing Forums)

Members: 0
Guests: 81

more...

Support us!






From E to OS4 in 7 days
Amigans Defender
Joined:
2006/11/17 22:40
From England
Posts: 3245
Thanks to PortablE, I've ported PDHFIC to OS4.

It's 120K of E code and needs modules PortablE didn't have. A bit of tweaking (and a rewrite of one routine, which needed doing anyway as the original was rooted in OS3.0), plus a port of the picture datatypes headers and it largely works.

Many thanks to Chris Handley for PortablE, and for putting up with me hassling him trying to get this working.

If you have old E code lying around please try out PortablE and port it to OS4! If you don't code you might find E easier (I started out on E before moving on to C).

With no polishing, I thought I'd post a link to the beta to see if there were any further problems I haven't picked up in my testing. There are a few things which need fixing, but they are all minor tweaks.

Still have more to port after I fix this up!

Download beta OS4 version

Changes since last public release
Use screen menu item fixed
Datatypes loader now uses 24-bit data
extscale fix no longer required

Things that don't work properly
Console window pops up on startup (fixed)
Choosing a file from input ASL doesn't unlock convert button (drag files in to appwindow instead) (hmm, only a problem if there is no path present in asl, this actually appears to be an old bug and nothing to do with the port)
A few odd crashes (not systematically reproduceable, appears that the second call to the display menu items causes problems)
Version number, email address and website are all wrong (fixed)
Values on requesters are wrong

Unimplemented
ARexx port (needs tools/arexx) (disabled neatly)
ASL file filter (currently using ecode module) (disabled neatly)


Edited by Chris on 2008/7/11 20:11:27
Edited by Chris on 2008/7/12 1:20:59
Edited by Chris on 2008/7/12 22:38:58
Edited by Chris on 2008/7/13 1:48:19
   Report Go to top

Re: From E to OS4 in 7 days
Just can't stay away
Joined:
2006/11/26 16:47
Posts: 1434
@Chris

the link is broken, and what does the app do?

   Report Go to top

Re: From E to OS4 in 7 days
Just popping in
Joined:
2007/5/1 12:59
Posts: 149

   Report Go to top

Re: From E to OS4 in 7 days
Just can't stay away
Joined:
2006/12/9 10:44
From Lyon, France
Posts: 1337
@Chris

Could you tell us more about how difficult/easy it was to compile the resulting C code created by PortablE?

Thanks

_________________
Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
   Report Go to top

Re: From E to OS4 in 7 days
Amigans Defender
Joined:
2006/11/17 22:40
From England
Posts: 3245
@spot
Oops! That's what happens when I post things in the middle of the night. I've fixed it now (the download link - the info one was working anyway)
It converts Datatypes images to Spectrum emulator formats (SCR, TAP, TZX etc), similar to ppmtoscr but with more options and a GUI.

@Elwood
As easy as:
g++ -o myapp myapp.cpp
Plus whatever other compiler switches you fancy using, -mcrt=newlib and -O3 are certainly worth adding for starters.

You don't need to modify the C++ output at all, just treat it like the intermediate asm files some compilers create.

E code needs a few modifications to be compiled with PortablE, but these are usually fairly straightforward, and the OPTAMIGAE switch takes away the majority of differences.

Chris

   Report Go to top

Re: From E to OS4 in 7 days
Home away from home
Joined:
2007/5/19 14:23
From England
Posts: 3553
@Chris
Nice to see this post

_________________
Author of the PortablE programming language.
I love using Amiga OS4.1
It is pitch black. You are likely to be eaten by a grue...
   Report Go to top





[Advanced Search]



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project