General Category > LisaList2

Release: LisaEm 1.2.7-Alpha for PowerPC Mac OS X 10.4

<< < (2/2)

rayarachelian:

--- Quote from: D.Finni on December 04, 2019, 01:36:30 pm ---Yes, I would like to standardize on menus too, even if we do keep the separate wxui versions for maintaining compatibility with older systems.

--- End quote ---

Hey @D.Finni, so would it help your efforts (both on the G4/G5 front and future UI) if I split up lisaem_wx.cpp into multiple files?

I was thinking of something like this for a future release since that file's pretty huge and includes multiple classes rather than one per file?
I'll likely keep the window and frame classes together since I don't really have sub-windows in LisaEm, so they're kind of joined together.

* wx_windowframe (app, lisaem_win, lisaem_frame constructors/destructors, events, etc.)
* wx_menu
* wx_render (for aa, aag, raw, 2x3y, hq3x, etc.)
* wx_skins
* wx_sound
* wx_print
* wx_emuloop (timer, pause, emulate a frame, etc.)
* wx_keyboard
* wx_mouse
* wx_hidpi (maybe or maybe not)That way when I push new code you could do `git diff` and see what changed and make mirror changes as needed.
Ultimately for 2.0 I'll do the split process thing where the UI is one process and the core is another and they just talk over ipc/shmem, but until then for 1.2.7 or 1.2.8 this might be a useful thing? (although for PPC, I don't know if it's worth splitting up the UI from the core as most of those systems are single core, so splitting them up would slow things down rather than help.)

The idea here is that we can multiple cores, each allocating a chunk of shared memory (2MB-4MB per Lisa with some control block and an individual shmem id, then they can communicate to the UI process which will do the video rendering and other stuff like playback of sounds or scripting, or whatever. (And then other UI's outside of wxWidgets could be implemented if so desired, i.e. Qt or GTK, or native macos or whatever.)

Eventually if I can get MacWorks going again, we could even do a bunch of really fun things like run a bunch of LisaEm's on the same box and have them talk over an internal localtalk network or something like that, maybe even run a local/ether talk bridge locally to the outside world like CAP/atalk, or to Shoebill, BasilliskII or PearPC or whatever.)

D.Finni:

--- Quote from: rayarachelian on January 05, 2020, 10:57:10 am ---
--- Quote from: D.Finni on December 04, 2019, 01:36:30 pm ---Yes, I would like to standardize on menus too, even if we do keep the separate wxui versions for maintaining compatibility with older systems.

--- End quote ---

Hey @D.Finni, so would it help your efforts (both on the G4/G5 front and future UI) if I split up lisaem_wx.cpp into multiple files?

I was thinking of something like this for a future release since that file's pretty huge and includes multiple classes rather than one per file?
[...]
That way when I push new code you could do `git diff` and see what changed and make mirror changes as needed.

--- End quote ---
Yeah, I think that'll work nicely.

Navigation

[0] Message Index

[*] Previous page

Go to full version