Closed euneuber closed 3 years ago
Hmm you should have that menu. So I have no idea :( The constant rebooting is normal, a real MEGA65 would react the same way exactly in this situation. You should see "SD-card" sub menu, and there "Update files on SD image". Please take a screenshot then what you can see in the menu, if you can't find it, really interesting. The documentation for this is: https://github.com/lgblgblgb/xemu/wiki/MEGA65-quickstart What you can access from the menu as well "Help (online) -> Xemu MEGA65 help page" and choosing "quickstart" on the web page already which should lead you the link above (I admit, this opening a web page from Xemu is a kinda hacky and not sure if it works on every OSes well enough, but it was the most sane way to add some help which can be kept up-to-date then without the need to update Xemu, ie not embedded things into Xemu itself, especially nowadays when there are lots of changes and branches everywhere ...).
Surely, I'm far from being a good documenter guy, so just go head and tell, if you find something problematic (as being the author of Xemu, I can easily miss many things which are of course clear for me, but can't be for others, new to Xemu), and thanks for the report.
Oh, sorry, just realized:
VERSION: https://github.com/lgblgblgb/xemu.git next e316c537d2070ac7be90e38da499cfdf712c72bd 20210407211721 custom-build
So is it a custom build done by yourself?
GUI: no GUI was specified, using the first available one from this list: none
GUI: using "none" (Not using GUI - the null GUI :))
Aha, so you build it without GTK support, thus you don't have menu (I misinterpreted your description somewhat, that you can't see only the corresponding menu option mentioned ...), clearly now, you can't see any menu to be used, since Xemu needs GTK3 devel libraries at compile time (actually it needs pkg-config
for the GTK3 devel libs to be able to detect its presence), so it can compile support for the GUI menus at all! (on Linux of course. On Windows and Mac, Xemu uses native Windows and Mac APIs for the very same purposes). It's not strictly a compilation error though, since it's very legit to compile Xemu without any UI support, just then you won't be able to use things like the menu (right click into the emulator window), or various file dialog boxes, and such.
I'm sorry that I haven't spotted this at the first time, I was in the impression automatically, that you use a pre-built ("official build", downloaded from the Xemu download page) Xemu, since it is compiled correctly having GTK support in the Linux version.
I close this now, since it seems to be just the lack of GTK3 support compiled in, thus not having menu. Though if you still feel something is wrong, you can tell by commenting this issue. Though at this point it's not clear for me, that I should enhance the documentation, since for me it seems to be correct, you just lack the GUI support to be able to use the UI functionality the documentation talks about. Please note, that for Linux compilation the example (for DEB based systems, probably debian/ubuntu and others) includes this line as an example how to get the dependencies before compilation:
sudo apt install git build-essential libsdl2-dev libgtk-3-dev libreadline-dev
Which indicates that you need the GTK3 devel libs as well.
Also note (mainly for myself ...) that I may need to add some feedback if user right-click into the emulator window (in the hope to activate the UI menu what documentation talks about) but no support compiled in for the UI. Then it can be much more clear what happened rather than silently fail to do what the user expects.
Warning about the missing GUI support compiled in on popup-menu-time in this commit b4d96ceff9f4e5f02493932ceed0318d348bc70d
Thank you very much! I recompiled with GTK3 support and now I have this "right-click-menu" and successfully created an SD-image!
Please make a note for Linux users, who compile your project themself:
"It needs GTK3 support/development libraries installed!"
Again, a huge "Thank you very much!"
Well, I think, most user download an official build. For those, want to their own, I have the modification now (see above on that commit) which presents an error dialog now to tell about the problem (so it won't left unnoticed why right-click does not work silently). For the compilation, and user documentation side, I don't know what can be written better, as it clearly stated with an example with apt
that gtk3 devel lib must be installed. For sure, not everybody uses apt/DEB based distro, that's true, but it would be a "bit" overkill to have documentation for every distribution possible ;), who can compile a problem by its own - I guess - can figure out from that. But if you meant something different to add more comment on this, you're welcomed to suggest a place or anything.
There as some places to guide a "n00bi" through installation and setup, some are outdated, none is sufficient (at least for me).
When the virtual SDCard is created, a notice to copy required files via a menu option (right mouse click on window) to the virtual SDCard. I can not get to this menu.
xmega65.native
only enters an endless loop on reboot:Please add more explanations/links or a HOWTO for creating the virtual SDCard manually!