+retroclouds Posted November 11, 2021 Share Posted November 11, 2021 5 hours ago, InfiniteTape said: Well, that's a test, I suppose. Looks great. What virtualization software are you using on the M1? Parallels Desktop? Also did you have to buy the Windows 11 ARM edition or is it possible to test without license key? have a M1 macbook myself and very much like the idea running classic99 on it. 1 Quote Link to comment Share on other sites More sharing options...
pjduplooy Posted November 11, 2021 Share Posted November 11, 2021 I do not know if this would be helpful, but Wine version 6.0.1 runs on the M1. (Wine64 though). Might be worth a shot Quote Link to comment Share on other sites More sharing options...
InfiniteTape Posted November 11, 2021 Share Posted November 11, 2021 17 hours ago, retroclouds said: Looks great. What virtualization software are you using on the M1? Parallels Desktop? Also did you have to buy the Windows 11 ARM edition or is it possible to test without license key? have a M1 macbook myself and very much like the idea running classic99 on it. I'm using the preview of VMWare Fusion for ARM. I have a Visual Studio subscription through work, so I didn't have any trouble getting access to the Windows build through the Windows Insider program. When I was figuring out how to get the VM built (which takes some tricks since Fusion doesn't claim official support), it seems that it's pretty easy to get the Windows build as an ISO or VHDX. I've honestly been astonished how well the x86 and x64 emulation works in Windows 11. 1 Quote Link to comment Share on other sites More sharing options...
Tursi Posted November 12, 2021 Author Share Posted November 12, 2021 On 11/10/2021 at 5:41 AM, Vorticon said: Curious why that is the case... Honestly, because I spent some time thinking about it and couldn't really come up with anything. The TI-99/4A doesn't have a low power mode or a mode in which it is doing less work - by the time you get to the title page, the CPU is barreling along at full speed, the VDP is displaying one of the more complex modes it can display, and the sound chip is generating a full stream. As far as normal TI-99/4A emulation is concerned, it's already doing everything. You can add slightly more load by executing some speech or running bitmap mode - Parsec gives you that in the first few seconds. You can add in some SID stuff, which is expensive on the host cpu but isn't up to date in the emulation anyway. Running some F18A GPU stuff adds load too, but the enhanced modes are not supported in Classic99 so that's got a limited amount of software. Some of the expanded RAM AMS stuff would be interesting. I suppose you could try the TI Megademo to force the scanline code to run, that's probably a good test. Scanline detection isn't really a greater effort - again, all the scanlines are being generated anyway - but it's trickier for emulation to get right. 2 Quote Link to comment Share on other sites More sharing options...
Tursi Posted November 12, 2021 Author Share Posted November 12, 2021 1 hour ago, InfiniteTape said: I'm using the preview of VMWare Fusion for ARM. I have a Visual Studio subscription through work, so I didn't have any trouble getting access to the Windows build through the Windows Insider program. When I was figuring out how to get the VM built (which takes some tricks since Fusion doesn't claim official support), it seems that it's pretty easy to get the Windows build as an ISO or VHDX. I've honestly been astonished how well the x86 and x64 emulation works in Windows 11. That is pretty impressive, yes. Guess I don't need cross platform at all! Quote Link to comment Share on other sites More sharing options...
mr_gw454 Posted December 3, 2021 Share Posted December 3, 2021 Hi Tursi, Do you make any of your previous versions of classic99 available for download? I upgraded to the latest (prior being the July 2021 version) and it no longer works in wine under Linux. x570:~/.wine/drive_c/Program Files (x86)/classic99$ wine classic99.exe 0078:fixme:imm:ImeSetActiveContext (0x3fa90, 0): stub 0078:fixme:imm:ImmReleaseContext (0000000000010020, 000000000003FA90): stub 0024:fixme:imm:ImeSetActiveContext (0x2afdf70, 1): stub 0024:fixme:imm:ImmReleaseContext (00010056, 02AFDF70): stub 00fc:fixme:ver:GetCurrentPackageId (04FBFEF0 00000000): stub 0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0124:fixme:d3d:texture2d_blt Can't handle WINED3D_BLT_DO_NOT_WAIT flag. wine: Unhandled page fault on read access to 0F900030 at address 7CF01D29 (thread 0124), starting debugger... Can't attach process 0020: error 5 x570:~/.wine/drive_c/Program Files (x86)/classic99$ 012c:fixme:imm:ImeSetActiveContext (0x23f080, 1): stub 012c:fixme:imm:ImmReleaseContext (0002008A, 0023F080): stub Not sure what the issue is just yet, but would like to try the previous version again and I did not keep a copy of it. Thank you! Quote Link to comment Share on other sites More sharing options...
Tursi Posted December 3, 2021 Author Share Posted December 3, 2021 I do not. But it's worth noting that I haven't touched the Classic99 graphics engine in years. I've barely touched it at all this year. Is the unhandled page fault related to the missing BLT flag on the previous line? If not you may have just found an outright crash... I should be able to build a previous version, in theory. As long as it's not related to a change in the compiler itself (which is increasingly likely, much to my annoyance), it should be the same. classic99_late_july_2021.zip There were two versions in July - a small update that just added some configuration and CPU load tracking, and a big one that rewrote the speech engine. The speech code included a crash fix, so I'll rebuild that. It would be interesting to know if that introduced the issue. The only changes after that were to the joystick handling and the background noise simulation. 1 Quote Link to comment Share on other sites More sharing options...
mr_gw454 Posted December 3, 2021 Share Posted December 3, 2021 3 hours ago, Tursi said: I do not. But it's worth noting that I haven't touched the Classic99 graphics engine in years. I've barely touched it at all this year. Is the unhandled page fault related to the missing BLT flag on the previous line? If not you may have just found an outright crash... I should be able to build a previous version, in theory. As long as it's not related to a change in the compiler itself (which is increasingly likely, much to my annoyance), it should be the same. classic99_late_july_2021.zip There were two versions in July - a small update that just added some configuration and CPU load tracking, and a big one that rewrote the speech engine. The speech code included a crash fix, so I'll rebuild that. It would be interesting to know if that introduced the issue. The only changes after that were to the joystick handling and the background noise simulation. Thank you for doing this, Tursi. Still crashing on me and not sure what changed. There was a recent update to Wine, so perhaps something with it. I've attached a backtrace log, but I'm guessing it won't reveal anything useful. backtrace.txt Quote Link to comment Share on other sites More sharing options...
Tursi Posted December 4, 2021 Author Share Posted December 4, 2021 No, it looks like it didn't find any symbols. I can attach a PDB if you want. But in the meantime, here's the other July build. If this also crashes it may be something in Wine (which in turn may be revealing a Classic99 bug, but I don't know how deep down the rabbit hole I want to dig ), or it could be a changed compiler option. classic99_early_july_2021.zip And if you know how to use it, here are the debug symbols for that build. If you don't, don't even worry about this one. classic99_pdb.zip 1 Quote Link to comment Share on other sites More sharing options...
jrhodes Posted December 4, 2021 Share Posted December 4, 2021 (edited) Maybe related: For awhile now, i have had to change all my wine launching scripts from: wine path/to/windows/*.exe to: export MESA_GL_VERSION_OVERRIDE=4.4&&wine path/to/windows/*.exe otherwise all i get is errors. But, i don't run Classic99 directly under linux, i go through a windows XP virtual machine and run it there. Edited December 4, 2021 by jrhodes 1 Quote Link to comment Share on other sites More sharing options...
mr_gw454 Posted December 5, 2021 Share Posted December 5, 2021 On 12/3/2021 at 8:04 PM, Tursi said: No, it looks like it didn't find any symbols. I can attach a PDB if you want. But in the meantime, here's the other July build. If this also crashes it may be something in Wine (which in turn may be revealing a Classic99 bug, but I don't know how deep down the rabbit hole I want to dig ), or it could be a changed compiler option. As it just so happens, there was a wine update yesterday. I installed it and and it works (this should be the most recent version of classic99). I really apologize for the wild goose chase on this. The wine/classic99 combo has been stable for me so long. Guess I was spoiled. Thank you again, Tursi, for the older builds. These will be good to hang on to. 1 1 Quote Link to comment Share on other sites More sharing options...
Tursi Posted December 5, 2021 Author Share Posted December 5, 2021 Good to hear! Just remember I won't invest much time, if any, to problem reports on older versions. Newer versions generally exist because I had to fix something. 6 Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted December 6, 2021 Share Posted December 6, 2021 While attempting to alter program data(for no reason in particular)... I'm going out on a limb here a bit... or eight... I believe that I may have come upon an actual bug in your debugger: It seems that... W(xxxx-xxxx)=ABCD Is a valid\useful BREAKPOINT SYNTAX. However, the BREAKPOINT entry field will accept only 16 characters! P.S. In other words... What imparticular, did I not do right ...lol! 3 Quote Link to comment Share on other sites More sharing options...
Tursi Posted December 6, 2021 Author Share Posted December 6, 2021 hehe.. nice one. Looks like a valid bug to me. 5 Quote Link to comment Share on other sites More sharing options...
Tursi Posted December 7, 2021 Author Share Posted December 7, 2021 Classic99 399.053 - Detect "File x of y" in filenames - Remove reverse DSSD layout option - Fix input length of debugger breakpoints to allow full commands with newer syntax to be entered - Mouse capture for TIPI - click on window while mouse-aware TIPI app is running to capture, press ESC to release. - use mouse wheel to adjust sensitivity - up for faster, down for slower http://harmlesslion.com/software/classic99 I used Texcaster to get the mouse capture usable. @Asmusr, I couldn't copy what you did in JS99er cause it's not working there right now. 4 2 Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted December 7, 2021 Share Posted December 7, 2021 17 hours ago, Tursi said: hehe.. As long as you're in a good mood, and since you're working on the debugger anyway... I didn't want to mention it, but these days, the Debugger window freezes when active, if Pause While Window Inactive is ticked. This had me confused ...for about 20-30 seconds. P.S. I should have mentioned this sooner. Quote Link to comment Share on other sites More sharing options...
Tursi Posted December 7, 2021 Author Share Posted December 7, 2021 12 minutes ago, HOME AUTOMATION said: As long as you're in a good mood, and since you're working on the debugger anyway... I didn't want to mention it, but these days, the Debugger window freezes when active, if Pause While Window Inactive is ticked. This had me confused ...for about 20-30 seconds. P.S. I should have mentioned this sooner. Sure should have. What do you expect the debugger window to do if Pause While Window Inactive is ticked, and you click off the window? 1 Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted December 7, 2021 Share Posted December 7, 2021 Considering the designer... something extremely magnanimous! Though your argument is true to context(Windows')... I had grown accustomed to the carte blanche afforded in previous versions. Quote Link to comment Share on other sites More sharing options...
Tursi Posted December 7, 2021 Author Share Posted December 7, 2021 33 minutes ago, HOME AUTOMATION said: Considering the designer... something extremely magnanimous! Though your argument is true to context(Windows')... I had grown accustomed to the carte blanche afforded in previous versions. I'm not being facetious, I legitimately do not understand what the concern is. Nothing has changed in "Pause when Window Inactive" for a good decade, literally. If the main window is not active, the emulation pauses. I think you are saying that you want to access the debugger window with that option set, but if that's true, my answer is "don't do that". There's no good reason for me to have to enumerate a list of windows every cycle to see if one of them has focus... if you're debugging, you can press F1 to pause the emulation when you need it to stop. 1 Quote Link to comment Share on other sites More sharing options...
Tursi Posted December 7, 2021 Author Share Posted December 7, 2021 I tested here, and everything in the debugger works even though the emulation pauses... so you're going to have to clarify what behaviour you expect. 1 Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted December 7, 2021 Share Posted December 7, 2021 Sounds good. I hadn't considered all/if-any ramifications. I suppose that I was just taken off-guard, as for a moment, I assumed a breakpoint or crash had occurred. It seems that this behavior changed when you addressed the slow-pasting while "Pause when Window Inactive" was ticked issue, some months ago. Previous versions acted as though the two windows were on par with one another. I considered that this might be unintentional on your part. Anyway, I just unticked it, since I often have to rearrange the two windows on my small screen, and still want to steadily monitor working processes. Perhaps I also switch back and forth between the two windows since they respond differently to key presses. ...I'll let you know if it becomes any real issue for me. Quote Link to comment Share on other sites More sharing options...
Tursi Posted December 7, 2021 Author Share Posted December 7, 2021 If it does, I can remove the option 1 Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted December 8, 2021 Share Posted December 8, 2021 Thank you sir, may I have another! 1 Quote Link to comment Share on other sites More sharing options...
+arcadeshopper Posted December 14, 2021 Share Posted December 14, 2021 @Tursi did something happen to memory configurations? sams is greyed out, and i see no way to disable memory or am I confused 1 Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted December 14, 2021 Share Posted December 14, 2021 1-2 punch??... ...Too slow for me to detect.⏳ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.