Search found 1416 matches

by angros47
Apr 16, 2019 16:58
Forum: DOS
Topic: FreeDOS 21st century?
Replies: 14
Views: 879

Re: FreeDOS 21st century?

There was some discussion of TSRs and FB on the forum last year sometime. You might use search to pull up that discussion. I'm pretty sure that FBC under DOS, and the executables it creates are 32-bit extended-mode programs, so they can't run on 16-bit chips like the 80286 or the 8086. Also I don't...
by angros47
Apr 13, 2019 18:55
Forum: General
Topic: UEFI FreeBasic programming
Replies: 12
Views: 429

Re: UEFI FreeBasic programming

I guess FreeBasic would have to be enhanced with some commands to be able to manipulate the underlying computer hardware. This almost sounds like a pseudo OS, but who wants to go that route? I guess maybe I would. There is no need for commands to manipulate the hardware: most of these "pseudo ...
by angros47
Apr 12, 2019 15:38
Forum: General
Topic: Speed issue with string concatenation and a solution
Replies: 14
Views: 356

Re: Speed issue with string concatenation and a solution

String concatenation changes the amount of memory occupied by a string variable, and this may require a reallocation. Reallocations are managed by the operating system, so there is no way to make them more efficient. The only way to speed up things is to reduce the number of reallocations, by preall...
by angros47
Apr 12, 2019 14:54
Forum: General
Topic: UEFI FreeBasic programming
Replies: 12
Views: 429

Re: UEFI FreeBasic programming

In theory, the runtime library could be modified to run even in those conditions: it would be necessary to add memory handling (allocations/deallocations), and a rudimentary file system management, at least (basically, the rt library would become what is called a library OS) In that way, it would be...
by angros47
Apr 11, 2019 22:52
Forum: General
Topic: UEFI FreeBasic programming
Replies: 12
Views: 429

Re: UEFI FreeBasic programming

jj2007 wrote:(and I doubt that FreeBasic can run on a machine that has not yet booted...)


It actually can: https://wiki.osdev.org/FreeBASIC https://wiki.osdev.org/FreeBasic_Bare_Bones

But it would be almost unusable, since the runtime libraries would not work.
by angros47
Apr 11, 2019 21:57
Forum: General
Topic: fbGFX: BUG in Paint statement
Replies: 46
Views: 1250

Re: fbGFX: BUG in Paint statement

A command like PAINT was supposed to work either in B/W or in a 16 color mode (it was used on BASIC dialects supposed to work on home computers like the MSX, or on PC with a CGA, or at best an EGA). Under Quick Basic it was much less useful in 256 color mode, since it was unable to recognize a borde...
by angros47
Apr 02, 2019 15:07
Forum: DOS
Topic: MS-DOS 4.0 (multitasking)
Replies: 14
Views: 537

Re: MS-DOS 4.0 (multitasking)

caseih wrote:Ever played with Geoworks Ensemble? Amazing environment/mini OS that ran on top of MS-DOS in 16-bit real-mode.


Yes, it is now under Apache License, free and open source: https://github.com/bluewaysw/
by angros47
Apr 02, 2019 14:00
Forum: DOS
Topic: FreeDOS and UEFI
Replies: 20
Views: 963

Re: FreeDOS and UEFI

I rather say minimalistic than lowlevel. And working through a firmware (BIOS), rather than managing the chips themselves is also not exactly lowlevel. The other OS in the same category (abstraction is done more by firmware than OS) are the older versions of Classic MacOS (say before 6/7 after whic...
by angros47
Apr 02, 2019 9:25
Forum: DOS
Topic: FreeDOS and UEFI
Replies: 20
Views: 963

Re: FreeDOS and UEFI

DOS is a low level OS, and it offers much less abstraction than other operating systems. It can be a good thing in terms of speed and memory usage, but it also makes porting more troublesome. A programming language like GCC, FreePascal, or FreeBasic can be ported to a different platform: one would o...
by angros47
Apr 01, 2019 18:07
Forum: DOS
Topic: FreeDOS and UEFI
Replies: 20
Views: 963

Re: FreeDOS and UEFI

Switching to V86 mode from 32-bit pmode is not slow at all. That was by design. 64-bit is not impossible. With newer VT-X, you can do many things. "Not impossible" doesn't mean "usable in everyday situations". There are plenty of "not impossible" tricks that have been ...
by angros47
Mar 30, 2019 23:21
Forum: DOS
Topic: FreeDOS and UEFI
Replies: 20
Views: 963

Re: FreeDOS and UEFI

FreeDos is not supposed to work on a system that has no BIOS, and a port is not planned. DOS uses too many calls to BIOS INTs, and those INTs will be removed on a system that has no BIOS (the reason is that a BIOS INT calls to a 16 bit piece of code, that in 32 bit mode slows down the processor (vor...
by angros47
Mar 30, 2019 22:48
Forum: DOS
Topic: Playing modules MOD XM IT S3M
Replies: 4
Views: 258

Re: Playing modules MOD XM IT S3M

There are some examples in QuickBasic that allow to open a .MOD file. Some can be ported to FreeBasic (but accessing the audio card is more complex in DOS FreeBasic)

Otherwise, a multiplatform library that does what you need is LibMikMod, there should be a version for DOS too
by angros47
Mar 11, 2019 16:35
Forum: Community Discussion
Topic: [Patch] Rendering of FreeBasic graphic on OpenGL
Replies: 82
Views: 6762

Re: [Patch] Rendering of FreeBasic graphic on OpenGL

@fxm There is no real limitation in my code about the zoom factor. The maximum possible zoom depends on screen resolution, and (I guess) on the OpenGL implementation, so there is no way to document it @dodicat the flip command renders the FreeBasic screen on a square over the OpenGL mode, covering e...
by angros47
Dec 05, 2018 22:45
Forum: Projects
Topic: Pure FB Runtime Library (in progress)
Replies: 209
Views: 13872

Re: Pure FB Runtime Library (in progress)

I just want to remind that, if main changes are made in the runtime, the file fbc/src/rtlib/dos/symb_reg.txt must be updated, for the dos version, or dynamic linking wouldn't work. To update it, one has to build the runtime, run the file maksymbr (that will update the file symb_reg), and then recomp...
by angros47
Dec 05, 2018 22:34
Forum: Linux
Topic: ESpeak Library ported to FB
Replies: 2
Views: 1250

Re: ESpeak Library ported to FB

This version loads the library dynamically, so it doesn't need to install libespeak-dev. Also, it can run even if espeak library is not installed (of course, if the variable espeak is set to 0 it means that speech synthesis commands are not available, and would crash the program if used). '' '' '' s...

Go to advanced search