Recent

Author Topic: [Solved] Target Go32v2 DOS - How to implement COMPORT (possibly FOSSIL support?)  (Read 525 times)

Ozz_Nixon

  • Full Member
  • ***
  • Posts: 127
  • ~ email: nixon.ozz@aol.com or ozznixon@gmail.com
    • http://www.modernpascal.com/
I have code from TP7 DOS days (QModem from John Freil), that I would like to use GO32 Target - and thus, port it to 32bit Console (Using XP 32bit)/DOSBox-X exe.


I am not totally familiar with how GO32v2 actually works. Could someone point me to how to implement COMPORT support? The existing source uses Fossil and BIOS communications - I did not try to compile those two, as I remember in BP7 DPMI mode, things broke. (Am I to assume GO32 is going to do the same for everything?) - my goal is to walk the source up to eventually native FPC Win32 exe.

PS. Is there a URL that steps through setting up i8086 Target (e.g. cross-compiler, I assume)?


Thanks for any insight!
Ozz
« Last Edit: September 29, 2025, 02:08:34 am by Ozz_Nixon »
---
Want to kick the tires to a Free Pascal like script engine? http://www.ModernPascal.com/

PascalDragon

  • Hero Member
  • *****
  • Posts: 6235
  • Compiler Developer
Re: Target Go32v2 DOS - How to implement COMPORT (possibly FOSSIL support?)
« Reply #1 on: September 16, 2025, 10:45:16 pm »
my goal is to walk the source up to eventually native FPC Win32 exe.

It might be easier to go to Win32 or Win64 right away considering that there's a Serial unit. Cause the step will be big either way no matter if you go from i8086-msdos or i386-go32v2.

PS. Is there a URL that steps through setting up i8086 Target (e.g. cross-compiler, I assume)?

This might help. :)

Ozz_Nixon

  • Full Member
  • ***
  • Posts: 127
  • ~ email: nixon.ozz@aol.com or ozznixon@gmail.com
    • http://www.modernpascal.com/
Re: Target Go32v2 DOS - How to implement COMPORT (possibly FOSSIL support?)
« Reply #2 on: September 28, 2025, 09:26:22 pm »
@PascalDragon... thanks for the *This* link. It answered my next set of questions.


Per jumping to Win32 or Win64 ~ I author DXSock suite, so, I will be using my own Sockets. [Which have been FPC friendly since FPK days]. ;-)


PS. I also author:
1)   DOS Pascal - a 99.9999% clone of Turbo Pascal 7.0
2)   Modern Pascal - a 32/64bit p-code script engine (for every platform FPC is available - as it's my bootstrap).
3)   Most-Recently:
          Little Open Source Multi-Language Compiler ~ Los Compiler. (Compiles Pascal, Basic and C to DOS, Win32 and Linux32).
          Patched XD Pascal - to support Objects, Classes and much more.




So, I understand challenges, legacy development - and since I have brain cancer ~ cannot find an employer ~ I focus on porting all BBS source I can get my hands on to 16/32/64bit.
« Last Edit: September 28, 2025, 09:28:00 pm by Ozz_Nixon »
---
Want to kick the tires to a Free Pascal like script engine? http://www.ModernPascal.com/

 

TinyPortal © 2005-2018