Overview Features Coding ApolloOS Performance Forum Downloads Products Order Contact

Welcome to the Apollo Forum

This forum is for people interested in the APOLLO CPU.
Please read the forum usage manual.
Please visit our Apollo-Discord Server for support.



All TopicsNewsPerformanceGamesDemosApolloVampireAROSWorkbenchATARIReleases
Documentation about the Vampire hardware

Apollo Core Compatibility

Asaf Ayoub

Posts 26
30 Dec 2016 06:42



I wanted to know what are the core of the Apollo command will be and whether such command can be made universal.

So many developers are writing software with different programming languages, but when they port software they dont know about the underlining hardware.

I think it would be popular to create a core command set that can be used everywhere.

These commands could be used to program arm devices in assembler linking to different OSs.

An assembler thats like Java - portable.

Assembler core written on windows version of Apollo core can be copy pasted to also work on z80 system.

This way everyone can learn one Assembler language - make games or plugins to work everywhere.

Can this be done ?



Ian Parsons

Posts 230
30 Dec 2016 12:13


High level languages like C++ are quite portable between CPUs and if the APIs are available across those CPUs code can be easily ported between them.
 
  Assembly language instructions have a one to one correlation with the machine codes specific to a particular (family of) CPU(s). The assembly language is closely related to the features of the CPU so an 8 bit CISC architecture will have very different machine code to a 64 bit RISC architecture.

Assembly languages often do share many similarities as they are a set of basic instruction types for moving and manipulating data, performing logical and arithmetic operations and controlling program flow. So once you have grasped the fundementals it's not to hard to understand a new assembly language, however the devil is in the details.


Samuel Crow

Posts 424
30 Dec 2016 15:59


@Asaf

Google the "Web Assembly" language.  It is a statically compiling alternative to JavaScript in the browser.  It is presently not easy to achieve such a thing but all the major browser makers teamed up together to make it happen.


Kolbjørn Barmen
(Needs Verification)
Posts 219/ 2
31 Dec 2016 01:17


An interesting video on the topic...

EXTERNAL LINK


Asaf Ayoub

Posts 26
03 Jan 2017 05:56



Thanks all, looked at Golang videos and I think 68k should be supported, would make porting much easier.

Definitely what I was looking for !

I think it is the way alot of systems will go to.

Today multi core is limited by software as only 2 cores are supported, even in emulators.

Parallel processing Parallella hardware : EXTERNAL LINK 
Software written in common assembler across systems is golden. Hope Apollo can take advantage.



posts 5