1
0
mirror of https://github.com/zellyn/go6502.git synced 2025-03-22 18:30:12 +00:00

gate-level: tweak order of cpu struct fields

This commit is contained in:
Zellyn Hunter 2013-03-11 21:01:03 -07:00
parent 1c6286cfc2
commit faf7b08198

View File

@ -5,16 +5,15 @@ import (
)
type cpu struct {
m icpu.Memory
cycle uint64
nodeValues []byte // Bitmask of node values (see const VAL_* below)
nodeGates [][]uint // the list of transistor indexes attached to a node
nodeC1C2s [][]uint // the list of transistor c1/c2s attached to a node
m icpu.Memory
cycle uint64
nodeValues []byte // Bitmask of node values (see const VAL_* below)
nodeGates [][]uint // the list of transistor indexes attached to a node
nodeC1C2s [][]uint // the list of transistor c1/c2s attached to a node
nodeDependants [][]uint // all C1 and C2 nodes of transistors attached to a node
transistorValues []bool
nodeDependants [][]uint // all C1 and C2 nodes of transistors attached to a node
listIn []uint
listOut []uint