Seite 1 von 1

SE Basic IV 4.2 Cordelia

Verfasst: 19.05.2019, 13:43
von Luzie
Gefunden über:


SE Basic 4.2 is a BASIC interpreter built on top of the esxDOS 0.8.5 API (it seems to still work with the 0.8.6 API too).

To run it you will need a ZX-Uno, or a 128K Spectrum with the SLAM+ replacement ULA and a divMMC / divIDE running esxDOS. It replaces the standard 32K ROM in the 128K machines.

Re: SE Basic IV 4.2 Cordelia

Verfasst: 23.05.2019, 19:45
von Luzie

User "aowen":

I've created an application package format for SE Basic IV 4.2. I'm considering creating a dot command version that would enable programs that don't depend on the ROM to run on esxDOS as well. Applications are stored as a collection of files and folders within a folder in a top-level folder called PROGRAMS. Application names can be any length and contain any valid FAT32 filename character (including space). In SE Basic, applications are launched with RUN "appname". The dot command equivalent would be .run appname. The application name is truncated to derive the folder and binary filenames and spaces are converted to underscores. The package format is as follows:

|----------- MY_APP_N.AME
|----------- PRG
|----------- MY_APP_N.PRG
|----------- RESOURCE.BIN

The RUN command sets the SP to $6000, loads the binary (PRG file) at $6000, changes the path to the resource (RSC) folder and calls $6000. If the binary fails to load it restores the stack and falls back to BASIC. This means the binary can be up to 40K in length. The binary is then responsible for loading its own resources. The method for passing parameters to the app is to define a variable in BASIC.

This approach has a number of advantages over the single executable file method. For example, with multi-lingual software, only the selected language resources need to be loaded. It is also easy to customize the app without the need to recompile it.

Re: SE Basic IV 4.2 Cordelia

Verfasst: 24.05.2019, 09:09
von dhucke
Ich gebe zu ich habs nicht verstanden :-(
Ist da ein BASIC im esxdos ab 0.8.5 mit eingebaut? welches man über ein .kommando (Dot command) aktivieren kann?

Spectrum 128 habe ich, aber was zum ... ist eine SLAM+ replacement ULA ? :shock:

Re: SE Basic IV 4.2 Cordelia

Verfasst: 24.05.2019, 11:32
von tokabln
Hallo Dieter,

schau mal hier... ist wohl eine Ersatz ULA, ich nehme an ähnlich zur Andy ULA im ZX81 ... oard-21779