Search found 22 matches

by Laaca
Mar 17, 2019 22:24
Forum: DOS
Topic: Difficulties in DOS on real hardware
Replies: 21
Views: 623

Re: Difficulties in DOS on real hardware

Generally, in the DOS protected mode programming one of the most problematic things are any routines using hardware interrupts or hardware callbacks. There are often problems when interrupt handler wants to use memory which is swapped out from memory pool. So your application can be more stable if t...
by Laaca
Jan 25, 2018 21:10
Forum: DOS
Topic: weird crashes on Phenom II X4
Replies: 4
Views: 694

Re: weird crashes on Phenom II X4

Hm, interresting. Does the Phenom II X4 integrate some chipset functionality (like in southbridge/northbridge circuits) just on the chip itself? Because it sound like some kind of A20 gate problem. You should more experiment with various memory setups. By the way - does it occur if you run your samp...
by Laaca
Feb 13, 2015 15:25
Forum: DOS
Topic: Presse a key in same time -> move my mouse. Ctmouse troubles
Replies: 4
Views: 1905

Re: Presse a key in same time -> move my mouse. Ctmouse trou

The problem is probably somewhere in USB-PS2 emulation. If I understand correctly you use USB mouse in USB slot and have only CTmouse driver loaded. So you don't use DOS USB driver by Bret Johnson but you rely on BIOS emulation, right? In such cases you might try to turn off "USB input legacy e...
by Laaca
Aug 12, 2013 13:22
Forum: DOS
Topic: Large fonts in text mode
Replies: 7
Views: 2382

Re: Large fonts in text mode

You could try my pascal unit Mimoza. It allows many exotic things in DOS text mode; besides other things also changing the size of chars. Firstly try the included compiled example. The pascal source is self-explanatory and contains assembler parts. It is not difficult to translate it into basic. htt...
by Laaca
Aug 25, 2012 14:42
Forum: DOS
Topic: exec/chain/run performance loss
Replies: 10
Views: 1791

Re: exec/chain/run performance loss

It could be problem related to disk cache in protected mode. Most disk caching programs can have problems when are in protected mode (which is used by FBC). Before running FBC program you could load alternate DPMI server HDPMI32. Just enter on command line: "HDPMI32 -r". Then run your prog...
by Laaca
Nov 17, 2011 16:38
Forum: DOS
Topic: MIDI in DOS
Replies: 20
Views: 3548

Sure!
Look at it: http://www.laaca.borec.cz/qmidi.pas
The most important parts are encapsulated in {$IFDEF FPC} ... {$ENDIF}
by Laaca
Nov 08, 2011 15:30
Forum: DOS
Topic: MIDI in DOS
Replies: 20
Views: 3548

QMIDI in FreeBasic

Yes, it is not hard to port QMIDI into FreeBASIC. Year ago I ported it into Freepascal - the same 32-bit DPMI DOS environment. You only have to encapsulate the interrupt callings into protected mode envelope.
by Laaca
Jun 09, 2010 20:47
Forum: DOS
Topic: FBCompiler .vs. WindowsUpdates...
Replies: 13
Views: 4075

DOS386 wrote:2. It's not a DOS program, it's a no-OS program that can start from DOS and drop back there (no, I didn't test it myself)


Yes, but the key thing is that return from 64 long mode into 16 bit real mode is possible.
by Laaca
May 26, 2010 19:07
Forum: DOS
Topic: FBCompiler .vs. WindowsUpdates...
Replies: 13
Views: 4075

But Japheth has written a 64-bit DOS program

http://www.bttr-software.de/forum/board_entry.php?id=6886#p6887

And what about this sample application and facts in that thread?
by Laaca
Aug 16, 2009 6:37
Forum: DOS
Topic: Compiler Error - -lgcc missing
Replies: 2
Views: 1715

problems with LFN?

I have suspection than problem is in your path. LD utility has problems with long file names. Try to move Freebasic and your projects into domething like C:\FB
by Laaca
Jul 17, 2008 12:09
Forum: DOS
Topic: SCREEN() doesn't return the character of the work video page
Replies: 6
Views: 2285

If you want to read char from 1,1 of videopage 0, everything is clear:
a = screen (1,1)

Question is position 1,1 of videopage 1.
Did you try this?

a = screen (1,1+maxline)

(in standard 80x25 resolution the maxline=25, of course)
I didn't try it but it could work.
by Laaca
Jul 07, 2008 18:03
Forum: DOS
Topic: Sound Blaster output
Replies: 5
Views: 2497

About non working PCI soundcards:

1) he hears the sound clicks so it means that something works there
2) most probably he has running windows so it will work with PCI cards too
by Laaca
Jun 09, 2008 16:20
Forum: DOS
Topic: Just another Gui for Dos
Replies: 15
Views: 8819

Well, good luck! It will be very difficult task but if you are able to write it, it would be a great contribution for DOS community.
by Laaca
May 26, 2008 15:48
Forum: DOS
Topic: FbcDos limitations
Replies: 14
Views: 3681

In DOS 7.x and compatibles you can use for command line the CMDLINE environment variable if you don't want to use PSP
by Laaca
Apr 20, 2008 11:52
Forum: DOS
Topic: Console vs Dos
Replies: 7
Views: 2851

BTW, which mouse driver do you use? If is it CTmouse, think over using an another driver because CTmouse is very slow in protected mode. (It is not good at all for playing games like Doom, etc.)
other drivers are OK

Go to advanced search