Search found 1423 matches

by angros47
Jun 04, 2019 15:47
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 924
Views: 147323

Re: MiniB3d for FreeBasic

I can't test your demo, since I have no sGUI installed. By the way, here is a demo: #include "openb3d.bi" #include once "GL/gl.bi" Common Shared glBindBuffer As Sub(ByVal target As GLenum, ByVal buffer As GLuint) screencontrol 150,1 screen 18, 32, , &h10002 glBindBuffer = Scr...
by angros47
May 14, 2019 15:20
Forum: Projects
Topic: 80486 emulator with SVGA in BASIC!!!!!
Replies: 17
Views: 1904

Re: 80486 emulator with SVGA in BASIC!!!!!

The link on Google Drive doesn't work, is there any other place to download it?
by angros47
May 12, 2019 18:35
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 924
Views: 147323

Re: MiniB3d for FreeBasic

Hard to tell where is the issue without a code example. By the way, with OpenB3D you must use manual sync mode. Also, try removing the RenderWorld command and using only the Flip command to see if the 2d screen appears, in that case
by angros47
May 11, 2019 18:13
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 924
Views: 147323

Re: MiniB3d for FreeBasic

Nicely done! Actually, to texture a cube sphere, you would need 6 different textures, one for each face, or you can "pack" them into a single texture, in a cube map (either a cross-shaped picture, or a "strip" made of 6 square textures). If you use separate textures, you can then...
by angros47
May 01, 2019 21:23
Forum: Game Dev
Topic: Help on an Infinite Tile Engine
Replies: 14
Views: 603

Re: Help on an Infinite Tile Engine

Usually, to store a tile map in memory there are two possible solutions: a matrix (that is basically a standard 2d array) that is fast, and simple, but for large tilemaps require a huge amount of memory, or a quad tree. https://en.wikipedia.org/wiki/Quadtree A quad tree can surely be implemented in ...
by angros47
Apr 25, 2019 22:07
Forum: General
Topic: C to FreeBasic Converter
Replies: 5
Views: 1567

Re: C to FreeBasic Converter

There is no easy way to convert a C program into FreeBasic automatically, but a source written in C can be compiled to object code using GCC and linked as module into a FreeBasic program
by angros47
Apr 24, 2019 22:12
Forum: Community Discussion
Topic: Are you happy with your office's lightings?
Replies: 20
Views: 991

Re: Are you happy with your office's lightings?

If there were a standard way to control ambient light from a program (through a specific system API, for example), from FreeBasic the best way to do it would be to use the third parameter of the COLOR instruction (in original GWBASIC, and on MSX BASIC, it was supposed to control the border color, or...
by angros47
Apr 16, 2019 16:58
Forum: DOS
Topic: FreeDOS 21st century?
Replies: 17
Views: 1664

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: 593

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: 625

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: 593

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: 593

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: 1895

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: 890

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: 1845

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...

Go to advanced search