VOGONS


First post, by Sounds

User metadata
Rank Newbie
Rank
Newbie

Hi,

I'm new to the forum but have been using Dosbox and Dosbox via DFend for many years just for one game which is a Text sports simulation. "The Cricket Simulator" programmed in Quick Basic
Until recently all good no problems however things have changed

I was using a Imac 27" intel based processor (OS Sequoia ) dual boot with Windows 10.
I used Dosbox via the Windows option however my virtual software suddenly stopped working and whilst I can used DosBox by booting up Windows I can no longer switch between both Windows & OS.

The game still works perfectly on Windows - Dfend however when I load the game up on Mac via DosBox (0.74.3.3) or latest RetroArch on Steam I get "odd" results.

Its a cricket simulation which mostly runs on its own after you input the teams only problem is on Mac it doesnt record 3 or 6 runs scored. It shows them on screen but does not count them in the batter's score or team total.

below is an example

End of over 61 (0 runs)

END OF DAY 1
Time: 4:31 PM
PECKHAM FRIENDS 156/3 (lead 156)
Paul Foster 6.0-0-12-0
Frank Smith 6(26b 1X4)
Stewart Ming 0(4b)

61.1 Morgan to Ming, FOUR, Brilliant cover drive by Stewart Ming
61.2 Morgan to Ming, no run, That ball was a mystery to the batsman
61.3 Morgan to Ming, three runs,
61.4 Morgan to Ming, no run, Stewart Ming playing forward defensive
61.5 Morgan to Ming, no run, Stewart Ming playing forward defensive
61.6 Morgan to Ming, no run, Stewart Ming playing forward defensive

End of over 62 (4 runs)
PECKHAM FRIENDS 160/3 (lead 160)
Carl Morgan 8.0-4-16-0
Stewart Ming 4(10b 1X4)
Frank Smith 6(26b 1X4)

In this example of over 62, MING has scored "Four" and "Three" but only four has been added to his score and the total .

As mentioned run it on Windows and it runs perfectly.

Any help or advice would be great.

Thanks

Reply 1 of 2, by jmarsh

User metadata
Rank Oldbie
Rank
Oldbie
Sounds wrote on 2024-10-01, 16:31:

programmed in Quick Basic

There's the reason.
Quick Basic does all basic math operations in a very inefficient way - everything is done using the x87 FPU. This can be a bit problematic to emulate from both a hardware and OS standpoint, so unless DOSBox can directly pass operations through to a physical x87 FPU on the host machine (which depends on the type of host machine, the OS being used and whether the build is 32-bit or 64-bit) some of the results may be a little bit "off" which can cause some games to behave oddly.

There's a chance this bug has been fixed if you use an SVN build of DOSBox rather than a 0.74.x build which is based on code that is over 10 years old.

Reply 2 of 2, by Sounds

User metadata
Rank Newbie
Rank
Newbie
jmarsh wrote on 2024-10-01, 16:42:
There's the reason. Quick Basic does all basic math operations in a very inefficient way - everything is done using the x87 FPU. […]
Show full quote
Sounds wrote on 2024-10-01, 16:31:

programmed in Quick Basic

There's the reason.
Quick Basic does all basic math operations in a very inefficient way - everything is done using the x87 FPU. This can be a bit problematic to emulate from both a hardware and OS standpoint, so unless DOSBox can directly pass operations through to a physical x87 FPU on the host machine (which depends on the type of host machine, the OS being used and whether the build is 32-bit or 64-bit) some of the results may be a little bit "off" which can cause some games to behave oddly.

There's a chance this bug has been fixed if you use an SVN build of DOSBox rather than a 0.74.x build which is based on code that is over 10 years old.

Fantastic worked a treat. I loaded DosBox X and all is now good.

Many thanks for your help!!!