solitaire-c64/piles.c65

78 lines
767 B
Text

#IFNDEF __lib_piles
#DEFINE __lib_piles 1
GOTO __skip_lib_piles
// Pile data structures
// byte 0 = count, bytes 1-52 = cards
// Cards use CARD_FACEDOWN bit for face-down flag
LABEL pile_stock
ASM
!fill 53, 0
ENDASM
LABEL pile_waste
ASM
!fill 53, 0
ENDASM
LABEL pile_tab0
ASM
!fill 53, 0
ENDASM
LABEL pile_tab1
ASM
!fill 53, 0
ENDASM
LABEL pile_tab2
ASM
!fill 53, 0
ENDASM
LABEL pile_tab3
ASM
!fill 53, 0
ENDASM
LABEL pile_tab4
ASM
!fill 53, 0
ENDASM
LABEL pile_tab5
ASM
!fill 53, 0
ENDASM
LABEL pile_tab6
ASM
!fill 53, 0
ENDASM
LABEL pile_found0
ASM
!fill 14, 0
ENDASM
LABEL pile_found1
ASM
!fill 14, 0
ENDASM
LABEL pile_found2
ASM
!fill 14, 0
ENDASM
LABEL pile_found3
ASM
!fill 14, 0
ENDASM
LABEL __skip_lib_piles
#IFEND