File: cpu.mac

package info (click to toggle)
cc65 2.19-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 20,268 kB
  • sloc: ansic: 117,151; asm: 66,339; pascal: 4,248; makefile: 1,009; perl: 607
file content (22 lines) | stat: -rw-r--r-- 843 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
; CPU bitmask constants
CPU_ISET_NONE      = $0001
CPU_ISET_6502      = $0002
CPU_ISET_6502X     = $0004
CPU_ISET_65SC02    = $0008
CPU_ISET_65C02     = $0010
CPU_ISET_65816     = $0020
CPU_ISET_SWEET16   = $0040
CPU_ISET_HUC6280   = $0080
;CPU_ISET_M740     = $0100 not actually implemented
CPU_ISET_4510      = $0200

; CPU capabilities
CPU_NONE           = CPU_ISET_NONE
CPU_6502           = CPU_ISET_6502
CPU_6502X          = CPU_ISET_6502|CPU_ISET_6502X
CPU_65SC02         = CPU_ISET_6502|CPU_ISET_65SC02
CPU_65C02          = CPU_ISET_6502|CPU_ISET_65SC02|CPU_ISET_65C02
CPU_65816          = CPU_ISET_6502|CPU_ISET_65SC02|CPU_ISET_65816
CPU_SWEET16        = CPU_ISET_SWEET16
CPU_HUC6280        = CPU_ISET_6502|CPU_ISET_65SC02|CPU_ISET_65C02|CPU_ISET_HUC6280
CPU_4510           = CPU_ISET_6502|CPU_ISET_65SC02|CPU_ISET_65C02|CPU_ISET_4510