1
0
mirror of https://github.com/mnaberez/py65.git synced 2025-01-04 16:30:42 +00:00

Fixed signatures of getc/putc in monitor. Closes #1.

This commit is contained in:
Mike Naberezny 2009-08-06 15:30:16 -07:00
parent 111188dce3
commit 1724b54d05
2 changed files with 7 additions and 2 deletions

View File

@ -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)
- Added ez_setup.py to bootstrap setuptools installation.

View File

@ -86,11 +86,11 @@ class Monitor(cmd.Cmd):
return line
def _install_mpu_observers(self):
def putc(operation, address, value):
def putc(address, value):
self.stdout.write(chr(value))
self.stdout.flush()
def getc(operation, address):
def getc(address):
return getch(self.stdin)
m = ObservableMemory()