mirror of
https://github.com/mnaberez/py65.git
synced 2025-01-06 13:31:08 +00:00
Fixed signatures of getc/putc in monitor. Closes #1.
This commit is contained in:
parent
111188dce3
commit
1724b54d05
@ -1,3 +1,8 @@
|
|||||||
|
Next Release
|
||||||
|
|
||||||
|
- Fixed signatures of getc/putc callbacks in monitor that were broken
|
||||||
|
when the ObservableMemory interface changed in 0.3. Closes #1.
|
||||||
|
|
||||||
0.4 (2009-06-06)
|
0.4 (2009-06-06)
|
||||||
|
|
||||||
- Added ez_setup.py to bootstrap setuptools installation.
|
- Added ez_setup.py to bootstrap setuptools installation.
|
||||||
|
@ -86,11 +86,11 @@ class Monitor(cmd.Cmd):
|
|||||||
return line
|
return line
|
||||||
|
|
||||||
def _install_mpu_observers(self):
|
def _install_mpu_observers(self):
|
||||||
def putc(operation, address, value):
|
def putc(address, value):
|
||||||
self.stdout.write(chr(value))
|
self.stdout.write(chr(value))
|
||||||
self.stdout.flush()
|
self.stdout.flush()
|
||||||
|
|
||||||
def getc(operation, address):
|
def getc(address):
|
||||||
return getch(self.stdin)
|
return getch(self.stdin)
|
||||||
|
|
||||||
m = ObservableMemory()
|
m = ObservableMemory()
|
||||||
|
Loading…
Reference in New Issue
Block a user