1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-06-09 10:29:35 +00:00
Commit Graph

79 Commits

Author SHA1 Message Date
Mike Naberezny
8dce37f6b8 Fix regular expression warnings on Python 3.12 2024-04-12 12:21:46 -07:00
Mike Naberezny
85ed46fd68 Fix crash formatting traceback 2024-04-12 11:14:09 -07:00
Mike Naberezny
db247b9765 Revert "Remove support for Python 2"
This reverts commit ca02d12fc6.
2023-11-18 15:03:03 -08:00
Mike Naberezny
b710c742ac Remove use of deprecated module asyncore 2023-06-24 08:51:51 -07:00
Mike Naberezny
ca02d12fc6 Remove support for Python 2 2023-06-24 08:34:18 -07:00
Mike Naberezny
1b279ef851 Show an error if a value to fill is out of range 2022-06-16 07:22:25 -07:00
Sam Colwell
853968efbc Duping stdin fd before using fdopen 2019-02-09 16:41:27 -05:00
Sam Colwell
99b7f66070 Moved unbuffered stdin code to console.py 2019-02-09 13:53:34 -05:00
Sam Colwell
0c78f33b43 Trying new method to get unbuffered stdin 2019-02-09 13:04:30 -05:00
Sam Colwell
0436bcde4b clean up comments and indentation 2019-01-12 15:45:15 -05:00
Sam Colwell
db406af2ff Merging upstream master 2019-01-12 15:27:00 -05:00
Sam Colwell
5bebc72a56 Adding try block in Monitor __init__ for cygwin 2019-01-12 15:07:26 -05:00
Sam Colwell
d38831db1f Removing unused imports 2019-01-12 12:58:39 -05:00
Sam Colwell
1e1791652e Comment fixups and remove unused import 2019-01-12 12:48:00 -05:00
Sam Colwell
b6e00ea196 Added fix from mlauke and restored input on ^C 2019-01-12 12:33:00 -05:00
Sam Colwell
a86987eb2d Add string formatting to load option for Windows backslashes 2018-12-03 20:46:28 -05:00
Sam Colwell
a705252440 Moved platform-specific code into utils.console.py as functions 2018-11-07 22:48:17 -05:00
Sam Colwell
c2eb7897bc Change non-blocking reads to have 0.1 second timeout 2018-11-04 12:04:59 -05:00
Sam Colwell
8a0471e45d Move linux termios changes into Monitor._run 2018-11-04 11:50:48 -05:00
Mike Naberezny
6e21008b89 Fix --rom, add tests for argv. Closes #41 2018-06-26 15:52:27 -07:00
BigEd
35e0150e77
fixup indentation 2018-04-15 18:46:12 +01:00
BigEd
5774528125
fixup command line setting of mpu in monitor.py 2018-04-15 18:42:21 +01:00
Irmen de Jong
feeb3efb8a option to set external (existing) memory, options to change or disable getc/putc addresses 2017-08-18 21:39:54 +02:00
Mike Naberezny
70dd9687a9 Catch exception from address overflow in "add_label" command 2016-12-07 09:03:02 -08:00
Mike Naberezny
37cefce91a Catch exception from bad label in "fill" command 2016-12-07 08:57:08 -08:00
Mike Naberezny
9e4fad6588 Remove flag/value duplication 2016-10-07 13:44:56 -07:00
Mike Naberezny
1d031cab3c Set exitstatus 0 for --help 2016-10-07 13:40:33 -07:00
Mike Naberezny
71f41cc0c7 Move defaults outside of getopt try/except block 2016-10-07 13:39:28 -07:00
Mike Naberezny
fe72839124 Remove unnecessary upper()
>>> int('ffff',16)
65535
>>> int('FFFF',16)
65535
2016-10-07 13:38:31 -07:00
Mario Keller
ec2f103188 fixed bug in load and mpu argument order 2016-10-06 23:42:11 +02:00
Mario Keller
cfcc892a64 fixed no mpu set if rom is loaded 2016-10-06 23:32:09 +02:00
Mario Keller
7832a71e72 fixed failing tests 2016-10-06 23:17:28 +02:00
Mario Keller
c43686a532 reordered cmd parsing 2016-10-06 23:12:50 +02:00
Mario Keller
fccd9cd0cf fixed wrong identation caused by tabs 2016-10-06 21:55:42 +02:00
Mario Keller
b7301f6aa7 added -i / -o option to set getc / putc addresses 2016-10-06 18:21:25 +02:00
Mike Naberezny
a6fc48a875 Move help_save() above do_save() 2015-03-21 16:07:13 -07:00
Mike Naberezny
993d542cbf Add workaround for encoding errors in $F001 handler. Closes #29 2015-02-09 23:09:05 -08:00
Mike Naberezny
173b40a809 Fix `py65mon --rom` on Python 3. Closes #28 2015-02-09 21:31:26 -08:00
Mike Naberezny
a167471b46 Rename list_breakpoints to show_breakpoints for parity with show_labels 2014-12-20 15:59:36 -08:00
Mike Naberezny
0eb28bf4dc Fix loading into top of memory and document the feature 2014-12-15 12:08:36 -08:00
Mike Naberezny
e8f5265912 Remove unused variable 2014-12-14 18:08:39 -08:00
Mike Naberezny
a941071c92 Handle overflow when setting registers 2014-12-14 16:44:17 -08:00
Mike Naberezny
1b639ebfd0 Show an error message if load command has no args 2014-12-14 15:58:57 -08:00
Mike Naberezny
9f5cd2e425 Speed up run() by caching in local variables 2014-12-14 15:56:15 -08:00
Mike Naberezny
1586b1808d Speed up run() by using sets for stopcodes and breakpoints 2014-12-14 15:13:14 -08:00
Mike Naberezny
6b67749d50 Add tests for list_breakpoints, minor changes 2014-12-14 11:29:36 -08:00
Mike Naberezny
35307df2fc Fix deleting a breakpoint 2014-12-13 20:06:34 -08:00
Mike Naberezny
f5668891b8 Fix breakpoint number displayed in add_breakpoint 2014-12-13 20:05:58 -08:00
Mike Naberezny
442501f338 Move breakpoints out of AddressParser and into Monitor 2014-12-13 19:44:49 -08:00
Mike Naberezny
586a227b7f Remove unnecessary call to address_for() 2014-12-13 19:09:59 -08:00