{"action":"created","issue":{"url":"https://api.github.com/repos/AppleWin/AppleWin/issues/466","repository_url":"https://api.github.com/repos/AppleWin/AppleWin","labels_url":"https://api.github.com/repos/AppleWin/AppleWin/issues/466/labels{/name}","comments_url":"https://api.github.com/repos/AppleWin/AppleWin/issues/466/comments","events_url":"https://api.github.com/repos/AppleWin/AppleWin/issues/466/events","html_url":"https://github.com/AppleWin/AppleWin/issues/466","id":251139616,"number":466,"title":"Strange chars in SYMBOLS in A2_USER1.SYM cause weird behavior for DEBUGGER","user":{"login":"TommyGH","id":7924807,"avatar_url":"https://avatars1.githubusercontent.com/u/7924807?v=4","gravatar_id":"","url":"https://api.github.com/users/TommyGH","html_url":"https://github.com/TommyGH","followers_url":"https://api.github.com/users/TommyGH/followers","following_url":"https://api.github.com/users/TommyGH/following{/other_user}","gists_url":"https://api.github.com/users/TommyGH/gists{/gist_id}","starred_url":"https://api.github.com/users/TommyGH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TommyGH/subscriptions","organizations_url":"https://api.github.com/users/TommyGH/orgs","repos_url":"https://api.github.com/users/TommyGH/repos","events_url":"https://api.github.com/users/TommyGH/events{/privacy}","received_events_url":"https://api.github.com/users/TommyGH/received_events","type":"User","site_admin":false},"labels":[{"id":90554400,"url":"https://api.github.com/repos/AppleWin/AppleWin/labels/bug","name":"bug","color":"fc2929","default":true},{"id":592576320,"url":"https://api.github.com/repos/AppleWin/AppleWin/labels/Debugger","name":"Debugger","color":"1d76db","default":false},{"id":90554402,"url":"https://api.github.com/repos/AppleWin/AppleWin/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-18T04:59:39Z","updated_at":"2017-08-18T18:02:39Z","closed_at":null,"body":"Ok, this issue should probably go under the heading of \"Well DON'T DO THAT!\".\r\n\r\nI thought I'd be clever and document some DOS3.3 symbols in A2_USER1.SYM using special characters (#):\r\n\r\nA8D9\tCMDNTB.MON\r\nA8DC\tCMDNTB.NOMON\r\nA8E1\tCMDNTB.PR#\r\nA8E4\tCMDNTB.IN#\r\nA8E7\tCMDNTB.MAXFILES\r\n\r\nAnd when I started AppleWin (AppleII+ mode) it didn't complain. \r\nI could even do \"SYM A8E1\" and it displayed:\r\n User1: A8E1 CMDNTB.PR#\r\n\r\nTrying to find the definition with \"SYM CMDNTB.PR#\" didn't work (Syntax Error).\r\n\r\nNext, I booted a DOS3.3 disk to get some code loaded to A8E1.\r\n\r\nEntering the command \"A8E1L\" and it is listed the instruction with the symbol \"CMDNTB.PR#\".\r\n\r\nNow some bizarre stuff.   Put the following into A2_USER1.SYM:\r\nA8D9\tCMDNTB.MON\r\nA8DC\tCMDNTB.NOMON\r\nA8E1\tCMDNTB.PR#\r\nA8E4\tCMDNTB.IN#\r\nA8E7\tCMDNTB.MAXFILES\r\n\r\nAnd have the following in a script file (say debug.txt):\r\nasc CMDNTB.MON:CMDNTB.NOMON-1\r\nasc CMDNTB.NOMON:CMDNTB.PR#-1\r\nasc CMDNTB.PR#:CMDNTB.IN#-1\r\nasc CMDNTB.IN#:CMDNTB.MAXFILES-1\r\n\r\nAnd now Start Applewin and boot a Dos3.3 disk.\r\nF7 to enter debugger.\r\nRUN DEBUG.TXT.\r\n\r\nStart by looking at the very top left of the screen:\r\n\r\nA8E1:50 52 A3 CMDNTB.PR#  ASC \"L<TL:[\"              A  ' '  A0                  \r\n51C8:FF FF 00             ASC ...                   X  '@'  00                  \r\nFAAF:EF 03 CA             ins $CA03      CA03:00 @  Y  'A'  01                  \r\nFAB2:D0 F7                BNE SETPLP                PC    FD24                  \r\n\r\nNote the addresses displayed on the left.  They are not in sequence.\r\nAnd now try to use the UP and DOWN arrow keys to navigate around.  Possibly use the PAGEUP and PAGEDOWN keys.  You can even try \"A800L\" and try to PAGEDOWN to the code, and AppleWin gets very confused.\r\n\r\nOk, that was my fun for the night.\r\n"},"comment":{"url":"https://api.github.com/repos/AppleWin/AppleWin/issues/comments/323421625","html_url":"https://github.com/AppleWin/AppleWin/issues/466#issuecomment-323421625","issue_url":"https://api.github.com/repos/AppleWin/AppleWin/issues/466","id":323421625,"user":{"login":"TommyGH","id":7924807,"avatar_url":"https://avatars1.githubusercontent.com/u/7924807?v=4","gravatar_id":"","url":"https://api.github.com/users/TommyGH","html_url":"https://github.com/TommyGH","followers_url":"https://api.github.com/users/TommyGH/followers","following_url":"https://api.github.com/users/TommyGH/following{/other_user}","gists_url":"https://api.github.com/users/TommyGH/gists{/gist_id}","starred_url":"https://api.github.com/users/TommyGH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TommyGH/subscriptions","organizations_url":"https://api.github.com/users/TommyGH/orgs","repos_url":"https://api.github.com/users/TommyGH/repos","events_url":"https://api.github.com/users/TommyGH/events{/privacy}","received_events_url":"https://api.github.com/users/TommyGH/received_events","type":"User","site_admin":false},"created_at":"2017-08-18T18:02:39Z","updated_at":"2017-08-18T18:02:39Z","body":"APPLEIIE.SYM uses the forward slash \"/\".\r\nI don't write much code, but when I do, I almost always prefer just good old alphanumeric, and not even use the underscore.\r\nA couple of years ago I wrote some documentation in an AppleWin issue regarding symbols.  I was surprised at the variety of weird characters you could put into symbol names -- all of them except the \"$\" symbol were allowed, including:  !@#%^&*()_+{}|:\"<>?-=[]\\\\;',./.\r\n\r\nWhile on this topic of a filter, do you also want to define \"max symbol length\"?  It seems that usually 12 characters can be displayed, with 13 being displayed with \"DISASM OPCODE 0\"\r\n\r\n"}}
{"actor":{"display_login":"TommyGH"}}