mirror of
https://github.com/KrisKennaway/ii-vision.git
synced 2025-06-15 10:23:36 +00:00
Minor code cleanups
This commit is contained in:
@ -2,24 +2,12 @@
|
||||
|
||||
from typing import Iterator
|
||||
|
||||
import numpy as np
|
||||
|
||||
import screen
|
||||
|
||||
|
||||
class Machine:
|
||||
"""Represents Apple II and player virtual machine state."""
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
memmap: screen.MemoryMap,
|
||||
update_priority: np.array
|
||||
):
|
||||
def __init__(self):
|
||||
self.page = 0x20 # type: int
|
||||
self.content = 0x7f # type: int
|
||||
|
||||
self.memmap = memmap # type: screen.MemoryMap
|
||||
self.update_priority = update_priority # type: np.array
|
||||
|
||||
def emit(self, opcode: "Opcode") -> Iterator[int]:
|
||||
"""
|
||||
|
Reference in New Issue
Block a user