[{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287572468","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287572468","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287572468,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzU3MjQ2OA==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-18T20:27:14Z","updated_at":"2017-03-18T20:51:30Z","body":"Results from Stellerator.\r\n\r\nFirst 5 ROMs all match current git, which is wrong compared to real hardware.  Also, some numbers seems to be misdrawn a little, particularly '4', which seems to have a bar over it.\r\n\r\ntestTIMINT_flawed.bin is same as hardware.\r\n\r\ntestTIMINT_withDelay is the same as Stella 4.7.3 and real hardware.  So there is a regression in git.\r\n\r\ntimer_test.bas.bin: Unable to see any values on 1024T, as the screen is shifted down too far.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287572468/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287572960","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287572960","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287572960,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzU3Mjk2MA==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-18T20:35:43Z","updated_at":"2017-03-18T20:56:56Z","body":"Results from MAME.\r\n\r\n<pre>\r\n   ROM              Hardware         MAME\r\ntest1.bas.bin        192246         128245\r\ntest2.bas.bin        064249         128248\r\ntest3.bas.bin        192248         128247\r\ntest4.bas.bin        192245         128244\r\ntest5.bas.bin        192245         128244\r\n</pre>\r\nFirst 3 digits always the same, possibly indicating that nothing is being emulated there. Second 3 digits off by 1 (1 too low) in all cases.\r\n\r\n<pre>\r\ntestTIMINT_flawed.bin    Same as real hardware\r\n</pre>\r\n\r\n<pre>\r\ntestTIMINT_withDelay.bin\r\n\r\nHardware         MAME\r\n0/80/0          0/80/0         Same as hardware, but only after a few seconds pass\r\n0/0/(1..254)    0/0/(1..254)   Same as hardware    \r\n0/80/255        0/0/255        Error, doesn't have 80 at 255.\r\n</pre>\r\n\r\n<pre>\r\ntimer_test.bas.bin\r\n\r\nHardware              MAME (same as Stella, incorrect)\r\n1024T (0's on FF-FB)  1024T (5121,5122,5123,5124,5125 on FF-FB)\r\n</pre>\r\n","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287572960/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287573477","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287573477","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287573477,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzU3MzQ3Nw==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-18T20:44:41Z","updated_at":"2017-03-18T20:53:36Z","body":"Results from Javatari.\r\n\r\n<pre>\r\n   ROM              Hardware         Javatari\r\ntest1.bas.bin        192246         192245\r\ntest2.bas.bin        064249         192248\r\ntest3.bas.bin        192248         192247\r\ntest4.bas.bin        192245         192244\r\ntest5.bas.bin        192245         192244\r\n</pre>\r\nFirst 3 digits always the same, possibly indicating that nothing is being emulated there.  Second 3 digits off by 1 (1 too low) in all cases.\r\n\r\n<pre>\r\ntestTIMINT_flawed.bin    0/80\r\n</pre>\r\nAfter is 80, indicating TIMINT probably not emulated at all.\r\n\r\n<pre>\r\ntestTIMINT_withDelay.bin\r\n\r\nHardware     Javatari\r\n0/80/0        0/80/x\r\n</pre>\r\nAfter is always 80 no matter the delay, indicating TIMINT probably not emulated at all.\r\n\r\n<pre>\r\ntimer_test.bas.bin\r\n</pre>\r\nMany values incorrect, but almost always off by 1.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287573477/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287573778","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287573778","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287573778,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzU3Mzc3OA==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-18T20:49:33Z","updated_at":"2017-03-18T20:54:14Z","body":"Results from z26.\r\n\r\n<pre>\r\n   ROM              Hardware         z26\r\ntest1.bas.bin        192246         000246\r\ntest2.bas.bin        064249         000249\r\ntest3.bas.bin        192248         000248\r\ntest4.bas.bin        192245         000245\r\ntest5.bas.bin        192245         000245\r\n</pre>\r\nFirst 3 digits always the same, possibly indicating that nothing is being emulated there.  Second 3 digits same as hardware.\r\n\r\n<pre>\r\ntestTIMINT_flawed.bin    0/80\r\n</pre>\r\nAfter is 80, indicating TIMINT probably not emulated at all.\r\n\r\n<pre>\r\ntestTIMINT_withDelay.bin\r\n\r\nHardware     z26\r\n0/80/0      0/80/x\r\n</pre>\r\nAfter is always 80 no matter the delay, indicating TIMINT probably not emulated at all.\r\n\r\n<pre>\r\ntimer_test.bas.bin\r\n</pre>\r\nSame as Stella git, wrong in the same places compared to hardware.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287573778/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287575841","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287575841","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287575841,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzU3NTg0MQ==","user":{"login":"thrust26","id":24360774,"node_id":"MDQ6VXNlcjI0MzYwNzc0","avatar_url":"https://avatars.githubusercontent.com/u/24360774?v=4","gravatar_id":"","url":"https://api.github.com/users/thrust26","html_url":"https://github.com/thrust26","followers_url":"https://api.github.com/users/thrust26/followers","following_url":"https://api.github.com/users/thrust26/following{/other_user}","gists_url":"https://api.github.com/users/thrust26/gists{/gist_id}","starred_url":"https://api.github.com/users/thrust26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrust26/subscriptions","organizations_url":"https://api.github.com/users/thrust26/orgs","repos_url":"https://api.github.com/users/thrust26/repos","events_url":"https://api.github.com/users/thrust26/events{/privacy}","received_events_url":"https://api.github.com/users/thrust26/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-18T21:23:45Z","updated_at":"2017-03-18T21:23:45Z","body":"Where are those coming from? The code is from Omegamatrix, did he explain what he is doing?","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287575841/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287576157","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287576157","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287576157,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzU3NjE1Nw==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-18T21:28:38Z","updated_at":"2017-03-18T21:28:38Z","body":"He probably did, but I don't remember now.  I only happened to find the ROMs at all because I was going through an old SDHC card I found.  Maybe if we can track down where they came from, we can add documentation to this thread.  I know it was something on AtariAge ...","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287576157/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287576243","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287576243","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287576243,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzU3NjI0Mw==","user":{"login":"thrust26","id":24360774,"node_id":"MDQ6VXNlcjI0MzYwNzc0","avatar_url":"https://avatars.githubusercontent.com/u/24360774?v=4","gravatar_id":"","url":"https://api.github.com/users/thrust26","html_url":"https://github.com/thrust26","followers_url":"https://api.github.com/users/thrust26/followers","following_url":"https://api.github.com/users/thrust26/following{/other_user}","gists_url":"https://api.github.com/users/thrust26/gists{/gist_id}","starred_url":"https://api.github.com/users/thrust26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrust26/subscriptions","organizations_url":"https://api.github.com/users/thrust26/orgs","repos_url":"https://api.github.com/users/thrust26/repos","events_url":"https://api.github.com/users/thrust26/events{/privacy}","received_events_url":"https://api.github.com/users/thrust26/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-18T21:29:49Z","updated_at":"2017-03-18T21:29:49Z","body":"Found the thread:\r\nhttp://atariage.com/forums/topic/202736-create-roms-to-determine-correct-intimtimint-behaviour/#entry2597871","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287576243/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287580978","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287580978","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287580978,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzU4MDk3OA==","user":{"login":"DirtyHairy","id":2444224,"node_id":"MDQ6VXNlcjI0NDQyMjQ=","avatar_url":"https://avatars.githubusercontent.com/u/2444224?v=4","gravatar_id":"","url":"https://api.github.com/users/DirtyHairy","html_url":"https://github.com/DirtyHairy","followers_url":"https://api.github.com/users/DirtyHairy/followers","following_url":"https://api.github.com/users/DirtyHairy/following{/other_user}","gists_url":"https://api.github.com/users/DirtyHairy/gists{/gist_id}","starred_url":"https://api.github.com/users/DirtyHairy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirtyHairy/subscriptions","organizations_url":"https://api.github.com/users/DirtyHairy/orgs","repos_url":"https://api.github.com/users/DirtyHairy/repos","events_url":"https://api.github.com/users/DirtyHairy/events{/privacy}","received_events_url":"https://api.github.com/users/DirtyHairy/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-18T22:56:09Z","updated_at":"2017-03-18T22:56:09Z","body":"Interesting stuff, seems I messed something up with TIMINT emulation in Stella :smirk: The thread contains a wealth of information, too tired today, I'll go through it later these days. Some quick observations:\r\n\r\n* It seems the first three digits in test1 - test5 are the interrupt flags, and the missing 0x40 is the PA7 flag. Somehow, this seems to get triggered on real hardware. At least for 6502.ts, the lack of PA7 is unsurprising as it is not emulated at all :smile:\r\n* It seems I have messed something up in TIMINT emulation\r\n* I think the flawed digits in 6502.ts may be due to inaccuracies in the CPU emulation --- either RMW instructions or undocumented opcodes.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287580978/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287581247","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287581247","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287581247,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzU4MTI0Nw==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-18T23:00:59Z","updated_at":"2017-03-18T23:00:59Z","body":"Well, I only see one regression from Stella 4.7.3 to 5; some of the other stuff has been broken in Stella for some time.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287581247/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287625143","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287625143","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287625143,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzYyNTE0Mw==","user":{"login":"thrust26","id":24360774,"node_id":"MDQ6VXNlcjI0MzYwNzc0","avatar_url":"https://avatars.githubusercontent.com/u/24360774?v=4","gravatar_id":"","url":"https://api.github.com/users/thrust26","html_url":"https://github.com/thrust26","followers_url":"https://api.github.com/users/thrust26/followers","following_url":"https://api.github.com/users/thrust26/following{/other_user}","gists_url":"https://api.github.com/users/thrust26/gists{/gist_id}","starred_url":"https://api.github.com/users/thrust26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrust26/subscriptions","organizations_url":"https://api.github.com/users/thrust26/orgs","repos_url":"https://api.github.com/users/thrust26/repos","events_url":"https://api.github.com/users/thrust26/events{/privacy}","received_events_url":"https://api.github.com/users/thrust26/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-19T15:41:45Z","updated_at":"2017-03-19T15:41:45Z","body":"<pre>\r\n   ROM              Hardware         Stella git        Stella 4.7.3\r\ntest1.bas.bin        192246            128246          Same as git\r\ntest2.bas.bin        064249            000249          Same as git\r\ntest3.bas.bin        192248            128248          Same as git\r\ntest4.bas.bin        192245            128245          Same as git\r\ntest5.bas.bin        192245            128245          Same as git\r\n</pre>\r\n\r\nIt seems that bit 6 of TIMINT is either simply reversed or not emulated at all. \r\n\r\nI doubt any existing code (besides the test programs) ever checks this flag. Therefore I wonder if emulating PA7 etc. correctly should have high priority. If so, then we should extend vcs.h too. Various addresses ($286, $287, $28c, $29c..$29f) are missing.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287625143/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287626102","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287626102","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287626102,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzYyNjEwMg==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-19T15:55:55Z","updated_at":"2017-03-19T15:55:55Z","body":"I do have some code that does something with bit 6 of TIMINT (aka PA7), and it does have some effect.  In particular, as mentioned in the thread, moving the joystick right seems to cause the digits to 'wiggle' in one of the ROMs, which we determined was related to PA7.  None of the other emulators would do that, but Stella did once I added the PA7 code.  Now, it may still be incomplete, but it is at least partially working.\r\n\r\nAs for the priority, well it can probably be low for now.  I just wanted to have everything documented in github instead of spread all over AtariAge.  You notice that I forgot about the issue completely until I happened across the test ROMs.\r\n\r\nActually, I'm much more concerned about the last test, where it displays numbers 5121, 5122, ... , instead of 0's.  This seems to be an INTIM issue, not TIMINT.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287626102/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287627062","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287627062","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287627062,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzYyNzA2Mg==","user":{"login":"thrust26","id":24360774,"node_id":"MDQ6VXNlcjI0MzYwNzc0","avatar_url":"https://avatars.githubusercontent.com/u/24360774?v=4","gravatar_id":"","url":"https://api.github.com/users/thrust26","html_url":"https://github.com/thrust26","followers_url":"https://api.github.com/users/thrust26/followers","following_url":"https://api.github.com/users/thrust26/following{/other_user}","gists_url":"https://api.github.com/users/thrust26/gists{/gist_id}","starred_url":"https://api.github.com/users/thrust26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrust26/subscriptions","organizations_url":"https://api.github.com/users/thrust26/orgs","repos_url":"https://api.github.com/users/thrust26/repos","events_url":"https://api.github.com/users/thrust26/events{/privacy}","received_events_url":"https://api.github.com/users/thrust26/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-19T16:09:53Z","updated_at":"2017-03-19T16:25:49Z","body":"OK, then lets concentrate on INTIM first.\r\n\r\nUnfortunately I have no clue how Michael's Basic code works (yet?). The logic is indeed \"a bit difficult to follow\". :(","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287627062/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287645226","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287645226","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287645226,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzY0NTIyNg==","user":{"login":"DirtyHairy","id":2444224,"node_id":"MDQ6VXNlcjI0NDQyMjQ=","avatar_url":"https://avatars.githubusercontent.com/u/2444224?v=4","gravatar_id":"","url":"https://api.github.com/users/DirtyHairy","html_url":"https://github.com/DirtyHairy","followers_url":"https://api.github.com/users/DirtyHairy/followers","following_url":"https://api.github.com/users/DirtyHairy/following{/other_user}","gists_url":"https://api.github.com/users/DirtyHairy/gists{/gist_id}","starred_url":"https://api.github.com/users/DirtyHairy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirtyHairy/subscriptions","organizations_url":"https://api.github.com/users/DirtyHairy/orgs","repos_url":"https://api.github.com/users/DirtyHairy/repos","events_url":"https://api.github.com/users/DirtyHairy/events{/privacy}","received_events_url":"https://api.github.com/users/DirtyHairy/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-19T20:32:39Z","updated_at":"2017-03-19T20:34:31Z","body":"I haven taken the time to read through the thread now. I think we can tick off test1 - test5. @sa666666 , in this thread you already arrived at the conclusion that, on real harware, PA7 varies after power on, so sometimes you get 128, and sometimes you get 192. I'll test for myself later, but that sounds very reasonable. Actually, thinking about this, it may even be that PA7 is always raised if starting from the harmony menu... :smirk:\r\n\r\nAs for the 1024T stuff, I have no clue. I, too, took a look at the Basic code and also failed to understand what is actually happening. As SeaGtGruff mentions, this has the smell of something going wrong in the test code itself, but of course, the difference still indicates an emulation failure somewhere. I just am not convinced that it actually is the timer that is wrong: it may be something entirely different (like an edge case in an undocumented opcode).","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287645226/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287646554","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287646554","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287646554,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzY0NjU1NA==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-19T20:52:07Z","updated_at":"2017-03-19T20:52:07Z","body":"The PA7 code I added was strictly based on the documentation I had (which we've recently found to be incomplete at times).  So there's that.  Plus, it was only to get the 'wiggling' digit working (hmm, that sounds worse that it really is :smiling_imp:).  I may look into this further if I find time, but as you say, it might also be an artifact of using the Harmony.\r\n\r\nAgreed on the last test ROM as well; it was wonky from the start, but still indicates incorrect emulation of something, somewhere.\r\n\r\nHowever, there's still another issue with testTIMINT_withDelay.bin, where it worked in 4.7.3 and not in 5.0.  I think the code I added was the following, which was basically a hack that emulated observed behaviour, not the underlying reason:\r\n<pre>\r\n// Return at 'divide by 1' rate\r\nuInt8 divByOne = timer & 0xff;\r\n\r\n// Timer flag has been updated; don't update it again on TIMINT read\r\nif(divByOne != 0 && divByOne != 255)\r\n  myTimerFlagValid = true;\r\n</pre>","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287646554/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287648662","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287648662","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287648662,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzY0ODY2Mg==","user":{"login":"thrust26","id":24360774,"node_id":"MDQ6VXNlcjI0MzYwNzc0","avatar_url":"https://avatars.githubusercontent.com/u/24360774?v=4","gravatar_id":"","url":"https://api.github.com/users/thrust26","html_url":"https://github.com/thrust26","followers_url":"https://api.github.com/users/thrust26/followers","following_url":"https://api.github.com/users/thrust26/following{/other_user}","gists_url":"https://api.github.com/users/thrust26/gists{/gist_id}","starred_url":"https://api.github.com/users/thrust26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrust26/subscriptions","organizations_url":"https://api.github.com/users/thrust26/orgs","repos_url":"https://api.github.com/users/thrust26/repos","events_url":"https://api.github.com/users/thrust26/events{/privacy}","received_events_url":"https://api.github.com/users/thrust26/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-19T21:22:11Z","updated_at":"2017-03-19T21:22:11Z","body":"Since I don't understand the code, I watched the test for 1024T in the debugger. I notice that it takes several 10,000 cycles to detect each value until 5121. The following 4 values are detected within just a few 100 cycles. So it seems something goes wrong here.\r\n","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287648662/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287649337","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287649337","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287649337,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzY0OTMzNw==","user":{"login":"DirtyHairy","id":2444224,"node_id":"MDQ6VXNlcjI0NDQyMjQ=","avatar_url":"https://avatars.githubusercontent.com/u/2444224?v=4","gravatar_id":"","url":"https://api.github.com/users/DirtyHairy","html_url":"https://github.com/DirtyHairy","followers_url":"https://api.github.com/users/DirtyHairy/followers","following_url":"https://api.github.com/users/DirtyHairy/following{/other_user}","gists_url":"https://api.github.com/users/DirtyHairy/gists{/gist_id}","starred_url":"https://api.github.com/users/DirtyHairy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirtyHairy/subscriptions","organizations_url":"https://api.github.com/users/DirtyHairy/orgs","repos_url":"https://api.github.com/users/DirtyHairy/repos","events_url":"https://api.github.com/users/DirtyHairy/events{/privacy}","received_events_url":"https://api.github.com/users/DirtyHairy/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-19T21:32:14Z","updated_at":"2017-03-19T21:32:14Z","body":"Hah, at least for the regression: nailed it :smile: Seems I forgot to reimplement the \r\n\r\n> However,  the reading of the timer at the same time the interrupt occurs will not reset the interrupt flag\"\r\n\r\npart in the datasheet. It was hidden in the snipped Stephen quoted above, but I failed to see it and subsequently forgot to reimplement it. Omegamatrix' test is checking precisely that: an INTIM read is performed at the very clock the timer wraps (plus an eventual delay, that's why the flag reads 0x00 if the delay is nonzero).\r\n\r\nFixed in 317169c . In 6502.ts, I properly implemented this from the start, that explains the difference.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287649337/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287650808","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287650808","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287650808,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzY1MDgwOA==","user":{"login":"thrust26","id":24360774,"node_id":"MDQ6VXNlcjI0MzYwNzc0","avatar_url":"https://avatars.githubusercontent.com/u/24360774?v=4","gravatar_id":"","url":"https://api.github.com/users/thrust26","html_url":"https://github.com/thrust26","followers_url":"https://api.github.com/users/thrust26/followers","following_url":"https://api.github.com/users/thrust26/following{/other_user}","gists_url":"https://api.github.com/users/thrust26/gists{/gist_id}","starred_url":"https://api.github.com/users/thrust26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrust26/subscriptions","organizations_url":"https://api.github.com/users/thrust26/orgs","repos_url":"https://api.github.com/users/thrust26/repos","events_url":"https://api.github.com/users/thrust26/events{/privacy}","received_events_url":"https://api.github.com/users/thrust26/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-19T21:53:31Z","updated_at":"2017-03-19T21:54:14Z","body":"Cool. One less to go.\r\n\r\nComing back to the 1024T test: The test runs ~3 sec in Stella and ~11 sec on real hardware. This fits to the (too) fast detection of the last 4 values in Stella.\r\n\r\nBTW: Stellerator delivers the same values as Stella.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287650808/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287651610","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287651610","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287651610,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzY1MTYxMA==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-19T22:04:47Z","updated_at":"2017-03-19T22:04:47Z","body":"How are you able to see the results from Stellerator?  For me, the screen shifts down and I can't see any of the output values at all.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287651610/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287651824","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287651824","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287651824,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzY1MTgyNA==","user":{"login":"thrust26","id":24360774,"node_id":"MDQ6VXNlcjI0MzYwNzc0","avatar_url":"https://avatars.githubusercontent.com/u/24360774?v=4","gravatar_id":"","url":"https://api.github.com/users/thrust26","html_url":"https://github.com/thrust26","followers_url":"https://api.github.com/users/thrust26/followers","following_url":"https://api.github.com/users/thrust26/following{/other_user}","gists_url":"https://api.github.com/users/thrust26/gists{/gist_id}","starred_url":"https://api.github.com/users/thrust26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrust26/subscriptions","organizations_url":"https://api.github.com/users/thrust26/orgs","repos_url":"https://api.github.com/users/thrust26/repos","events_url":"https://api.github.com/users/thrust26/events{/privacy}","received_events_url":"https://api.github.com/users/thrust26/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-19T22:07:59Z","updated_at":"2017-03-19T22:08:09Z","body":"Define the cart as PAL. Then you get a rolling result screen.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287651824/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287654488","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287654488","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287654488,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzY1NDQ4OA==","user":{"login":"DirtyHairy","id":2444224,"node_id":"MDQ6VXNlcjI0NDQyMjQ=","avatar_url":"https://avatars.githubusercontent.com/u/2444224?v=4","gravatar_id":"","url":"https://api.github.com/users/DirtyHairy","html_url":"https://github.com/DirtyHairy","followers_url":"https://api.github.com/users/DirtyHairy/followers","following_url":"https://api.github.com/users/DirtyHairy/following{/other_user}","gists_url":"https://api.github.com/users/DirtyHairy/gists{/gist_id}","starred_url":"https://api.github.com/users/DirtyHairy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirtyHairy/subscriptions","organizations_url":"https://api.github.com/users/DirtyHairy/orgs","repos_url":"https://api.github.com/users/DirtyHairy/repos","events_url":"https://api.github.com/users/DirtyHairy/events{/privacy}","received_events_url":"https://api.github.com/users/DirtyHairy/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-19T22:47:01Z","updated_at":"2017-03-19T22:47:01Z","body":"> Define the cart as PAL. Then you get a rolling result screen.\r\n\r\nI have been long planning to add an option for configuring frame start manually :smiley: ","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287654488/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287662697","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287662697","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287662697,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzY2MjY5Nw==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-20T01:05:15Z","updated_at":"2017-03-20T01:05:15Z","body":"Posting the batari basic code for the ROM with the 1024T issue, since it may be missed:\r\n[timer_test.bas.zip](https://github.com/stella-emu/stella/files/853744/timer_test.bas.zip)\r\n\r\n","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287662697/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287734819","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287734819","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287734819,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzczNDgxOQ==","user":{"login":"thrust26","id":24360774,"node_id":"MDQ6VXNlcjI0MzYwNzc0","avatar_url":"https://avatars.githubusercontent.com/u/24360774?v=4","gravatar_id":"","url":"https://api.github.com/users/thrust26","html_url":"https://github.com/thrust26","followers_url":"https://api.github.com/users/thrust26/followers","following_url":"https://api.github.com/users/thrust26/following{/other_user}","gists_url":"https://api.github.com/users/thrust26/gists{/gist_id}","starred_url":"https://api.github.com/users/thrust26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrust26/subscriptions","organizations_url":"https://api.github.com/users/thrust26/orgs","repos_url":"https://api.github.com/users/thrust26/repos","events_url":"https://api.github.com/users/thrust26/events{/privacy}","received_events_url":"https://api.github.com/users/thrust26/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-20T11:31:37Z","updated_at":"2017-03-20T11:31:37Z","body":"The only code that I was able to identify which may(!) cause a problem is:\r\n`   lda INTIM-255,y ; with Y=255`\r\n\r\nMaybe there is a timing problem when doing an indexed read?","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287734819/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287745209","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287745209","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287745209,"node_id":"MDEyOklzc3VlQ29tbWVudDI4Nzc0NTIwOQ==","user":{"login":"DirtyHairy","id":2444224,"node_id":"MDQ6VXNlcjI0NDQyMjQ=","avatar_url":"https://avatars.githubusercontent.com/u/2444224?v=4","gravatar_id":"","url":"https://api.github.com/users/DirtyHairy","html_url":"https://github.com/DirtyHairy","followers_url":"https://api.github.com/users/DirtyHairy/followers","following_url":"https://api.github.com/users/DirtyHairy/following{/other_user}","gists_url":"https://api.github.com/users/DirtyHairy/gists{/gist_id}","starred_url":"https://api.github.com/users/DirtyHairy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirtyHairy/subscriptions","organizations_url":"https://api.github.com/users/DirtyHairy/orgs","repos_url":"https://api.github.com/users/DirtyHairy/repos","events_url":"https://api.github.com/users/DirtyHairy/events{/privacy}","received_events_url":"https://api.github.com/users/DirtyHairy/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-20T12:28:20Z","updated_at":"2017-03-20T12:28:20Z","body":"@thrust26 Do you perchance know the instruction sequence that this was assembled to?","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287745209/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287747735","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287747735","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287747735,"node_id":"MDEyOklzc3VlQ29tbWVudDI4Nzc0NzczNQ==","user":{"login":"thrust26","id":24360774,"node_id":"MDQ6VXNlcjI0MzYwNzc0","avatar_url":"https://avatars.githubusercontent.com/u/24360774?v=4","gravatar_id":"","url":"https://api.github.com/users/thrust26","html_url":"https://github.com/thrust26","followers_url":"https://api.github.com/users/thrust26/followers","following_url":"https://api.github.com/users/thrust26/following{/other_user}","gists_url":"https://api.github.com/users/thrust26/gists{/gist_id}","starred_url":"https://api.github.com/users/thrust26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrust26/subscriptions","organizations_url":"https://api.github.com/users/thrust26/orgs","repos_url":"https://api.github.com/users/thrust26/repos","events_url":"https://api.github.com/users/thrust26/events{/privacy}","received_events_url":"https://api.github.com/users/thrust26/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-20T12:40:48Z","updated_at":"2017-03-20T12:44:40Z","body":"b9 85 01\r\n\r\nStella disassembles this into: LDA ram_85|$100,Y\r\n\r\nBoth look fine to me.  It executes in 5 cycles, but there is an intentional page penalty, maybe this gets missed and the timer is read one cycle to early. Though in the debugger it seems OK.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287747735/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287749601","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287749601","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287749601,"node_id":"MDEyOklzc3VlQ29tbWVudDI4Nzc0OTYwMQ==","user":{"login":"DirtyHairy","id":2444224,"node_id":"MDQ6VXNlcjI0NDQyMjQ=","avatar_url":"https://avatars.githubusercontent.com/u/2444224?v=4","gravatar_id":"","url":"https://api.github.com/users/DirtyHairy","html_url":"https://github.com/DirtyHairy","followers_url":"https://api.github.com/users/DirtyHairy/followers","following_url":"https://api.github.com/users/DirtyHairy/following{/other_user}","gists_url":"https://api.github.com/users/DirtyHairy/gists{/gist_id}","starred_url":"https://api.github.com/users/DirtyHairy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirtyHairy/subscriptions","organizations_url":"https://api.github.com/users/DirtyHairy/orgs","repos_url":"https://api.github.com/users/DirtyHairy/repos","events_url":"https://api.github.com/users/DirtyHairy/events{/privacy}","received_events_url":"https://api.github.com/users/DirtyHairy/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-20T12:49:15Z","updated_at":"2017-03-20T16:30:55Z","body":"Hmmm, that's absolute indexed addressing, and there is an invalid read involved. It's a long stretch, but this could be related.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287749601/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287751175","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287751175","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287751175,"node_id":"MDEyOklzc3VlQ29tbWVudDI4Nzc1MTE3NQ==","user":{"login":"DirtyHairy","id":2444224,"node_id":"MDQ6VXNlcjI0NDQyMjQ=","avatar_url":"https://avatars.githubusercontent.com/u/2444224?v=4","gravatar_id":"","url":"https://api.github.com/users/DirtyHairy","html_url":"https://github.com/DirtyHairy","followers_url":"https://api.github.com/users/DirtyHairy/followers","following_url":"https://api.github.com/users/DirtyHairy/following{/other_user}","gists_url":"https://api.github.com/users/DirtyHairy/gists{/gist_id}","starred_url":"https://api.github.com/users/DirtyHairy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirtyHairy/subscriptions","organizations_url":"https://api.github.com/users/DirtyHairy/orgs","repos_url":"https://api.github.com/users/DirtyHairy/repos","events_url":"https://api.github.com/users/DirtyHairy/events{/privacy}","received_events_url":"https://api.github.com/users/DirtyHairy/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-20T12:56:31Z","updated_at":"2017-03-20T12:57:30Z","body":"Crossing the page boundary takes an extra read cycle, during which the CPU does an unintented read (it's usually called invalid, but unintented would be more precise :smirk:). I'll look up the specifics later this evening, but I am sure that this implemented in 6502.ts. However, I don't remember where I got the exact mechanics from, and if this is not documented in the MOS docs, then I might have peeked at Stella for the read address and replicated a possible bug. As RIOT reads can modify state, this might be a source for bugs.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287751175/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287753164","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287753164","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287753164,"node_id":"MDEyOklzc3VlQ29tbWVudDI4Nzc1MzE2NA==","user":{"login":"thrust26","id":24360774,"node_id":"MDQ6VXNlcjI0MzYwNzc0","avatar_url":"https://avatars.githubusercontent.com/u/24360774?v=4","gravatar_id":"","url":"https://api.github.com/users/thrust26","html_url":"https://github.com/thrust26","followers_url":"https://api.github.com/users/thrust26/followers","following_url":"https://api.github.com/users/thrust26/following{/other_user}","gists_url":"https://api.github.com/users/thrust26/gists{/gist_id}","starred_url":"https://api.github.com/users/thrust26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrust26/subscriptions","organizations_url":"https://api.github.com/users/thrust26/orgs","repos_url":"https://api.github.com/users/thrust26/repos","events_url":"https://api.github.com/users/thrust26/events{/privacy}","received_events_url":"https://api.github.com/users/thrust26/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-20T13:05:33Z","updated_at":"2017-03-20T13:05:33Z","body":"If I get the documentation right, in our case that invalid read would be at $184. That's only a mirror of ZP RAM.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287753164/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287880817","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287880817","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287880817,"node_id":"MDEyOklzc3VlQ29tbWVudDI4Nzg4MDgxNw==","user":{"login":"DirtyHairy","id":2444224,"node_id":"MDQ6VXNlcjI0NDQyMjQ=","avatar_url":"https://avatars.githubusercontent.com/u/2444224?v=4","gravatar_id":"","url":"https://api.github.com/users/DirtyHairy","html_url":"https://github.com/DirtyHairy","followers_url":"https://api.github.com/users/DirtyHairy/followers","following_url":"https://api.github.com/users/DirtyHairy/following{/other_user}","gists_url":"https://api.github.com/users/DirtyHairy/gists{/gist_id}","starred_url":"https://api.github.com/users/DirtyHairy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirtyHairy/subscriptions","organizations_url":"https://api.github.com/users/DirtyHairy/orgs","repos_url":"https://api.github.com/users/DirtyHairy/repos","events_url":"https://api.github.com/users/DirtyHairy/events{/privacy}","received_events_url":"https://api.github.com/users/DirtyHairy/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-20T20:03:51Z","updated_at":"2017-03-20T20:03:51Z","body":"@thrust26 Yeah, you're right. I just checked, the behavior is described on page 80 of the MOS Programming Manual, and the address is indeed 0x0184. Too bad, but that's not the culprit.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287880817/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287939810","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-287939810","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":287939810,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NzkzOTgxMA==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-03-21T00:28:37Z","updated_at":"2017-03-21T00:28:37Z","body":"Since I don't have batari basic installed, and you guys are probably more familiar with 6502 ASM rather than basic, here's the disassembly of the last test ROM (generated by Stella):\r\n\r\n[timer_test.bas.asm.zip](https://github.com/stella-emu/stella/files/856768/timer_test.bas.asm.zip)\r\n","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/287939810/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/300298084","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-300298084","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":300298084,"node_id":"MDEyOklzc3VlQ29tbWVudDMwMDI5ODA4NA==","user":{"login":"ale-79","id":24704739,"node_id":"MDQ6VXNlcjI0NzA0NzM5","avatar_url":"https://avatars.githubusercontent.com/u/24704739?v=4","gravatar_id":"","url":"https://api.github.com/users/ale-79","html_url":"https://github.com/ale-79","followers_url":"https://api.github.com/users/ale-79/followers","following_url":"https://api.github.com/users/ale-79/following{/other_user}","gists_url":"https://api.github.com/users/ale-79/gists{/gist_id}","starred_url":"https://api.github.com/users/ale-79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ale-79/subscriptions","organizations_url":"https://api.github.com/users/ale-79/orgs","repos_url":"https://api.github.com/users/ale-79/repos","events_url":"https://api.github.com/users/ale-79/events{/privacy}","received_events_url":"https://api.github.com/users/ale-79/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-05-09T20:53:47Z","updated_at":"2017-05-09T20:53:47Z","body":"> I do have some code that does something with bit 6 of TIMINT (aka PA7), and it does have some effect. In particular, as mentioned in the thread, moving the joystick right seems to cause the digits to 'wiggle' in one of the ROMs, which we determined was related to PA7. None of the other emulators would do that, but Stella did once I added the PA7 code. Now, it may still be incomplete, but it is at least partially working.\r\n\r\n\r\nHere are a couple more test roms for the PA7 flag:\r\n\r\nBoth display colored squares indicating a logic 1, or a thin horizontal line indicating a 0.\r\n\r\nThe first one is for SWCHA set as input:\r\n![pa7_test_input](https://cloud.githubusercontent.com/assets/24704739/25871917/4477f266-3509-11e7-952a-b7d4d59c8991.png)\r\n\r\nThe right difficulty switch is used to set the polarity of the active transition: A=positive (write to $284), B=negative (write to $285). \r\nThe top square shows PA7 (joystick right direction), the bottom one indicates if the PA7 interrupt flag has been set. This one can be cleared by pressing the joystick button.\r\nUnfortunately, testing this rom on real hardware is not possible with a joystick, because of the inevitable contact bouncing of mechanical switches. If you try, the flag is apparently set on both negative and positive transitions no matter the position of the difficulty switch. You'd need an electronic circuit connected to the joystick port that generates clean transitions. \r\nAnyway, testing the rom in Stella behaves as described in the RIOT documentation (depending on the position of the difficulty switch, the flag is set on a positive or negative transition), so I believe emulation is correct here.\r\n\r\n\r\nThe second rom sets SWCHA as ouptut and therefore can be tested reliably on real hardware too.\r\nThe test rom first sets the active PA7 transition to negative polarity, then flips PA7 8 times by writing to SWCHA and reads the value of the PA7 interrupt flag after each change. \r\nIf the right difficulty switch is set to A, the polarity is also inverted after each write to SWCHA, but before reading TIMINT.\r\nThe same test is then repeated starting with positive polarity. \r\nThe results are shown on 3 lines:\r\nthe first shows the values of PA7, the other two the corresponding values of the pa7 interrupt flag.\r\n\r\nResults on real hardware:\r\nR_DIF=B:\r\n![img_0118](https://cloud.githubusercontent.com/assets/24704739/25871883/313abac6-3509-11e7-92fb-85f5caddde18.JPG)\r\nR_DIF=A:\r\n![img_0119](https://cloud.githubusercontent.com/assets/24704739/25871897/37902e1a-3509-11e7-8ca3-a74ecc2986b1.JPG)\r\n\r\nStella (it's the same with both settings):\r\n![pa7_test_output](https://cloud.githubusercontent.com/assets/24704739/25871905/3c22cba4-3509-11e7-9a34-16277d56beb6.png)\r\n\r\n\r\nSo Stella only emulates the edge detection with SWCHA set as input, while on real hardware it works also when set as output (this is also in the 6532 datasheet).\r\n\r\nThe RIOT documentation also states that \"_the interrupt flag might be set by changing the polarity of the active interrupt_\", but this doesn't seem to happen in my tests. The results with the difficulty switch in A position show that changes of polarity don't alter the flag.\r\nThe two roms only use addresses $284 and $285, but I also tried the other mirrors and the results are the same (as expected).\r\n\r\nP.S. Maybe an indication of the current polarity should be added somewhere in the I/O tab of the debugger.\r\n\r\n\r\n[pa7_test.zip](https://github.com/stella-emu/stella/files/987964/pa7_test.zip)\r\n","author_association":"NONE","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/300298084/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/300421994","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-300421994","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":300421994,"node_id":"MDEyOklzc3VlQ29tbWVudDMwMDQyMTk5NA==","user":{"login":"thrust26","id":24360774,"node_id":"MDQ6VXNlcjI0MzYwNzc0","avatar_url":"https://avatars.githubusercontent.com/u/24360774?v=4","gravatar_id":"","url":"https://api.github.com/users/thrust26","html_url":"https://github.com/thrust26","followers_url":"https://api.github.com/users/thrust26/followers","following_url":"https://api.github.com/users/thrust26/following{/other_user}","gists_url":"https://api.github.com/users/thrust26/gists{/gist_id}","starred_url":"https://api.github.com/users/thrust26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrust26/subscriptions","organizations_url":"https://api.github.com/users/thrust26/orgs","repos_url":"https://api.github.com/users/thrust26/repos","events_url":"https://api.github.com/users/thrust26/events{/privacy}","received_events_url":"https://api.github.com/users/thrust26/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-05-10T09:07:14Z","updated_at":"2017-05-10T09:07:14Z","body":"This is interesting and I am all for correct emulation.\r\n\r\nBut for what kind of development could this be useful? Serial interfaces via joystick port?","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/300421994/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/300463710","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-300463710","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":300463710,"node_id":"MDEyOklzc3VlQ29tbWVudDMwMDQ2MzcxMA==","user":{"login":"ale-79","id":24704739,"node_id":"MDQ6VXNlcjI0NzA0NzM5","avatar_url":"https://avatars.githubusercontent.com/u/24704739?v=4","gravatar_id":"","url":"https://api.github.com/users/ale-79","html_url":"https://github.com/ale-79","followers_url":"https://api.github.com/users/ale-79/followers","following_url":"https://api.github.com/users/ale-79/following{/other_user}","gists_url":"https://api.github.com/users/ale-79/gists{/gist_id}","starred_url":"https://api.github.com/users/ale-79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ale-79/subscriptions","organizations_url":"https://api.github.com/users/ale-79/orgs","repos_url":"https://api.github.com/users/ale-79/repos","events_url":"https://api.github.com/users/ale-79/events{/privacy}","received_events_url":"https://api.github.com/users/ale-79/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-05-10T12:15:12Z","updated_at":"2017-05-10T12:15:12Z","body":"> But for what kind of development could this be useful?\r\n\r\nHonestly, I can't think of any example where it could be useful. :smile: \r\nMaybe, as you say, someone could find some use for it when interfacing with external hardware through the joystick port. \r\n\r\n\r\n","author_association":"NONE","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/300463710/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/300537881","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-300537881","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":300537881,"node_id":"MDEyOklzc3VlQ29tbWVudDMwMDUzNzg4MQ==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-05-10T16:27:57Z","updated_at":"2017-05-10T16:27:57Z","body":"I agree that it is perhaps a dubious feature at the moment and is low priority, but if we have ROMs that show a difference between emulation and real hardware, we should emulate the behaviour correctly.  I'd like to get to it at some point, but there are a few more things that are more important ATM.  So we should leave this issue open, and come back to it after 5.0.\r\n\r\nUnless of course someone wants to take a stab at it now, in which case I won't argue :smile: ","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/300537881/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/599039364","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-599039364","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":599039364,"node_id":"MDEyOklzc3VlQ29tbWVudDU5OTAzOTM2NA==","user":{"login":"thrust26","id":24360774,"node_id":"MDQ6VXNlcjI0MzYwNzc0","avatar_url":"https://avatars.githubusercontent.com/u/24360774?v=4","gravatar_id":"","url":"https://api.github.com/users/thrust26","html_url":"https://github.com/thrust26","followers_url":"https://api.github.com/users/thrust26/followers","following_url":"https://api.github.com/users/thrust26/following{/other_user}","gists_url":"https://api.github.com/users/thrust26/gists{/gist_id}","starred_url":"https://api.github.com/users/thrust26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrust26/subscriptions","organizations_url":"https://api.github.com/users/thrust26/orgs","repos_url":"https://api.github.com/users/thrust26/repos","events_url":"https://api.github.com/users/thrust26/events{/privacy}","received_events_url":"https://api.github.com/users/thrust26/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2020-03-14T10:44:38Z","updated_at":"2020-03-14T10:45:05Z","body":"In reference to [this](https://atariage.com/forums/topic/303277-to-roll-or-not-to-roll) thread at AtariAge I add my own code here too, so that it does not get lost.\r\n\r\n[Test_Roll_01.zip](https://github.com/stella-emu/stella/files/4332556/Test_Roll_01.zip)","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/599039364/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/609473754","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-609473754","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":609473754,"node_id":"MDEyOklzc3VlQ29tbWVudDYwOTQ3Mzc1NA==","user":{"login":"ale-79","id":24704739,"node_id":"MDQ6VXNlcjI0NzA0NzM5","avatar_url":"https://avatars.githubusercontent.com/u/24704739?v=4","gravatar_id":"","url":"https://api.github.com/users/ale-79","html_url":"https://github.com/ale-79","followers_url":"https://api.github.com/users/ale-79/followers","following_url":"https://api.github.com/users/ale-79/following{/other_user}","gists_url":"https://api.github.com/users/ale-79/gists{/gist_id}","starred_url":"https://api.github.com/users/ale-79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ale-79/subscriptions","organizations_url":"https://api.github.com/users/ale-79/orgs","repos_url":"https://api.github.com/users/ale-79/repos","events_url":"https://api.github.com/users/ale-79/events{/privacy}","received_events_url":"https://api.github.com/users/ale-79/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2020-04-05T20:01:01Z","updated_at":"2020-04-05T20:01:01Z","body":"It seems that the difference in the PA7 flag in the \"test[1-5].bas.bin\" roms in the first post is indeed due to loading the roms from the Harmony menu, rather than to bug/incomplete emulation. Navigating the files in the SD card triggers the PA7 interrupt whenever you move the stick to the right. \r\n\r\nI retested those roms while avoiding moving the stick to the right and the result matches Stella emulation on my console.\r\n\r\n","author_association":"NONE","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/609473754/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/609479625","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-609479625","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":609479625,"node_id":"MDEyOklzc3VlQ29tbWVudDYwOTQ3OTYyNQ==","user":{"login":"thrust26","id":24360774,"node_id":"MDQ6VXNlcjI0MzYwNzc0","avatar_url":"https://avatars.githubusercontent.com/u/24360774?v=4","gravatar_id":"","url":"https://api.github.com/users/thrust26","html_url":"https://github.com/thrust26","followers_url":"https://api.github.com/users/thrust26/followers","following_url":"https://api.github.com/users/thrust26/following{/other_user}","gists_url":"https://api.github.com/users/thrust26/gists{/gist_id}","starred_url":"https://api.github.com/users/thrust26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrust26/subscriptions","organizations_url":"https://api.github.com/users/thrust26/orgs","repos_url":"https://api.github.com/users/thrust26/repos","events_url":"https://api.github.com/users/thrust26/events{/privacy}","received_events_url":"https://api.github.com/users/thrust26/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2020-04-05T20:43:58Z","updated_at":"2020-04-05T20:43:58Z","body":"And what could set the flag?","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/609479625/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/609480404","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-609480404","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":609480404,"node_id":"MDEyOklzc3VlQ29tbWVudDYwOTQ4MDQwNA==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2020-04-05T20:49:48Z","updated_at":"2020-04-05T20:49:48Z","body":"From `M6532::update()`\r\n```\r\n  // PA7 Flag is set on active transition in appropriate direction\r\n  if((!myEdgeDetectPositive && prevPA7 && !currPA7) ||\r\n     (myEdgeDetectPositive && !prevPA7 && currPA7))\r\n    myInterruptFlag |= PA7Bit;\r\n```","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/609480404/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/645049803","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-645049803","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":645049803,"node_id":"MDEyOklzc3VlQ29tbWVudDY0NTA0OTgwMw==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2020-06-16T22:47:31Z","updated_at":"2020-06-16T22:47:31Z","body":"I'm going to take a stab at the PA7 stuff above; wish me luck.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/645049803/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/645052693","html_url":"https://github.com/stella-emu/stella/issues/108#issuecomment-645052693","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/108","id":645052693,"node_id":"MDEyOklzc3VlQ29tbWVudDY0NTA1MjY5Mw==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2020-06-16T22:57:30Z","updated_at":"2020-06-16T22:59:20Z","body":"The weirdness in timer_test.bas.bin from above (should be 0's on FF-FB) is now fixed because of https://github.com/stella-emu/stella/commit/f1998c761c47e5618a3a826d8caef141fb408095!   So scratch one more off the list.\r\n","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/645052693/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null}]