Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Iridium Banner AMIStore App Store A1200/A600 4xIDE Interface

AuthorTopic: XAMOS - new cross-platform rewrite of jAMOS  (Read 2004 times)

0 Members and 1 Guest are viewing this topic.

Offline Mequa

XAMOS - new cross-platform rewrite of jAMOS
« on: May 24, 2012, 06:53:16 AM »
I present my very latest AMOS BASIC reimplementation.



XAMOS (Cross-AMOS) is a complete re-write of jAMOS in C++ using SDL libraries and Boost headers.
The initial release is alpha 0.23, based on the corresponding jAMOS version number.

This initial release is run-only and does not feature an editor at this stage. However, it is compatible with almost all programs created with the latest jAMOS editor. All jAMOS examples (without AMAL) are running in XAMOS, often with a serious speed boost over the Java original, particularly on low-end platforms.

AMAL is not yet implemented at this stage, although some groundwork has been done and this is planned for a later release. The planned AMAL subsystem for XAMOS will be called XAMAL.


Binaries are provided for Win32 (tested on Windows XP, Windows 7 and Windows 8 Consumer Preview) and Linux x86 and x64 (tested on Ubuntu 12.10). Both archives contain batch files for the relevant system for launching the included examples.

Enjoy the latest AMOS BASIC reimplementation.

Get it here!
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
  • Total likes: 0
    • http://www.troubled-mind.com
Re: XAMOS - new cross-platform rewrite of jAMOS
« Reply #1 on: May 25, 2012, 03:14:38 PM »
This is good stuff, looking forward to ports to platforms I use though :)

Offline persia

Re: XAMOS - new cross-platform rewrite of jAMOS
« Reply #2 on: May 25, 2012, 04:11:54 PM »
It's been a while since I lived in a bilingual area, but isn't "xamos" Greek for mayhem?
[SIGPIC][/SIGPIC]

What we\'re witnessing is the sad, lonely crowing of that last, doomed cock.
 

Offline Cass

Re: XAMOS - new cross-platform rewrite of jAMOS
« Reply #3 on: May 25, 2012, 05:58:59 PM »
True , "χαμός" colloquially means mayhem, but also "loss".
"If we don\'t got it, you don\'t want it! "
 

Offline persia

Re: XAMOS - new cross-platform rewrite of jAMOS
« Reply #4 on: May 25, 2012, 06:14:25 PM »
Ευχαριστώ Cass.  I guess I've only heard it in the mayhem context, but it's been a while, perhaps too long, since I was able to hold a conversation in Greek....
[SIGPIC][/SIGPIC]

What we\'re witnessing is the sad, lonely crowing of that last, doomed cock.
 

Offline Mequa

Re: XAMOS - new cross-platform rewrite of jAMOS
« Reply #5 on: May 27, 2012, 04:28:03 PM »
Quote from: persia;694256
It's been a while since I lived in a bilingual area, but isn't "xamos" Greek for mayhem?
I found the Greek meaning of χαμος with Google before release (it seems to have a few colloquial meanings) and thought it was pretty fitting. What could be more "mayhem" than AMOS on the PC? :lol:

It can also mean "a blast", as in "Ayto to kalokairi tha ginei XAMOS" ("This summer will be a BLAST"), so an interesting pun there!
« Last Edit: May 27, 2012, 04:30:47 PM by Mequa »
 

Offline Mequa

Re: XAMOS - new cross-platform rewrite of jAMOS
« Reply #6 on: May 27, 2012, 10:38:50 PM »
Quote from: bloodline;694252
This is good stuff, looking forward to ports to platforms I use though :)

Which platforms are you looking for?

Porting to OS X would be fairly straightforward at this stage (using the *nix Makefile included), once I or someone else manages to borrow a Mac to compile this on.

Anyone want to have a go compiling XAMOS on OS X (with all the required dependencies installed), and reporting any errors/successfully-built binaries here? (Do make a note of whether they are 32-bit or 64-bit.) Or, for that matter, FreeBSD, Solaris, or Haiku?


Currently, this builds and runs natively on both 32-bit and 64-bit Linux, and builds on Windows using MinGW, running on everything from Windows 98 to Windows 8 Consumer Preview (and even Wine).

