View Single Post
Old 24 February 2021, 19:54   #52
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,604
Quote:
Originally Posted by Bruce Abbott View Post
So you want to be able to load a program under eg. KS1.3 which has a hunk format the OS doesn't recognize
The idea is that this new code can recognize all hunk types from 1.3 to 3.1 and knows how to parse them safely according to the OS version the new code is run on. If parsed and detected as impossible, not execute & return error code.

Quote:
Originally Posted by Bruce Abbott View Post
IOW, you want a replacement for LoadSeg
KS1.3 parsed hunks to run 1.3 executables just fine. So IDK if it needs a LoadSeg replacement. The idea is that this new code does this, self-contained. I'd draw the line at calling absolute ROM addresses.

I don't want to limit myself needlessly here. I.e., if the exe uses hunks available on 1.3, it should parse and execute on 1.3-3.1. And if code inside the hunks relies on 1.4, 3.1, 3.9 (or RTG, Vampire, you name it) and crashes that's fine.

Imagine an exe compressor, or a disassembler, or heck, an IFF image loader, that doesn't require a certain OS version to do their job. That's the goal. Run an exe.
Photon is offline  
 
Page generated in 0.04821 seconds with 11 queries