Please enable JavaScript to view this site.

A-Shell Development History

1. (Windows) MIAMEX MX'FIND xxxx functions (20 and 21) now return the full filename (up to 32 characters) instead of the DOS-alternate name when the filename is longer than 6 characters.  This affects the output of DIR/D.  (Previously, if the filename was "LONGFILENAME.DAT" it would have displayed in DIR/D as "LONGFI~1.dat".)

2. Add MSGBOX.SBX (including source, map file, and test program TSTMSG) to the collection of samples (DSK0:[7,376]).  This is a very handy subroutine for displaying Windows-style message boxes with various button combinations (OK, YES/NO, RETRY/CANCEL, etc.)  It also works under UNIX/Linux (where INMEMO free-form menu mode is used to simulate the Windows dialog box.)

3. (Windows) Increase the maximum amount of text supported by the standard message box (using TAB(-10,17) or MSGBOX.SBX) from 200 to 1024.

4. (Windows) If no printer init file (SYS:<name>.INI or ASHCFG:<name>.PQI) is found, we now attempt to interpret it as if the specified printer name was the DEVICE= name.  Also, in this case we set the default PASSTHROUGH value to OFF and the default PITCH to AUTO, since it is most likely that this feature would be used with GDI-style printing. As a further convenience, if the printer name is PROMPT, it will be interpreted as DEVICE=PROMPT: (i.e. a colon will be appended so that we pop up the printer selection dialog.)

To make this capability more useful, the printer name specified to SPOOL.SBR or EZSPL.SBR can now be up to 64 characters.

The default MIAME.INI file now sets the default printer to PROMPT.  Thus you don't need to supply a default printer init file, but you can still customize the settings for a printer named "PROMPT".

5. PRINT.LIT 2.5(118) now supports the /LANDSCAPE and /NOLANDSCAPE switches, as well as printer names up to 64 characters.

6. (Windows) A new MIAMEX function implements Windows-style buttons:

xcall MIAMEX, 119, OPCODE, BTNID, BTNTXT, STATE, TYPE, CMD, FUNC, STATUS, SROW, SCOL, EROW, ECOL

See the new XCALL Reference document for details.

7. (Windows) A new MIAME function to select a Windows printer:

XCALL MIAMEX, 120, STATUS, PRINTER, PORT, DRIVER

This pops up a standard Windows printer selection dialog to select a printer. This might be useful for building your own printer init files, or in conjunction with the ability just described above (to specify Windows printer names rather than AMOS-style ones).