I think I'm going to have to use a newer BDOS anyway, having spent a chunk of today digging into why GEM wasn't loading and getting nowhere. So that is probably what comes nextDo whatever will be the most fun for you, is what I'd say :lisa:
I think I'm going to have to use a newer BDOS anyway, having spent a chunk of today digging into why GEM wasn't loading and getting nowhere. So that is probably what comes nextDo whatever will be the most fun for you, is what I'd say :lisa:
Not as far as I can see, no—this will run quite cheerfully on a 68000 without any MMU at all, it's only a little bit more complicated than CP/M. None of the assembly code seems to do anything special with distant addresses, certainly (not that I really know what I'm talking about). So any 68k compiler ought to do, I think. The one I'm using at the moment is insanely basic, to be honest.does GEMDOS use the Lisa's MMU in any way
Can you modify the boot loader such that it zeros RAM before it loads the BIOS/BDOS? You should be able to get max ram from the Lisa BIOS low memory globals at 0294:changed such that the BDOS now expects its working memory to be zeroed by the BIOS, whereas the previous one obviously didn't. I think the next step is to look at other BIOSes (the Atari and VME ones, perhaps?) to see what they
That's a very good idea. I don't have the source code to the bootloader, so I'll have to disassemble/reassemble it...Can you modify the boot loader such that it zeros RAM before it loads the BIOS/BDOS? You should be able to get max ram from the Lisa BIOS low memory globals at 0294:
Generally the Lisa's BOOT ROM will load the boot block around address 2000 depending on which device is selected/options ROMs are loaded, but you should be able to know from the boot loader where the boot loader ends, so use that as your start address and zero RAM all the way to MAXMEM-1 using a DBRA loop.
I haven't actually done this yet, I've been trying to track down another weirdness. So thanks. This is I think next on my list...Super minor point here, and you may have spotted it already, but there's a dropped zero---the boot block is loaded to $20000
Pity, they missed an opportunity here to call that error something a lot more fun: Major Havoc
- Documenting an error number as, and I quote verbatim, "General mishap" is hilarious but most decidedly not useful.
Thankyou for your kind words, but this isn't the only new development for the Lisa, and I'm not particularly good at it. This project wouldn't have got anywhere without @stepleton's development work, for example, which I am relying upon for hard disc drivers and to understand various bits of the Lisa. And of course the folks at DRI who originally built this OS. I'm just following along picking up the bits and playing Lego with them.Be that as it may, the fact that there's new development happening for the Lisa, likely for the first time in more than 30 years, is quite exciting!
I mean, this seems entirely possible. GEMDOS and GEM are designed to be very portable anyway, so not a great deal of code would actually need to be written. The question is, of course, whether it would be worth it. I am personally very fond of GEM, and I've sunk a reasonable amount of time into it over the years, but that doesn't blind me to the fact that it was largely following along where the Mac led. Possibly more interesting on the Mac would be to write a kind of "shim" GEMDOS/AES/VDI to allow GEM applications to run under MacOS. Because the AES and VDI try to assume as little as possible about the graphics hardware they're running on, this might be feasible (thunking through VDI calls to QuickDraw, etc). But I don't really know enough about how traps work etc to say whether this is really feasible or not.Could it be possible to port this to the Mac eventually? It seems like it would be generally possible, since the Lisa and Mac architectures are quite similar, but because of the Mac's ROM being what it is, I'd suppose it'd need a stub program/loader (as all the 68k-Mac oriented Linux/*BSD distros I've seen do), which greatly complicates it to the point that it's probably going to be prohibitively difficult.

Isn't this basically what MagiC-Mac was? It even saw PowerPC and native OS X versions.Possibly more interesting on the Mac would be to write a kind of "shim" GEMDOS/AES/VDI to allow GEM applications to run under MacOS. Because the AES and VDI try to assume as little as possible about the graphics hardware they're running on, this might be feasible (thunking through VDI calls to QuickDraw, etc). But I don't really know enough about how traps work etc to say whether this is really feasible or not.
... I did not know this was a thing. That's pretty much what I meant. Glad I don't have to build it nowIsn't this basically what MagiC-Mac was? It even saw PowerPC and native OS X versions.
Of course!Thankyou for your kind words...
Perhaps, but even so, you are still to be commended for your curiosity and motivation to do something potentially useful with his work!but this isn't the only new development for the Lisa, and I'm not particularly good at it. This project wouldn't have got anywhere without @stepleton's development work, for example, which I am relying upon for hard disc drivers and to understand various bits of the Lisa. And of course the folks at DRI who originally built this OS. I'm just following along picking up the bits and playing Lego with them.
Yeah, OK. Running the full GEM environment on a Mac (a platform GEM strove to emulate) is probably redundant and pointless, but developing some kind of API or runtime environment for GEWM programs to run natively on the Mac OS would be neat, and theoretically, it could be made to work on pretty much every Mac out there, even G3s and G4s, due in large part to PPC classic Mac OS' excellent 68k emulation.I mean, this seems entirely possible. GEMDOS and GEM are designed to be very portable anyway, so not a great deal of code would actually need to be written. The question is, of course, whether it would be worth it. I am personally very fond of GEM, and I've sunk a reasonable amount of time into it over the years, but that doesn't blind me to the fact that it was largely following along where the Mac led. Possibly more interesting on the Mac would be to write a kind of "shim" GEMDOS/AES/VDI to allow GEM applications to run under MacOS. Because the AES and VDI try to assume as little as possible about the graphics hardware they're running on, this might be feasible (thunking through VDI calls to QuickDraw, etc). But I don't really know enough about how traps work etc to say whether this is really feasible or not.
As @NJRoadfan noted above, this already exists. So I'll stick to this doomed endeavour and not try for the otherYeah, OK. Running the full GEM environment on a Mac (a platform GEM strove to emulate) is probably redundant and pointless, but developing some kind of API or runtime environment for GEWM programs to run natively on the Mac OS would be neat, and theoretically, it could be made to work on pretty much every Mac out there, even G3s and G4s, due in large part to PPC classic Mac OS' excellent 68k emulation.
On the Mac (and even LOS), the A-Line traps are almost fully used. You could cheat and use some of the F-Line traps that aren't used by the FPU or PMMU, or perhaps use some other mechanism if GEMDOS allows for it.Because the AES and VDI try to assume as little as possible about the graphics hardware they're running on, this might be feasible (thunking through VDI calls to QuickDraw, etc). But I don't really know enough about how traps work etc to say whether this is really feasible or not.