1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-06-27 11:29:36 +00:00
Commit Graph

515 Commits

Author SHA1 Message Date
kris
4f52c95511 Add functional test cases that exhaustively test BCD mode on 6502 and
65C02 including invalid BCD arguments.

These are

; Written by Bruce Clark.  This code is public domain.
; see http://www.6502.org/tutorials/decimal_mode.html

and obtained via Klaus Dormann's
https://github.com/Klaus2m5/6502_65C02_functional_tests
2017-07-22 23:40:05 +01:00
kris
666cd9cd99 Use the decimally adjusted aluresult to compute the value of flags.
This fixes various bugs with ADC/SBC in decimal mode found by Klaus
Dormann's test suite.
2017-05-11 22:43:08 +01:00
kris
32896cc139 Support tracing execution for particular PC values. Use this to
trace the execution of the currently failing decimal-mode ADC test,
see https://github.com/mnaberez/py65/issues/33
2017-05-11 22:01:33 +01:00
kris
5e7ade9cb9 Add support for optionally tracing execution 2017-05-11 21:55:29 +01:00
User Apple2
33b48ffbfb Merge branch 'master' of https://github.com/mnaberez/py65 2017-05-10 23:19:44 +00:00
kris
7fec386d42 Test harness for executing Klaus Dormann's 6502-based test suites, see
https://github.com/Klaus2m5/6502_65C02_functional_tests for source
and binary images (GPL'ed so not committing here)

The 65C02 one currently is not passing.
2017-05-10 23:16:23 +01:00
Mike Naberezny
9d59f057d3 Fix Z flag handling for TSB and TRB. Closes #32 2017-05-08 17:08:38 -07:00
Mike Naberezny
16d21704cc Fix typo in test names 2017-05-08 17:01:55 -07:00
Mike Naberezny
bd2bef179c Add Mario to the contributors list 2016-12-07 10:03:24 -08: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
60921f9691 Add changelog entry for #30 2016-10-07 13:50:29 -07:00
Mike Naberezny
52a23b0958 Add changelog entry for #31 2016-10-07 13:48:00 -07: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
BigEd
71073be244 Merge pull request #31 from mkeller0815/master
Fixing order dependencies of commandline args
2016-10-07 08:41:59 +01: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
7cf6e09824 Merge remote-tracking branch 'upstream/master' 2016-10-06 23:21:00 +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
BigEd
4b093c232b Merge pull request #30 from mkeller0815/master
added -i / -o option to set getc / putc addresses
2016-10-06 21:01:15 +01: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
13f60394b6 Fix typo in Travis env for Python 2.7 2016-01-30 10:49:13 -08:00
Mike Naberezny
4263972ad9 Fix Travis build on Python 3.5 2016-01-30 10:47:41 -08:00
Mike Naberezny
3634807647 Fix Travis build on Python 3.5 2016-01-30 10:41:57 -08:00
Mike Naberezny
ee0e922689 Fix Travis build on Python 3.2 2016-01-30 10:36:01 -08:00
Mike Naberezny
32871f75e8 Add Python 3.5 to tox.ini and travis.yml 2016-01-30 10:31:32 -08:00
Mike Naberezny
0ba44d35f0 Remove unused variable 2016-01-30 10:29:07 -08:00
Mike Naberezny
845452ccd7 Back to .dev0 until next release 2015-03-31 13:14:42 -07:00
Mike Naberezny
bc32754899 Prepare 0.24 release 2015-03-31 13:12:14 -07:00
Mike Naberezny
dcb99ddad7 Mark this package as a universal wheel 2015-03-31 12:06:48 -07:00
Mike Naberezny
a6fc48a875 Move help_save() above do_save() 2015-03-21 16:07:13 -07:00
Mike Naberezny
459ee44636 Back to -dev until next release 2015-02-09 23:12:35 -08:00
Mike Naberezny
fd13b4ab2c Prepare 0.23 release 2015-02-09 23:11:22 -08:00
Mike Naberezny
993d542cbf Add workaround for encoding errors in $F001 handler. Closes #29 2015-02-09 23:09:05 -08:00
Mike Naberezny
a88b2d8b24 Back to -dev until next release 2015-02-09 21:37:26 -08:00
Mike Naberezny
041576277e Prepare 0.22 release 2015-02-09 21:35:59 -08:00
Mike Naberezny
173b40a809 Fix `py65mon --rom` on Python 3. Closes #28 2015-02-09 21:31:26 -08:00
Mike Naberezny
69f243265f Fix typo 2015-02-09 15:42:43 -08:00
Mike Naberezny
8bebfa28f8 Back to -dev until next release 2015-02-09 15:14:42 -08:00
Mike Naberezny
66768f5ca4 Prepare 0.21 release 2015-02-09 15:10:58 -08:00
Mike Naberezny
915b3b6b44 Fix console input when run under Python 3 on Windows. Closes #27 2015-02-09 15:07:47 -08:00
Mike Naberezny
716eeb4248 Add changelog entry for 23bd9b9a39 2014-12-21 15:40:15 -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
603fd31a74 Add test for run path without breakpoints 2014-12-19 21:32:12 -08:00
Mike Naberezny
de37edae97 Add test for WAI instruction 2014-12-18 22:24:06 -08:00