Enterprise Forever
:UK => Programming => BASIC => Topic started by: gflorez on 2016.October.06. 01:17:17
-
I am curious about how can EPDOS load a Basic program and run it.
If that could be replicated I would like to have a Zipped Basic program as a menu on Start-up instead of Exdos.ini.
-
The easiest way is to have the EPDOS.rom installed. Then, on the Exdos.ini file only one command: :START STARTUP.BAS.
Once on the Basic program, we can put a menu to conditionally jump to the selected application with the EXT command.
When re-entering, some check must be done to not load again a new instance of an extension already loaded, for example EGI.rel or Mouse.xr.
-
I am curious about how can EPDOS load a Basic program and run it.
It is extracted the start of BASIC ROM, simulate the BASIC startup (using direct CALLs to the BASIC ROM) then jump to the load command in the BASIC ROM.
-
Yes, I have been peeking at the code. It is a very clever approach.