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. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)