Here is the newest revision of the XB Game Developer's Package "Encruzado". This is a beta version. As far as I know everything works as it should, but there may be issues lurking in the shadows. In particular, giving the option to put the runtime routines in low memory may cause bugs, although all the ones I could find have been corrected.
COMPILER: The big change is that you now have an option to put the runtime routines into low memory from >2000 to >3FFF. This is necessary is if your compiled program is too large to run in the 24K of high memory, with both compiled code and the runtime routines all located there. With the runtime routines in low memory it is safe to say that you should have no memory problems when compiling even the largest XB programs. If the program is saved as EA5 the program will be loaded exactly as before. If you save as an XB loader there are two programs. The first loads the low memory portion of the code and then automatically loads and runs the second program. Other than a brief pause while the second program is loaded, you will see no difference in how this functions.
When running from XB there are now three ways to start the compiled program.
CALL LINK("RUN") starts the program with a scan that breaks the program execution when F4 is pressed.
CALL LINK("RUNEA") starts the program exactly as it would be when running as EA5. No F4 scan is performed.
CALL LINK("RUNV") starts the program but without resetting any of the Screen2 patterns or character definitions. This lets you chain compiled programs together while retaining all the graphics created by the first program.
A bug in playing sound lists from EA5 was corrected.
XB256: The big change here is that there is a second version of XB256 called XB256HM.This provides a way to save an XB program and XB256 in the same program; If you don't need the speed of a compiled program, this makes a nice, neat one program package
(edit) - Didn't take long to find a bug. I left out a file in the package. Those who already downloaded should download ENCRUZADO_BETA1
(edit) - There is a minor bug that needs to be fixed by editing line 520 in the compiler. See post 228 if you want more details.
Edit line 520 to be:
520 DISPLAY AT(21,1):SF$&" is compiled." :: CALL LOAD(-1,0)::RUN "DSK1.LOAD"
Edited by senior_falcon, Wed May 30, 2018 8:26 PM.