Re: standalone code for bootstrapping

"kerravon86-/[email protected] [hercules-390]" <[email protected]>
Newsgroups gmane.comp.emulators.hercules390.general
Message-ID <[email protected]>
---In [email protected], <kerravon86@...> wrote :

> I place the program on a different track, ie
> head 1 instead of head 0, rather than what
> is more normal which is to store the
> stand-alone program at the end of cylinder
> 0 head 0.

Actually I think the logic in sapstart should
be to start reading 32767 bytes from
head 0 record 4, and not complain if it is
not found at all, then continue reading
head 0 until block not found, and then
switch to head 1 record 1.

This way if you have a small sapstart-based
program it can be stored in the normal
position (head 0), but if you have a large
program, it can be stored starting in
head 1.

To Dave McGuire - you don't want the
overhead of PDOS for your bare metal
3270 program, but would sapstart be
useful?

https://sourceforge.net/p/pdos/gitcode/ci/master/tree/pdpclib/sapstart.asm

Although it was written as the startup
code for C programs it should also
function for assembler programs. You
could embed your 3270 code inside
sapstart or link with it where it currently
does a call to @@START.

BFN. Paul.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.