Post Reply 
DM 42 Source code updated
06-04-2018, 09:28 PM
Post: #7
RE: DM 42 Source code updated
(06-04-2018 07:33 PM)Thomas Radtke Wrote:  Out of interest: What 100+ functions? Isn't this just Free42 plus some code gluing it to the hardware?

I briefly looked at the code, what you are referring to is in this file:
lft_ifc.h

There's an "operating system" that was separated off of the free42 code. All linkage is done through a table like the one you see on that file. This is actually quite similar to dynamic linking. The free42 portion apparently generates a separate file *.pgm, apparently some much simplified form of elf, the following file:

https://github.com/swissmicros/DM42PGM/b...rtup_pgm.s

It starts the .pgm program by initializing data sections, and then executing it, conceptually similar to launching an ELF file (simpler).

From my point of view, they have separated the free42 application to a point where you could compile a different application, and should be able to make it run by putting it in that same *.pgm format.

At first look, it's a proper separation, with free42 running as a separate "application". The functions that can be seen in that link table seem to be exclusively dealing with hardware and disk, these are standard services that most OS provide. I don't see anything that could belong "inside" free42, like a math helping routine or a solver, that could indicate the separation is not real.

As far as I see, they pulled it off.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
DM 42 Source code updated - Olaf - 06-04-2018, 04:13 PM
RE: DM 42 Source code updated - emece67 - 06-04-2018, 07:01 PM
RE: DM 42 Source code updated - Gene - 06-04-2018, 07:30 PM
RE: DM 42 Source code updated - Claudio L. - 06-04-2018 09:28 PM
RE: DM 42 Source code updated - rprosperi - 06-04-2018, 09:58 PM
RE: DM 42 Source code updated - emece67 - 06-04-2018, 10:13 PM
RE: DM 42 Source code updated - Claudio L. - 06-05-2018, 03:09 PM
RE: DM 42 Source code updated - BarryMead - 06-15-2018, 08:40 PM
RE: DM 42 Source code updated - ijabbott - 06-04-2018, 11:17 PM
RE: DM 42 Source code updated - andylithia - 06-05-2018, 12:05 AM
RE: DM 42 Source code updated - ijabbott - 06-05-2018, 07:51 AM
RE: DM 42 Source code updated - ijabbott - 06-05-2018, 03:01 PM
RE: DM 42 Source code updated - Gene - 06-13-2018, 12:54 PM
RE: DM 42 Source code updated - EdS2 - 06-14-2018, 09:00 AM
RE: DM 42 Source code updated - BarryMead - 06-30-2018, 05:35 PM
RE: DM 42 Source code updated - rprosperi - 07-01-2018, 12:22 AM
RE: DM 42 Source code updated - BarryMead - 07-01-2018, 07:22 PM



User(s) browsing this thread: 1 Guest(s)