Search found 1357 matches

by angros47
Jun 02, 2018 19:55
Forum: Tips and Tricks
Topic: Creating MIDI files using the classic basic PLAY command and MML
Replies: 2
Views: 162

Creating MIDI files using the classic basic PLAY command and MML

This program is a variant of the PLAY routine that, instead of playing the notes, creates a MIDI file with the sequence. It works like the normal QBASIC PLAY command, but it supports more than one track (using the same syntax of GWBasic and MSX Basic, PLAY string1 , string2 , String3 ....). Notes ca...
by angros47
May 16, 2018 22:24
Forum: DOS
Topic: MIDI event to OPL
Replies: 1
Views: 1018

Re: MIDI event to OPL

Here is a sequencer using it (an improved version of RealMidi by Sebastian Mate for Quick Basic) 'based on RealMIDI 2.00, by Sebastian Mate declare sub MidiSend(event as UByte, a as UByte, b as UByte) DIM SHARED Header AS STRING * 4 DIM SHARED TweeByte AS STRING * 2 DIM SHARED VierByte AS STRING * 4...
by angros47
May 16, 2018 21:42
Forum: Projects
Topic: Cross-platform MIDI in pure FreeBasic!
Replies: 7
Views: 2630

Re: Cross-platform MIDI in pure FreeBasic!

Here is a remade sequencer #include "midisynth.bi" #include "instruments.bi" 'based on RealMIDI 2.00, by Sebastian Mate dim thread_handle as any ptr dim thread_count as uinteger ptr declare sub _SoundThread(ByVal userdata As Any Ptr ) declare sub _SoundInit() _SoundInit thread_ha...
by angros47
May 14, 2018 14:58
Forum: Projects
Topic: Proog MIDI / Karaoke Player
Replies: 6
Views: 810

Re: Proog MIDI / Karaoke Player

Is there any chance that the license will be upgraded to LGPL, to allow the inclusion of the code in a library?
by angros47
Apr 29, 2018 10:18
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 914
Views: 135134

Re: MiniB3d for FreeBasic

I'll consider it for the next version. For the future, however, I plan not to add more features on OpenB3D, and instead to put them in other libraries. In current version I am testing the concept.
by angros47
Apr 28, 2018 23:11
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 914
Views: 135134

Re: MiniB3d for FreeBasic

I just tried compiling on a 64 bit system, using gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9) . I had to add the -fPIC option to the compiler, in the makefile, but it compiled without any troubles related to "far" or "near" keywords. So I am unable to reproduce your...
by angros47
Apr 28, 2018 19:22
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 914
Views: 135134

Re: MiniB3d for FreeBasic

D.J.Peters wrote:I told you before "near" and "far" in lower case are reserved keywords of C++ 64-bit.


Which compiler? And what are they supposed to do? Because as far as I can find, they were reserved keywords in 16 bit model, not in 32, nor in 64.
by angros47
Apr 28, 2018 15:28
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 914
Views: 135134

Re: MiniB3d for FreeBasic

Is there any point why you ignore the OpenGL version on the target machine ? Joshy I started working on this library almost 10 years ago, and in all this time, this is the first time I receive such a complaint. The same applies to the issue you described with cube mapping, actually... you seem to b...
by angros47
Apr 28, 2018 13:17
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 914
Views: 135134

Re: MiniB3d for FreeBasic

I forgot that part (since I have a 32 bit system).... the issue with "near" and "far" was just in the file octree.cpp, or in others, too?
by angros47
Apr 28, 2018 10:24
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 914
Views: 135134

Re: MiniB3d for FreeBasic

gluBuild2DMipmaps() supports GL_TEXTURE_2D but not GL_TEXTURE_CUBE_MAP_XYZ It depends on the version. It is not guaranteed to support cubemap textures... but using your code, mipmapping would be lost. True, that could be fixed by using glGenerateMipmap, but that command is not supported on older ve...
by angros47
Apr 16, 2018 23:21
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 914
Views: 135134

Re: MiniB3d for FreeBasic

Ok, new version is online. In this version, some bugs have been fixed, and the code in the shader part has been cleaned a bit. Instead of adding further new features, this time I preferred to introduce a new helper library, named OB3D Plus. The reason is that most of the new features rely on shaders...
by angros47
Mar 26, 2018 18:08
Forum: Community Discussion
Topic: New version?
Replies: 45
Views: 2773

Re: New version?

Making FreeBasic able to compile existing code to run on GPU is not realistic: as far as I know, not even GCC or FreePascal can do that. The reason is that a GPU works in a completely different way, and the code has to be different. Even if it resembles C, the GLSL is not C, and existing C code cann...
by angros47
Mar 12, 2018 20:52
Forum: DOS
Topic: How to compile under DosEMU?
Replies: 22
Views: 1168

Re: How to compile under DosEMU?

There are a couple of differences: DyLibLoad requires to specify the extension of the file (so, dylibload( "mydll.dxe" ) instead of dylibload( "mydll" ) , if the library has extension .DXE). And Dylibsymbol will require an underscore character before the symbol name ( dylibsymbol...
by angros47
Mar 12, 2018 20:45
Forum: DOS
Topic: Multithreading in DOS
Replies: 16
Views: 4131

Re: Multithreading in DOS

The feature works, although I can't guarantee its reliability.

Go to advanced search