But with the T DW, it ' thinks ' the macro of the key "T" is to implement... That leads thus to it that the macro is again and again ausgefluehrt. Sometimes one cannot break off then the no more. There then only the RESET switch helps. If the error should happen nevertheless times, then only once the BRK key tries in each case. Perhaps thereby the continuous macro can be interrupted nevertheless.
Immediately after pressures of the defined key the respective instruction (or the instruction sequence) is ausgeuehrt. No safety inquiries are made, like when starting programs by Enter.
The Dateil DW.CFG may be longer however never than 1024 byte! Otherwise DW falls schom when starting! Thus watches out. That does not do DW in the place.
In the following still another short description of my current DW.CFG file. First again: the first and last indication are a little hat symbol its! ^! The first little hat must be located also in the first line that last little hat must absolutely be located in its own line!
The first line is thus already times completely beautifully complicated. The first indication is not the little hat, has thus with the actual macro anything to do. Then ' C ' follows. The macro is thus put on the key C. The following blank must the key definition from the actual macro separate. Now only the macro begins. \31 \ is the key code for the mode key to compelled thus leave the macro interpreter DW (one can also say: it pressed for the user the mode key) BLOAD "S2:TXT~ loads the program Text+ (TXT is called and lies on S2:) with me. The tilde ~ replaces the Enter key. Then however not yet the end is reached. Now for the user the key L is pressed and the file name S2:DW.CFG with Enter is entered ~. After the file was loaded now comes the latter, which still makes the macro. It starts the Edit mode of Text+ with E. Summarized the macro loads thus the text editor and the file DW.CFG for treatment. And that, whole from DW with a depressing the key. The first Besipiel shows a lot of the macro language DWMac thus already.
Now further with the macro, which is assigned to the key F. That is a simple macro, shows however that one
Now we regard the macro, that with the exclamation mark ! begins (the key ! is assigned). That is also a fine small thing, on which the intrested reader certainly already came. Only the macro loads a function key definition (BLOAD"S2:fkey) to the place # O, &c008 and starts afterwards again the program DW, thus DiskWorks.
The same principle is used in the macro U. The background clock is only loaded there (activatable with SHIFT keys, remains then in the background and waits for activation). Subsequently, likewise again DiskWorks is started.
A particularly short macro is assigned to the key O. The only action is the pressing of the key with the key code 15. That is nothing one but the off key. Thus O switches the computer out (off).
After the particularly short macro O now times a completely particularly versatile macro, which at first sight not at all particularly looks. It begin with E, leave then with \31 \ DW, start S2:TXT~ and operate there the load function (L) and? Yes, which is that. There does the at sign stand @ after the backslash \! and which is that? Completely simply E stands fur for Edit (, it is clear the editor Text+ loaded) and is to edit a file. But which file? Also completely simply. Indeed the current file, thus the file in the display in highest place stands. Nevertheless is class, or? A universal macro to edit arbitrary files. One for all! Here now however little responsibility is with the user, sometimes because it does not make much sense to traktieren a debugger with the text processing. DW's macro interpreter examines in the place no little! How is it also?
The last macro is completely particularly fur our common friend Gernot written.
Before questions emerge now are to these Steuee still einrnal pointed out that the macros can be implemented and/or started only then, if DiskWorks is active! As soon as DW became to leave (more auBer over general instruction \31 \), can no more macro is implemented. That cannot be desirable also, since otherwise nobody could work more with the PC1600, since when operation assigned keys a macro was constantly implemented. The procedure after the general instruction is in the meantime clear. If the macro were processed, which began with \31 \, ist's past.
Home