News:

Want an XLerator? Please participate in the market research thread: https://lisalist2.com/index.php/topic,594.msg4180.html

Main Menu

Porting FreePascal to the Lisa

Started by kgraaf, August 10, 2025, 04:10:55 PM

Previous topic - Next topic

kgraaf

With everything happening in the Lisa community, I think it's high time we have a bit more modern approach to development. Our inability to cross compile sources is especially painful given the tedium of getting text onto Lisas. Moreover, I've looked a bit the Pascal compiler sources floating around, and it seems like Apple's compiler does only very minimal optimizations compared to modern compilers. Based on some preliminary research, I think porting the FreePascal compiler to the Lisa should be very doable. Ideally, we could use it to compile the LOS source itself. I have to imagine this would make the OS a bit faster.

My questions are:


  • What does LOS's object file format look like?
  • What calling convention/ABI does LOS use?