Author Topic: The DNDBBS Project  (Read 857 times)

Offline John

  • Forum Support / SB Dev
  • Posts: 1765
    • ScriptBasic Open Source Project
Re: The DNDBBS Project
« Reply #60 on: August 13, 2018, 08:59:10 PM »
For some reason DnDBBS isn't seeing the doesemu SHARE. I tried run the BBS after installing SHARE and your board still says that share isn't enabled..


Offline Azathoth

  • Contributor
  • Posts: 32
  • Cthulhu Master
Re: The DNDBBS Project
« Reply #61 on: August 18, 2018, 08:13:06 PM »
I think (again) you can force share in start1.cfg but I'm not sure if it works..

Az.

(the reason being because the files should be locked before a write to avoid collisions between multi-nodes)
« Last Edit: August 18, 2018, 09:14:35 PM by Azathoth »
Links to my MUD: (strictly 16-bit); AKA XP/Linux DOSemu:

Dndbbs executables http://www.filegate.net/pdn/pdnbasic/dnd50a1e.zip
Dndbbs source http://www.filegate.net/pdn/pdnbasic/dnd50a1s.zip
Dndbbs upgrade http://www.filegate.net/pdn/pdnbasic/dnd50a1u.zip

Offline John

  • Forum Support / SB Dev
  • Posts: 1765
    • ScriptBasic Open Source Project
Re: The DNDBBS Project
« Reply #62 on: August 18, 2018, 09:31:44 PM »
My guess is DnDBBS isn't detecting the DOSemu SHARE which would mean some investigative debugging on your part. It may be something simple that requires adding some conditional code to the source.



« Last Edit: August 18, 2018, 09:35:01 PM by John »

Offline Azathoth

  • Contributor
  • Posts: 32
  • Cthulhu Master
Re: The DNDBBS Project
« Reply #63 on: August 18, 2018, 09:52:20 PM »
I am using the following code to detect share:

Code: [Select]
InregsX.AX = &H1000
CALL INTERRUPTX(&H2F, InregsX, OutregsX)
IF (OutregsX.AX AND &HFF) = &HFF THEN
    Share.Installed = True
ELSE
    Share.Installed = False
END IF

Do you know of an easier way to detect share?
« Last Edit: August 18, 2018, 11:19:09 PM by Azathoth »
Links to my MUD: (strictly 16-bit); AKA XP/Linux DOSemu:

Dndbbs executables http://www.filegate.net/pdn/pdnbasic/dnd50a1e.zip
Dndbbs source http://www.filegate.net/pdn/pdnbasic/dnd50a1s.zip
Dndbbs upgrade http://www.filegate.net/pdn/pdnbasic/dnd50a1u.zip

Offline John

  • Forum Support / SB Dev
  • Posts: 1765
    • ScriptBasic Open Source Project
Re: The DNDBBS Project
« Reply #64 on: August 19, 2018, 09:39:59 AM »
You could shell  to DOS and trying running SHARE.EXE and if its already loaded it will say so. Not rocket science but works.

Offline Azathoth

  • Contributor
  • Posts: 32
  • Cthulhu Master
Re: The DNDBBS Project
« Reply #65 on: August 19, 2018, 09:35:13 PM »
Quote
You could shell  to DOS and trying running SHARE.EXE

The only problem with that is share returns a blank line!?

Az.
Links to my MUD: (strictly 16-bit); AKA XP/Linux DOSemu:

Dndbbs executables http://www.filegate.net/pdn/pdnbasic/dnd50a1e.zip
Dndbbs source http://www.filegate.net/pdn/pdnbasic/dnd50a1s.zip
Dndbbs upgrade http://www.filegate.net/pdn/pdnbasic/dnd50a1u.zip

Offline John

  • Forum Support / SB Dev
  • Posts: 1765
    • ScriptBasic Open Source Project
Re: The DNDBBS Project
« Reply #66 on: August 19, 2018, 10:46:29 PM »
It has been too long since I have done any  programming under DOS. Maybe one of the other senior members can offer some help. My advice is getting a Linux setup going so you can test DnDBBS yourself.