Optional hardware acceleration (OpenGL/DirectX) is planned for all supported platforms. A hardware-accelerated ARM11 Linux (Raspberry Pi) build is planned.


Porting to NG Amigas such as AROS x86, MorphOS and AmigaOS4 may be possible in future (they support SDL), however will first require some debugging before the XAMOS core is stable on those platforms.

16-bit builds - not interested at this stage, would require a rewrite to support 16-bit platforms.

Also, any future editors may not be compatible with NG Amigas, and so may also require a rewrite to be compatible with Zune/MUI, if anyone is interested in an XAMOS editor for those platforms - or in contributing one under a compatible licence. :)
« Last Edit: May 27, 2012, 10:52:26 PM by Mequa »
 

Offline yakumo9275

Re: XAMOS - new cross-platform rewrite of jAMOS
« Reply #7 on: May 29, 2012, 01:50:11 AM »
I've tried porting a game using boost and it was a nightmare. ugh, boost.
--/\\-[ Stu ]-/\\--
Commodore 128DCR, JiffyDOS, Ultimate 1541 II, uIEC/SD, CBM 1902A  Monitor
 

Offline Mequa

Re: XAMOS - new cross-platform rewrite of jAMOS
« Reply #8 on: May 29, 2012, 03:48:35 AM »
Quote from: yakumo9275;694509
I've tried porting a game using boost and it was a nightmare. ugh, boost.

The only Boost header required by XAMOS is , for a hash table datatype. This was included to speed up development.

This is also included as standard with C++11 / C++0x, so could be made to work without Boost if compiling as C++11 / C++0x (which I'd also prefer to avoid dependency on, as it won't work with older compilers). Or I could alternatively use e.g. the deprecated hash_map type as a possible compiler option (disabling it if Boost or C++11 are available).
 

Offline Mequa

Xamos 0.24
« Reply #9 on: June 03, 2012, 04:14:58 PM »
Update: XAMOS alpha 0.24:

- AMAL is now implemented in line with jAMOS 0.24, including AMAL Environment Generator. All AMAL examples from jAMOS are added and runnable in XAMOS.
- Can translate AMAL (and EnvGen) code into both C++ and Java.
- Much code refactoring and debugging.
- Removed default startup sound for run-only version (too irritating).
- A console-based launcher is added for launching all 40 included examples, along with a batch file.
 

Offline Mequa

Xamos 0.241
« Reply #10 on: June 08, 2012, 07:08:14 AM »
Update: XAMOS alpha 0.241:

- Removed the dependency on Boost (now available as a compiler option by editing the Makefile). Fallback to deprecated hash_map type is supported without Boost.
- Added the ability to build a minimal text-only build without SDL, for cross-platform testing (tested on AROS/x86 and MorphOS/PPC).
- Improved compatibility with 64-bit systems (e.g. Linux/x64).
 

Offline Mequa

XAMOS on AROS
« Reply #11 on: June 08, 2012, 01:56:16 PM »
Update: XAMOS is now working on AROS!



An AROS x86 binary (and compatible Makefile for building from source) is now available from the SourceForge page.

Simply extract the contents of XAMOS_aros_x86.zip over the contents of XAMOS.zip.

This initial AROS build has a few small bugs, but is mostly working already. Sound has not yet been tested.
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
  • Total likes: 0
    • http://www.troubled-mind.com
Re: XAMOS on AROS
« Reply #12 on: June 10, 2012, 12:49:51 AM »
After much compiling of libraries, I got XAMOS running on my Raspberry Pi!!! Yay :) nice work guys :)

Offline aGGreSSor

Re: XAMOS - new cross-platform rewrite of jAMOS
« Reply #13 on: April 18, 2015, 08:20:11 PM »
Tried to run at on Debian 7 (Wheezy). Requires glibc 2.14. The official repository contains glibc 2.13. The experimental repository contains non-stable glibc 2.14 That's why such claims?! :angry:
A1230@50MHz/32M/80G, Mediator PCI (S3 ViRGE/DX 4M, RTL8139), GBS-8200, AOS 3.9;
A2000@7.14MHz without all :laugh1: