Routines 
Prev: $0C3F  Up: Map  Next: $0D91 


$0D67  CLC  Store the base address of the character's buffer at $4E.  
$0D68  ADC #$78  
$0D6A  STA $4F  
$0D6C  LDA #$60  
$0D6E  STA $4E  
$0D70  LDY #$01  Pick up the character's xcoordinate.  
$0D72  LDA ($4E),Y  
$0D74  CMP $75  Is it less than the minimum xcoordinate?  
$0D76  BCC $0D8F  Return with the carry flag reset if so.  
$0D78  INC $76  Increment the maximum xcoordinate at $76. (This is a bug.)  
$0D7A  CMP $76  Is the character's xcoordinate greater than the maximum xcoordinate?  
$0D7C  BCS $0D8F  Return with the carry flag reset if so.  
$0D7E  INY  Pick up the character's ycoordinate.  
$0D7F  LDA ($4E),Y  
$0D81  CMP $73  Is it less than the minimum ycoordinate?  
$0D83  BCC $0D8F  Return with the carry flag reset if so.  
$0D85  INC $74  Increment the maximum ycoordinate at $74. (This is a bug.)  
$0D87  CMP $74  Is the character's ycoordinate greater than the maximum ycoordinate?  
$0D89  BCS $0D8F  Return with the carry flag reset if so.  
$0D8B  SEC  Return with the the carry flag set.  
$0D8C  JMP $0D90  
$0D8F  CLC  Clear the carry flag.  
$0D90  RTS 
Prev: $0C3F  Up: Map  Next: $0D91 