Post AwAIdZZOcMv0b2Srnk by skrzyp@ohai.social
(DIR) More posts by skrzyp@ohai.social
(DIR) Post #AwAIchsgESG45D4VMW by skrzyp@ohai.social
2025-07-15T17:30:36Z
0 likes, 1 repeats
Trying to port Mario & Luigi (1994) by Wiering Software from Turbo #Pascal to #FreePascal trunk (i8086), ofc on #DOS: https://wieringsoftware.nl/marioPosted on https://forum.lazarus.freepascal.org/index.php/topic,71748.html but got nowhereI can build it on FPC, but can’t run. Removing call to ReadConfig shows gfx issues and input gets messed. I can’t find a way to debug the realmode properlyMay I ask heroes from my feed for some helping hand? @foone @wyatt @root42 @nina_kali_nina
(DIR) Post #AwAIctbOeXYyR54s5Y by skrzyp@ohai.social
2025-07-15T17:32:07Z
0 likes, 0 repeats
I don't really know why @IceCubesApp broke the aspect ratio of these screenshots, I uploaded PNGs with correct ratio and it shows like I’m some dumb person running the SNES on widescreen TV.
(DIR) Post #AwAId1EIIJpw5kKXBo by skrzyp@ohai.social
2025-07-15T17:33:06Z
0 likes, 0 repeats
Anyways, I forgot to add that I mirrored the whole source code at my GitHub repository, split it into subdirectories and added build scripts for TP7 and FPC.https://github.com/skrzyp/mario-and-luigi
(DIR) Post #AwAId8YP3x56o8nC0O by skrzyp@ohai.social
2025-07-15T17:35:23Z
0 likes, 0 repeats
For reference, I'm knee-deep into this project for like a week of late-nights or more, but only got so far :/I’d plan to have a working DOS binary under FPC then abstract out hardware access from game logic and add some modern renderer. SDL or some FreePascal native thing.Then, if it works, maybe port it to other HW supported by the compiler: Amiga, GBA, PSX, NDS, 3DS, whatever.
(DIR) Post #AwAIdI9xLhT4bDQoHw by skrzyp@ohai.social
2025-07-15T17:39:11Z
0 likes, 0 repeats
Actually, I spent first few days wondering why it’s going crazy with pointer definitions until I found that the default model from TP7 is Large and I need `-WmLarge` and its RTL in FPC as well.I wrote up these details on FPC forums, but people there seem to be only bumping their counters with unrelated stuff instead of understanding the matter. Contrary to Fedi, where I see long threads of precise and detailed expertise which I always like to read ^^
(DIR) Post #AwAIdQnxCsDRPaCrk8 by skrzyp@ohai.social
2025-07-15T17:43:16Z
0 likes, 0 repeats
I'll try reuploading the screenshots from ohai.social webUI to see if that was a bug with IceCubes client.
(DIR) Post #AwAIdZZOcMv0b2Srnk by skrzyp@ohai.social
2025-07-15T17:46:02Z
0 likes, 0 repeats
Yeah, so I know where I'll open a bug report soon... :)Anyways - you might ask why I'm so much after that "Mario & Luigi" game. It was very popular in Europe during late 90s and early 00s, especially at schools were it was so easy to distribute (57kb UPX'd, 160kb unpacked) on a single floppy as a single executable. I played it a lot back then, and actually it was my first exposure to the Mario franchise and characters at all.And yes, we played that leaked beta with no menu and broken level 4