{"action":"created","issue":{"url":"https://api.github.com/repos/AppleWin/AppleWin/issues/290","labels_url":"https://api.github.com/repos/AppleWin/AppleWin/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/AppleWin/AppleWin/issues/290/comments","events_url":"https://api.github.com/repos/AppleWin/AppleWin/issues/290/events","html_url":"https://github.com/AppleWin/AppleWin/issues/290","id":78232398,"number":290,"title":"Pascal Compile with AppleWin Emulation Speed at \"Fastest\" ","user":{"login":"tomcw","id":6696896,"avatar_url":"https://avatars.githubusercontent.com/u/6696896?v=3","gravatar_id":"","url":"https://api.github.com/users/tomcw","html_url":"https://github.com/tomcw","followers_url":"https://api.github.com/users/tomcw/followers","following_url":"https://api.github.com/users/tomcw/following{/other_user}","gists_url":"https://api.github.com/users/tomcw/gists{/gist_id}","starred_url":"https://api.github.com/users/tomcw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomcw/subscriptions","organizations_url":"https://api.github.com/users/tomcw/orgs","repos_url":"https://api.github.com/users/tomcw/repos","events_url":"https://api.github.com/users/tomcw/events{/privacy}","received_events_url":"https://api.github.com/users/tomcw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AppleWin/AppleWin/labels/1.25.0.3","name":"1.25.0.3","color":"ffffff"},{"url":"https://api.github.com/repos/AppleWin/AppleWin/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-19T20:09:01Z","updated_at":"2015-05-21T00:07:41Z","closed_at":null,"body":"[comp.emulators.apple2, 10th May 2015]\r\nhttps://groups.google.com/forum/#!topic/comp.emulators.apple2/sijvQuzADtk\r\n\r\nI have a strange observation to share concerning AppleWin and its \"Fastest\" emulation speed.  If anyone has thoughts on this I'd like to hear them. \r\n\r\nI'm using AppleWin version 1.25.0.3 (AppleIIe) and Pascal 1.2 (64K and 128K versions).  The Pascal program is about 576 lines of text. \r\n\r\nPascal Version | Authentic Speed | Fastest Speed\r\n--- | --- | ---\r\n 64K | 3:53 | 0:08 \r\n128K | 4:28 | 2:35 \r\n\r\nUsing the 64K version to compile at Authentic Speed takes almost 4 minutes, but at the Fastest speed takes only 8 seconds.  Cool! \r\n\r\nThe 128K version takes a little over 4 minutes at Authentic Speed, but over 2 minutes(!) at the Fastest speed.  Not Cool!?!?!? \r\n\r\nWhat is it about AppleWin (or Pascal?) that the 64K version improves dramatically while the 128K version does not?  Is there anything I can do to make the 128K version compile faster? \r\n\r\nOk, I'm really trying to use my modified version of 1.20.1.1 with 4 disk drives, and a Pascal program of about 5000 lines, with these observations: \r\n\r\nPascal Version | Authentic Speed | Fastest Speed\r\n--- | --- | ---\r\n 64K | 47:00 | 00:53 \r\n128K | 53:00 | 19:00 \r\n\r\nThe 128K version takes 19 minutes to compile 5000 lines, and I currently have over 10,000 lines of Pascal code (about 1/2 of Wizardry IV code).  That 19 minutes is WAAAYYYY too long a time for a partial compile. \r\n\r\nTo anticipate your question, \"Well why don't you just use the 64K version?\" \r\n\r\nAnswer: \r\n\r\n````\r\n Stack overflow \r\n S #9, P #23, I #97 \r\n Press CONTROL-RESET \r\n````\r\n\r\nI think this error message is telling me that the Pascal Compiler has no more room for symbols in its symbol table.  Cool error message isn't it? \r\n\r\nAny ideas about the slow compile at the Fastest Emulation Speed will be kindly  appreciated. \r\n\r\nTommy "},"comment":{"url":"https://api.github.com/repos/AppleWin/AppleWin/issues/comments/104076418","html_url":"https://github.com/AppleWin/AppleWin/issues/290#issuecomment-104076418","issue_url":"https://api.github.com/repos/AppleWin/AppleWin/issues/290","id":104076418,"user":{"login":"sicklittlemonkey","id":4393005,"avatar_url":"https://avatars.githubusercontent.com/u/4393005?v=3","gravatar_id":"","url":"https://api.github.com/users/sicklittlemonkey","html_url":"https://github.com/sicklittlemonkey","followers_url":"https://api.github.com/users/sicklittlemonkey/followers","following_url":"https://api.github.com/users/sicklittlemonkey/following{/other_user}","gists_url":"https://api.github.com/users/sicklittlemonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/sicklittlemonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sicklittlemonkey/subscriptions","organizations_url":"https://api.github.com/users/sicklittlemonkey/orgs","repos_url":"https://api.github.com/users/sicklittlemonkey/repos","events_url":"https://api.github.com/users/sicklittlemonkey/events{/privacy}","received_events_url":"https://api.github.com/users/sicklittlemonkey/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T00:07:41Z","updated_at":"2015-05-21T00:07:41Z","body":"Sigh, the original (faster) 64k disk is needed for comparison, so here are all of them!\r\nhttps://drive.google.com/file/d/0B3JBd-TShLlLSHEzcDdyZElSUW8/view?usp=sharing\r\n\r\nDisk 2 has the compiler etc on it, and some free space. Probably should have used this instead of disk 0 and put the source here to compile.\r\nDisk 3 has lots of sample source. GRAFDEMO is bigger than DISKIO but gave me compile errors.\r\n\r\nHere are some better profile captures too - just the main thread.\r\n\r\nLooks like IsDebugBreakOpcode could be optimized. I know it's only 5%, but debugging isn't being used. It would probably be 1% or less if we had a master debugging on/off global which the debugger set when a feature was in/activated.\r\n\r\n64k:\r\n![image](https://cloud.githubusercontent.com/assets/4393005/7739197/7e00bc14-ffb1-11e4-91a3-464865dc3ec9.png)\r\n\r\n128k:\r\n![image](https://cloud.githubusercontent.com/assets/4393005/7739205/8bb7e292-ffb1-11e4-9c45-8730a374115d.png)\r\n\r\nCheers,\r\nNick.\r\n"}}