Post Reply 
DM 42 Source code updated
06-04-2018, 11:17 PM
Post: #10
RE: DM 42 Source code updated
IMHO, they managed to pull it off. The 100+ functions that emece67 is complaining about are not called directly. They are called by calling an address that is an offset from a magic address. Since the magic address is unaligned, all the called addresses are unaligned, so the CPU (if so configured) will jump to an exception handler in the non-GPL "System" code. The exception handler can check what address was being called and perform the desired function before returning to the GPL "Program" code.

In principle, that's not really much different to the way GPL programs for other operating systems work. They generally use some sort of "software interrupt" to allow the operating system kernel to perform some function on behalf of the program. The main difference on the DM42 is the type of memory the program gets loaded into.
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)