can i ask someone a favor - anyone that has an ipad and/or iphone and knows how to actually dig into the console and debug stuff tell me what they see when they got to https://martypc.net and try to run a machine?
@gloriouscow iPhone 17 Pro looks like this to me (can’t be scaled with two finger gestures). I can hook up that and an iPad to my Mac tomorrow and look at browser console
@thomasfuchs weird why isn't it scaling?? I hate web development
@gloriouscow iPad (simulator) w/ debug messages. Seems to work ok? The keyboard _just_ doesn't fit on the normal run-of-the-mill iPad.
@gloriouscow also appears to work fine when windowed
@gloriouscow On the iPhone, when it's loading for the first time, it gets stuck here. This doesn't happen after a reload.
@gloriouscow I'll see if I can repro
@gloriouscow It happens when you tap or click the button before the version number is shown below. I suspect this isn't a mobile-specific bug. It will get stuck in this state.
@thomasfuchs lol so stupid. easy fix at least, thanks
@thomasfuchs just a good old fashioned data race.
the version number is a sign that the emulator WASM core is running, as once that's loaded it populates the footer with the emulator version.
If you click start before the emulator has loaded, the event does nothing because the emulator hasn't attached its listener to the button.
i didn't notice of course because i've been testing locally and the wasm loads instantly
fix will go live with all the cassette stuff as soon as i load up asynchronous wav loading. these are pretty big (several MB) so i don't want to stuff them in the main DAT that everybody has to load
@thomasfuchs okay should be fixed!
@thomasfuchs i still have to fix why it doesn't seem to scale right on the iphone based on your photo... its like it thinks the dimensions are wider than the screen?
@gloriouscow maybe, I'll see what the web inspector says about the window/document
@gloriouscow I just tried it again and it looks correct in simulator, I'll try real hardware too
@thomasfuchs huh interesting. okay.
does multi-touch work? Like can you hold shift and pres 1 and get a exclamation point?
@gloriouscow yeah I can enter e.g. :
note: I couldn't load the area5150 disk image into a: (mismatch of cylinders); I think this used to work
@gloriouscow if you have access to a Mac you can use Xcode to fire up a emulated iPad or iPhone that has Safari (and Safari on the Mac can connect to it for web development debugging)