1

Topic: TRDBOOT.BIN - How does it work?

Regarding to here: http://board.esxdos.org/viewtopic.php?pid=2059#p2059

can anyone please tell us more infos on TRDBOOT.BIN: Where and when is it loaded into memory. And how can we ran other programs/Navigators instead of the included TRDN / TR-DOS Navigator?

2 (edited by SCjoe 2021-06-08 15:41:18)

Re: TRDBOOT.BIN - How does it work?

Hi,

do not know any detail, only small comments...

TRDBOOT. BIN should also work via typing
LOAD “/SYS/TRDBOOT.BIN” CODE 32768: RAND USR 32768

We could match this binary with any other code compiled for and runable from 32768?

3 (edited by Luzie 2021-06-08 17:07:57)

Re: TRDBOOT.BIN - How does it work?

SCjoe wrote:

Hi,

do not know any detail, only small comments...

TRDBOOT. BIN should also work via typing
LOAD “/SYS/TRDBOOT.BIN” CODE 32768: RAND USR 32768

We could match this binary with any other code compiled for and runable from 32768?

OK. Thank you! On finding some spare time, I´ll test this. We have to find out additional things like maximum program-size and if/where stack/RAMTOP should be set to.

4 (edited by Luzie 2021-06-10 19:49:56)

Re: TRDBOOT.BIN - How does it work?

Changed first three bytes of TRDBOOT.BIN to:
Byte1=F3h=DI
Byte2=76h=HALT
Byte3=C9h=RET

After loading this with NMI / esxDOS NMI Navigator: Opening a .TRD-file which doesn´t contain a boot-Basic-File
(this should be the condition to load TRDBOOT.BIN):

These 3 Bytes can be found at 6000h=24756
and PC hangs at 6001h=24757 (because of the DI/HALT).
SP is at FF32h=65330
Fuse-esxDOS-TRDBOOT.BIN-Hacked

Maximum size of TRDBOOT.BIN I can only guess - I think it should be smaller than 16k as e.g. the one from esxDOS 0.8.9 has a size of 15360 Bytes.

5 (edited by Luzie 2021-06-10 20:19:02)

Re: TRDBOOT.BIN - How does it work?

SCjoe wrote:

TRDBOOT. BIN should also work via typing
LOAD “/SYS/TRDBOOT.BIN” CODE 32768: RAND USR 32768

Tried this (with loading binary block via Fuse Menu instead of TRDOS) and this doesn´t seem to run. If I´m not wrong on my testing. But LOAD “/SYS/TRDBOOT.BIN” CODE 24756: RAND USR 24756 doesn´t work too for me.

Maybe it´s a problem with Fuse v1.6.0 Win32 function "File / Load binary data...". Have to re-test with SpecEmu.