Search found 216 matches
- Jul 16, 2013 20:27
- Forum: DOS
- Topic: DOS and Interrupts
- Replies: 15
- Views: 11628
Re:
Anyway isn't it possible to get PMODE video BIOS routine address by calling special INT 10h subfuncion and then use VBIOS directly from PMODE without switching to RMODE? Sorry for bumping this old thread. I'm definitely not a systems programmer, but ... Since FreeBASIC for DOS uses DJGPP v2, it's a...
- Jul 16, 2013 19:02
- Forum: DOS
- Topic: Befunge-93 interpreter
- Replies: 6
- Views: 3368
- Jul 16, 2013 18:36
- Forum: DOS
- Topic: Does FreeBasic use Dos Interrupt 16h for inkey$ ?
- Replies: 10
- Views: 3470
Re: Does FreeBasic use Dos Interrupt 16h for inkey$ ?
My target environment is a dos emulator used by mobile devices. Specifically, which machines? Which OS? Which emulator? (I assume you mean one of the many DOSBox forks for Android.) I have "aDOSBox" on my Android 3.2 (Honeycomb) Tegra 2 tablet, but it's dirt slow, and thus I never use it....
- Jul 15, 2013 5:51
- Forum: DOS
- Topic: Does FreeBasic use Dos Interrupt 16h for inkey$ ?
- Replies: 10
- Views: 3470
Re: Does FreeBasic use Dos Interrupt 16h for inkey$ ?
I've not much experience in the low-level details, so I'm not entirely sure. (Ask on news://comp.os.msdos.djgpp , CWS still hangs around there. He can give a much more precise answer than probably anybody else alive.) But for sure, if you want fastest speed, don't use DOSBox at all! Use something li...
- Jun 24, 2013 20:10
- Forum: DOS
- Topic: Dynamic link libraries in DOS
- Replies: 18
- Views: 16295
Re: Dynamic link libraries in DOS
I can't get it to work: 1) It told me to set DXE_LD_LIBRARY_PATH variable: I set it to lib 2) It complained it cannot find LD, I put bin\dos in the path 3) It complained about the file dxe.ld, I added this one: http://www.filewatcher.com/p/djgpp-crx-2.03.tbz.317176/i586-pc-msdosdjgpp/lib/dxe.ld.htm...
- Jun 24, 2013 20:05
- Forum: DOS
- Topic: Dynamic link libraries in DOS
- Replies: 18
- Views: 16295
Re: Dynamic link libraries in DOS
So that probably precludes any dead code removal options (--gc-sections and friends on gcc) too. Last I checked, this wasn't supported by BinUtils on any COFF targets, so that won't work here. MS COFF is probably the only COFF target that will get any work done in the future, due to Windows popular...
- Jun 24, 2013 19:50
- Forum: DOS
- Topic: DOS COM files
- Replies: 7
- Views: 3122
Re: DOS COM files
A .COM isn't the same as a flat binary used for a boot sector because it loads at CS:100h (but a boot sector may not). Though it's still flat format "raw" because there are no relocations. But a .COM is limited to 64 kb in size on disk (though it can access way more than 64 kb of RAM). A n...
- Jun 24, 2013 19:37
- Forum: DOS
- Topic: Which is the fastest DPMI extender for freebasic?
- Replies: 8
- Views: 2764
Re: Which is the fastest DPMI extender for freebasic?
I don’t know much about DOSBox, but my quick search shows multiple reports of people using RDTSC and CPUID with it. Given this capability, under DOSBox you should be able to measure the effective clock speed of the processor, emulated or otherwise. ... The above code, running under the Windows XP N...
- Jun 24, 2013 19:23
- Forum: DOS
- Topic: Using TCP/IP - DOS networking with NDIS drivers
- Replies: 8
- Views: 2730
Re: Using TCP/IP - DOS networking with NDIS drivers
sir_mud wrote:I found this with a quick google: https://code.google.com/p/mtcp/ but it looks to be written for C++
IIRC, it's written in C for OpenWatcom (and GPLv3), meant for embedding into 16-bit apps only. I've only briefly tested it under VirtualBox + FreeDOS.
- Jun 24, 2013 19:21
- Forum: DOS
- Topic: Using TCP/IP - DOS networking with NDIS drivers
- Replies: 8
- Views: 2730
Re: Using TCP/IP - DOS networking with NDIS drivers
I translated this header: http://jafile.com/uploads/sir_mud/dos_tcp.bi awhile back but can't recall what the corresponding library was. May be WATT-32 ? http://www.erickengelke.com/wattcp/ Joshy I think you meant this URL: http://home.broadpark.no/~gvanem/ To quote the author (from comp.os.msdos.dj...
- Jun 24, 2013 19:18
- Forum: DOS
- Topic: Access vesa modes in freebasic ?
- Replies: 14
- Views: 4551
Re: Access vesa modes in freebasic ?
NTVDM DPMI server in Windows XP don't support mapping of physical memory regions (0800h function). Seems, applying of flat frame buffer is impossible there at all. At least, I do not know how to do it. VESA graphics under XP's NTVDM are probably a lost cause (though way better than Vista/7/8). I th...
- Jun 24, 2013 19:12
- Forum: DOS
- Topic: Multithreading in DOS
- Replies: 16
- Views: 15543
Re: Multithreading in DOS
To angros47: The cause is not in an extender. The matter is that the libraries Pthread and Watt32 used for the organization of a multithreading, are compiled for the processor i686 and contain some instructions specific to Pentium II+ processors. DOSBOX isn't able to execute them therefore there is...
- Aug 21, 2012 19:53
- Forum: DOS
- Topic: FreeBasic 0.23.0 DOS
- Replies: 8
- Views: 2097
Re: FreeBasic 0.23.0 DOS
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 wh...
- Aug 21, 2012 19:45
- Forum: DOS
- Topic: Long filenames?
- Replies: 9
- Views: 2413
Re: Long filenames?
Hi, sorry for delay in responding, When I try to compile a program using FreeBasic unzipped on a MSDOS 6.2 machine, I get the error: C:\frebasic\bin\dos\ld.exe: cannot find -lfb But on a FreeDOS machine, after unzipping FreeBasic the code compiles fine. I can think of no obvious reason why it should...
- Feb 26, 2012 20:24
- Forum: DOS
- Topic: Compiling error
- Replies: 11
- Views: 1766
Re: Compiling error
You only "need" BinUtils, specifically the assembler (as.exe) and linker (ld.exe), which should be somewhere in your /fbc/bin/ subdirectory (sorry, can't remember exactly and don't have FBC installed here on this machine). You could probably?? just do "unzip -Cj bnu*.zip *\as.exe *\ld...