FreeBasic 0.23.0 DOS

DOS specific questions.
Buzzby
Posts: 14
Joined: Jul 24, 2012 11:31

FreeBasic 0.23.0 DOS

Postby Buzzby » Jul 24, 2012 11:37

I have an older computer running MS DOS 6.22 and I cannot get anything to work.
Top message is always "Invalid Opcode at eip=0000a714"
Is there any special requirements to running FreeBasic in pure DOS.
PC is old and slow but I use it almost all the time in DOS programming stuff in QuickBasic 7.1
marcov
Posts: 2563
Joined: Jun 16, 2005 9:45
Location: Eindhoven, NL
Contact:

Re: FreeBasic 0.23.0 DOS

Postby marcov » Jul 24, 2012 13:14

Probably it requires a DPMI host and a CPU with coprocessor. Maybe also the binary of the extender (go32.exe)

Usually these things come with the compiler distribution, do you have the compiler distribution in your %PATH% ?
Buzzby
Posts: 14
Joined: Jul 24, 2012 11:31

Re: FreeBasic 0.23.0 DOS

Postby Buzzby » Jul 24, 2012 13:56

I believe it is the computer. As I mentioned, it is old.
Have a laugh: Packard Bell 166Mhz 128MB memory
DOS/Windows 3.11

I decided to try my Windows 98 computer in DOS mode and all seems well.
MichaelW
Posts: 3500
Joined: May 16, 2006 22:34
Location: USA

Re: FreeBasic 0.23.0 DOS

Postby MichaelW » Jul 24, 2012 20:05

The processor is probably a 166 MHz Pentium MMX, which should be more than sufficient. Windows 98 includes a DPMI host (DOSX.EXE), but for MS-DOS 6.22 you must provide one.
marcov
Posts: 2563
Joined: Jun 16, 2005 9:45
Location: Eindhoven, NL
Contact:

Re: FreeBasic 0.23.0 DOS

Postby marcov » Jul 24, 2012 20:38

MichaelW wrote:The processor is probably a 166 MHz Pentium MMX, which should be more than sufficient. Windows 98 includes a DPMI host (DOSX.EXE), but for MS-DOS 6.22 you must provide one.


Afaik go32v2 should automatically initialize cwsdpmi when necessary, but that will only work with free Extended Memory. Probably win3.x grabs it all.
MichaelW
Posts: 3500
Joined: May 16, 2006 22:34
Location: USA

Re: FreeBasic 0.23.0 DOS

Postby MichaelW » Jul 25, 2012 4:33

I was assuming that the system is being booted from a diskette. For this purpose a Windows 98 boot disk is probably the best choice.
Buzzby
Posts: 14
Joined: Jul 24, 2012 11:31

Re: FreeBasic 0.23.0 DOS

Postby Buzzby » Jul 25, 2012 13:38

I have cwsdpmi in the DOS directory (path) on the DOS computer but it still doesn't work.
I decided to skip FreeBasic on that computer.

I now either use FreeBasic in DOS on the Win 98 computer (1.3Ghz 1gb RAM) or in Windows 98 using FB Edit
rugxulo
Posts: 186
Joined: Jun 30, 2006 5:31
Location: Usono (aka, USA)
Contact:

Re: FreeBasic 0.23.0 DOS

Postby rugxulo » Aug 21, 2012 19:53

Buzzby wrote:I have cwsdpmi in the DOS directory (path) on the DOS computer but it still doesn't work.
I decided to skip FreeBasic on that computer.

I now either use FreeBasic in DOS on the Win 98 computer (1.3Ghz 1gb RAM) or in Windows 98 using FB Edit


Uh ... try upgrading to CWSDPMI r7, latest JEMM386 (for whatever reason, "Invalid opcode" is always his fault, heh), or just use HIMEMX instead. Your computer seems new enough to have an FPU, so you don't need EMU387. It "should" work fine, but we won't know unless you decide to try again.
DOS386
Posts: 798
Joined: Jul 02, 2005 20:55

Re: FreeBasic 0.23.0 DOS

Postby DOS386 » Oct 08, 2012 18:44

- Try "HDPMI32 -r"
- Neither JAM-EX nor any other EMM or HIMEM is needed (just kick them)
- Try FreeDOS
- "Packard Bell 166Mhz 128MiB memory" is very sufficient for everything FreeBASIC except the Graphics library, for graphics (especially more than 640x480x8bpp) expect trouble
- Post more details if problems persist

PS: viewtopic.php?t=20252 0.24 is out ... thanks to all developers ... I haven't tested yet.

Return to “DOS”

Who is online

Users browsing this forum: No registered users and 1 guest