1
0
mirror of https://github.com/mist64/perfect6502.git synced 2024-12-28 11:31:50 +00:00
perfect6502/segdefs.h
Michael Steil 88b9cb9b75 some C
2010-09-22 01:51:38 +00:00

1739 lines
5.4 KiB
C

/*
Copyright (c) 2010 Greg James, Brian Silverman, Barry Silverman
The following is provided under terms of the Creative Commons
Attribution-NonCommercial-ShareAlike 3.0 Unported license:
http://creativecommons.org/licenses/by-nc-sa/3.0/
Specify the original author as Greg James and the following URL
for original source material: www.visual6502.org
*/
BOOL segdefs[] = {
1,
0,
0,
1,
1,
1,
1,
0,
1,
0,
1,
1,
0,
0,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
2,
1,
0,
1,
1,
1,
1,
0,
1,
1,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
1,
0,
1,
1,
1,
1,
0,
1,
0,
1,
0,
0,
1,
1,
1,
0,
0,
1,
1,
1,
1,
1,
1,
0,
0,
1,
1,
0,
0,
0,
0,
1,
1,
1,
0,
1,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
1,
1,
0,
0,
1,
1,
1,
1,
0,
1,
0,
0,
0,
1,
1,
0,
1,
0,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
0,
0,
0,
0,
1,
0,
1,
1,
1,
2,
1,
1,
0,
0,
1,
0,
0,
1,
0,
1,
1,
1,
1,
0,
0,
1,
1,
0,
1,
0,
0,
0,
1,
1,
1,
0,
0,
1,
2,
1,
0,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
0,
1,
1,
0,
0,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
0,
0,
1,
0,
1,
1,
1,
1,
0,
0,
1,
1,
0,
0,
1,
1,
1,
1,
1,
1,
0,
0,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
0,
0,
0,
1,
0,
1,
1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