Refactoring

This commit is contained in:
romych committed 2026-03-11 23:37:50 +03:00
1 parent fc91bab922
commit b70b02a4be
17 files changed
+460 -3103

No files matched your search

+2 -2
View File
@@ -114,9 +114,9 @@ func (c *ComputerType) Reset() {
}
func (c *ComputerType) Do() uint64 {
func (c *ComputerType) Do() uint32 {
ticks := c.cpu.RunInstruction()
c.cycles += ticks
c.cycles += uint64(ticks)
//pc := c.cpu.GetState().PC
//if pc >= 0xfea3 && pc <= 0xff25 {
// c.cpu.DebugOutput()