29.12.2012 Views

The Programmer's Guide to TRSDOS Version 6 - Tim Mann's Home ...

The Programmer's Guide to TRSDOS Version 6 - Tim Mann's Home ...

The Programmer's Guide to TRSDOS Version 6 - Tim Mann's Home ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Bit 5 If set, it indicates that FORMS is active.<br />

Bit 6 If set, it indicates that KSM is active.<br />

Bit 7 Set if printer supports block graphics for screen print.<br />

EFLAG$<br />

This flag byte is used <strong>to</strong> indicate the presence of an Extended Command Interpreter<br />

(ECI) program in the SYS13/SYS slot. A non-zero value indicates that the user's<br />

ECI be used <strong>to</strong> interpret the command line instead of the system's command<br />

interpreter. On entry <strong>to</strong> your ECI, bits 4-6 of this flag are imaged in the<br />

accumula<strong>to</strong>r and are available for immediate test.<br />

IFLAG$<br />

This flag is used in international systems. Bit assignments are:<br />

Bit 0 Set <strong>to</strong> indicate French.<br />

Bit 1 Set <strong>to</strong> indicate German.<br />

Bit 2 Set <strong>to</strong> indicate Swiss.<br />

Bit 3 reserved<br />

Bit 4 reserved<br />

Bit 5 reserved<br />

Bit 6 Special DMP mode on/off.<br />

Bit 7 Set 7-bit ASCII mode on/off.<br />

KFLAG$<br />

Bit 0 Set <strong>to</strong> "1" if BREAK pressed (see KFLAG interfacing and the @CKBRKC SVC-105).<br />

Bit 1 Set <strong>to</strong> "1" if PAUSE pressed (see KFLAG interfacing).<br />

Bit 2 Set <strong>to</strong> "1" if ENTER pressed (see KFLAG interfacing).<br />

Bit 3 Reserved by DOS.<br />

Bit 4 Reserved by DOS.<br />

Bit 5 Set <strong>to</strong> "1" if in CAPS lock mode of the keyboard.<br />

Bit 6 Reserved by DOS.<br />

Bit 7 Set <strong>to</strong> "1" if a character is in the type-ahead buffer.<br />

LFLAG$<br />

Bit 0 If set, FORMAT will not prompt for step rate.<br />

Bit 1 reserved<br />

Bit 2 reserved<br />

Bit 3 reserved<br />

Bit 4 If set, FLOPPY/DCT will inhibit the 8" query.<br />

Bit 5 If set, FORMAT will not prompt for number of sides.<br />

Bit 6 Reserved for Interrupt Mode 2 hardware.<br />

Bit 7 Reserved for Interrupt Mode 2 hardware.<br />

MFLAG$<br />

This flag is machine specific. It is used <strong>to</strong> contain an image of a particular CPU<br />

port. For instance, on the TRS-80 Model 4, this is an image of the MODOUT port<br />

(X'EC').<br />

7-21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!