Commodore 128 Programmer's Reference Manual page 428

Hide thumbs Also See for 128:
Table of Contents

Advertisement

418
COMMODORE 128
U
6. $FF90 SETMSG ;Kernal messages on/off
PREPARATION:
j
Registers:
.A = message control
^J
Memory:
system map
Hags:
none
j j
Calls:
none
|J
RESULTS:
Registers:
none
\
Memory:
MSGFLG ($9D) updated
{j
Flags:
none
EXAMPLE:
j
LDA #0
U
JSR $FF90
;turn OFF all Kernal messages
SETMSG updates the Kernal message flag byte MSGFLG ($9D) that deter-
U
mines whether system error and/or control messages will be displayed. BASIC
normally disables error messages always and disables control messages in Run
[ i
mode. Note that the Kernal error messages are not the verbose ones printed by
j
BASIC, but simply the I/O ERROR # message that you see when in the Monitor,
for example. Examples of Kernal control messages are LOADING, FOUND, and
PRESS PLAY ON TAPE. The MSGFLG control bits are:
} I
MSGFLG bit 7 = 1 -» enable CONTROL messages
bit 6 = 1 -> enable ERROR messages
7. $FF93 SECND ;serial: send SA after LISTN
PREPARATION:
Registers:
Memory:
Flags:
Calls:
RESULTS:
Registers:
Memory:
Flags:
EXAMPLE:
LDA #8
JSR $FF81
LDA #15
JSR $FF93
.A = SA (secondary address)
system map
none
LISTN
.A used
STATUS ($90)
none
;LISTN device 8
;pass it SA #15
i!
Lj
u
u

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents