Memotech-Bill / MEMU

MEMU - Memotech EMUlator
Other
13 stars 3 forks source link

does not compile on raspbian armhf or aarch64 bookworm #4

Open gilmod714 opened 5 months ago

gilmod714 commented 5 months ago

does not compile on raspbian OS armhf or aarch64 (bookworm latest stock images) from pi imager

config.txt modified for fkms, cmake installed ..

cmake spits out an error about "structure no found or something" for mfx..

something's missing in the package ?!

Memotech-Bill commented 5 months ago

Which build target are you using: cmake -DTARGET=XWin .. or cmake -DTARGET=RPi .. ?

As noted in the documentation the special features of the RPi build (GPU use and GPIO hardware interfacing) are not supported with recent RPi hardware or OS.

As a pure software emulation, the XWin target works well on RPi, the RPi build was only needed if you wished to attach retro-hardware.

In testing, I found that my experimental revisions for SDL build had broken the XWin build. Fixed with latest commits.

gilmod714 commented 5 months ago

no matter which version I try , it gives the same error ..

I tried compiling build: cmake -DTARGET=RPi .. which gave that error ..

then tried the XWin build .. same error ,

Will attach a screenshot later when I get a chance .. I'm not by my pi right now :)

Memotech-Bill commented 5 months ago

As said, testing did find a few errors introduced by SDL commits. Fixed these with some new commits. You will need to do git pull to update files.

gilmod714 commented 5 months ago

Awesome, will try it .. thanks Bill

unrelated suggestions .. (1) would it be possible to have the baremetal verison (runtime) not to EXIT to the shell-eventually with "EXIT" ?! I think that would make it a more authentic experience having memu as almost a real hardware on pi ;)

(2) is there a way to have the "baremetal" run in full-screen mode with correct aspect-ratio ?! .. i tried the multiple -vid-win-big in config files here and there and in confix.txt various resolutions.. no dice

EDIT:

both RPi and Xwin compiles OK now .. the "Baremetal" gives an error though, is it possible to include "Circle" compile & configure instructions here ?!

IMG_20240423_183411

xwin

rpi4

memu

Memotech-Bill commented 5 months ago

(2) is there a way to have the "baremetal" run in full-screen mode with correct aspect-ratio ?! .. i tried the multiple -vid-win-big in config files here and there and in confix.txt various resolutions.. no dice

The following build targets did all run full-screen (and ignore -vid-win-big). However I am not sure whether any of them work on recent RPi & OS:

gilmod714 commented 5 months ago

Awesome! .. Thanks Bill .. I'm using a Pi4 right now.. I will test on other models as well and see how it goes .. I have pi's 0,2,3,4 .. Also noticed when running Alpha.com or any game (in cpm color) .. the game starts, but it is in the background of the frontend .. you can see it only when you exit-out .. probably an SDL overlay issues ?!

Memotech-Bill commented 5 months ago

Awesome! .. Thanks Bill .. I'm using a Pi4 right now.. I will test on other models as well and see how it goes .. I have pi's 0,2,3,4 .. Also noticed when running Alpha.com or any game (in cpm color) .. the game starts, but it is in the background of the frontend .. you can see it only when you exit-out .. probably an SDL overlay issues ?!

Which version are you talking about? With the XWin version, the CP/M text and the game are in different windows. You just have to switch to the other window.

For FBuf, only one screen can be displayed at a time. Use <Ctrl+F1>, <Ctrl+F2>, etc to select the different screens. The emulator cannot know which screen you want to look at.

gilmod714 commented 5 months ago

both memu-fb and memu-pi do this actually .. but yeah, (ctrl+f1, f2) switches the screen .. I see that now ..