|85h||DP$UDG||define of read UDG|
|Input||A register - 0 for 8 byte pattern, 1 for
Bit 7 set to READ (8 bytes always).
B register - The UDG to define (0 - 7).
X register - points to the 8 or 5 byte pattern.
|Output||- none -|
Defines or reads a UDG.
If the top bit of A is clear - Defines UDG B with the pattern at X.
UDGs are 5 pixels wide by 8 pixels high.
If top bit of A is set - Reads UDG B into buffer at X (using 8 bytes always).
Note that interrupts are disabled in DP$UDG.
This call is not available on CM/XP machines.
Defines UDG 0 as the underlined bell icon.
CLRB CLRA ;use 8 bytes LDX #UDG OS DP$UDG RTS UDG: DB 04h,0Eh,0Eh,1Fh,1Fh,04h,00h,1FhDefine the same UDG in 5 bytes.
CLRB LDAA #1 ;use 5 bytes LDX #UDG OS DP$UDG RTS UDG: DB 19h,79h,fdh,79h,19h
|Errors||- none -|