Prev: C45E Up: Map Next: C493
C463: Read The Display Mode
Reads the display mode and checks the picture marker.
ReadDisplayModeForPicture C463 LD A,($A00F) Read the display mode.
This entry point is used by the routine at CheckDisplayParameter.
ReadDisplayModeForPicture_0 C466 CP $05 Jump ahead to ReadDisplayModeForPicture_Next if the display mode is below 05.
C468 LD A,B
C469 JR C,ReadDisplayModeForPicture_Next
C46B CP $6E See whether the count has reached 6E.
C46D RET Return.
Return when the character is the letter j.
ReadDisplayModeForPicture_Next C46E CP $6A See whether the count has reached 6A.
C470 RET Return.
C471 DEFB $30,$09,$00,$00,$88,$02,$00,$00 Token numbers for a clear graphics flag. A zero word is an empty slot, read by GetDisplayAddressBasedOnFlag.
C479 DEFB $EF,$05,$BB,$01,$25,$02,$00,$00
C481 DEFB $17,$05,$00,$00,$5F,$03,$00,$00 Token numbers for a set graphics flag, read by GetDisplayAddressBasedOnFlag.
C489 DEFB $FF,$05,$0B,$06,$00,$00,$00,$00
C491 DEFB $00 Character attribute saved by ProcessDisplayRecord_SaveAttributes and read by GetDisplayAddressBasedOnFlag.
C492 DEFB $00 Object attribute saved by CA2C and read by GetDisplayAddressBasedOnFlag.
Prev: C45E Up: Map Next: C493