Enterprise Forever

:UK => Other topics => Topic started by: SlashNet on 2021.March.19. 17:25:05

Title: Autorun at Enterprise
Post by: SlashNet on 2021.March.19. 17:25:05
I know EXDOS reads EXDOS.INI at start, but I can't find how to load BAS-file from this file.
Is it possibile to autostart basic files?

At now I see variant to run IS-BASIC and then press F1 (I have START file with ASCII-basic inside).


Title: Re: Autorun at Enterprise
Post by: szipucsu on 2021.March.19. 19:02:32
I think EXDOS.INI cannot load basic programs. I also missed that. But there should be another way. Maybe hacking the basic rom.
Or, EXDOS.INI runs a machine code program that loads a basic program... is it possible?
Title: Re: Autorun at Enterprise
Post by: dangerman on 2021.March.19. 22:40:45
This is a very good question. It would be great if there was some way to start BASIC programs from EXDOS. I expect it will require some trickery though.
Title: Re: Autorun at Enterprise
Post by: gflorez on 2021.March.19. 22:59:26
There is a way (https://enterpriseforever.com/programming/basic-as-a-script-language/msg58701/#msg58701).
Title: Re: Autorun at Enterprise
Post by: SlashNet on 2021.March.20. 00:07:38
There is a way (https://enterpriseforever.com/programming/basic-as-a-script-language/msg58701/#msg58701).

Thanks! It worked!
Title: Re: Autorun at Enterprise
Post by: gflorez on 2021.March.20. 23:39:06
Title: Re: Autorun at Enterprise
Post by: elmer on 2021.March.21. 16:54:37
There is a way (https://enterpriseforever.com/programming/basic-as-a-script-language/msg58701/#msg58701).

That is a really cool hack of the BASIC ROM! :ds_icon_cheesygrin:

I agree with you, it would be nice to have that available without EPDOS, for those people that don't have EPDOS in ROM.

It looks like there is some free space in the EXOS 2.4 ROM, it would be great to put a few of the useful EPDOS commands in that memory space, especially a version of "LROM" so that people with lots of RAM could load up EPDOS (or any other ROM) from EXDOS.INI.
Title: Re: Autorun at Enterprise
Post by: gflorez on 2021.March.21. 20:09:03
Yes, but the EPDOS as extension (http://www.ep128.hu/Ep_Util/Prg/Epdos17.rar) also installs Roms the same, so an user with lots of Ram can still manage Roms.

(This is version 1.7, only legacy drives, A,B,C,D and E)

EPDOS has other valuable utilities for a developer, because it has powerful commands to peek on the inners of the operative system, for example returning lists of Ram/Rom segments, channels and devices.

[attachimg=1]
Title: Re: Autorun at Enterprise
Post by: dangerman on 2021.March.22. 21:24:14
There is a way (https://enterpriseforever.com/programming/basic-as-a-script-language/msg58701/#msg58701).

Excellent!

And thanks for the code also! ;-)

Title: Re: Autorun at Enterprise
Post by: Zozosoft on 2021.March.22. 22:43:41
The best way will be if the IS-BASIC ROM can handle the Load Module action...
Bruce? :ds_icon_cheesygrin:
Title: Re: Autorun at Enterprise
Post by: gflorez on 2021.March.23. 10:12:14
Yes, it would be great to execute :BASIC PROGRAM.BAS  .


Edit: And on a Tape based EP? it would put the relay on and search for the file.... marvellous.