Search found 5503 matches

by counting_pine
Mar 12, 2019 22:46
Forum: Tips and Tricks
Topic: windows message & dialog boxes
Replies: 10
Views: 1724

Re: windows message & dialog boxes

Its of no use to do it, if the people in question, have left the forum, long ago. Therefore, ' bumping ' old threads is discuraged (plse. stop doing it). MrSwiss, please don't take it upon yourself to admonish new forum users. I'm sure they're well intentioned, but posts like this are detrimental t...
by counting_pine
Mar 12, 2019 16:12
Forum: Beginners
Topic: createprocess
Replies: 9
Views: 2875

Re: createprocess

Nothoro, let me rephrase what MrSwiss has posted. Welcome to the forum. Within reasaon, any questions you have about FreeBASIC, or any FB code you want to contribute are welcome. It's kind of you to thank people in threads where you've been helped, but if a thread is old, it is probably worth leavin...
by counting_pine
Mar 12, 2019 15:49
Forum: Community Discussion
Topic: Getting blocked by Immunify360 while accessing the forum
Replies: 12
Views: 1246

Re: Getting blocked by Immunify360 while accessing the forum

Immunify360 is not something I know anything about - I've never seen it, and I don't know "where" it's coming from (the forum, the web server, the hosting network...) Possibly it's something worth asking Plasma about. EDIT: Hmm, I've found settings for 'imunify360' in the CPanel for freeba...
by counting_pine
Mar 07, 2019 12:56
Forum: General
Topic: 8 bit art
Replies: 16
Views: 4446

Re: 8 bit art

I thought you might be interested to know that many of the images here are now being made available in phone app form: http://pixfabrik.com/livingworlds/ Scenes are currently being made available at the rate of one a month. I presume there will be 12 in total. I think the app is well worth the price...
by counting_pine
Mar 04, 2019 14:02
Forum: Tips and Tricks
Topic: Tiny C64 (old school)
Replies: 57
Views: 30334

Re: Tiny C64 (old school)

UPDATE: Improved readability Added support for playing DVDs(POKE 49152,[track number]). https://github.com/fatman2021/project-manhattan/blob/master/c64dvd.bas NOTE: mplayer must be installed in order to play dvds. Strange, I don't seem to recall the original C64 having DVD support...
by counting_pine
Mar 04, 2019 14:00
Forum: Beginners
Topic: (Solved) Text limits and Screeninfo
Replies: 6
Views: 669

Re: (Solved) Text limits and Screeninfo

elissasmart wrote:Width doesn't work this way

Hi elissasmart, welcome to the forum.

Can you provide a short example of what you're trying, and how the result differs from what you expect?
by counting_pine
Mar 01, 2019 21:31
Forum: Projects
Topic: 80486 emulator with SVGA in BASIC!!!!!
Replies: 17
Views: 2937

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

I think many (but not all) kinds of programs are just structured in such a way that they don't benefit much from goto.. I see the vga_buffer() 2D array in video.bas is declared with dimensions of 2001. It might get a little bit of extra speed if you are able to increase that to 2048, which should en...
by counting_pine
Feb 26, 2019 13:17
Forum: DOS
Topic: View command in DOS
Replies: 8
Views: 4836

Re: View command in DOS

We can't run your code without widgets.bi. Even if we do, testing/verifying the behaviour will be a whole other hurdle.
Maybe you can reduce the problem down to a small, reproducible test case?
by counting_pine
Feb 26, 2019 13:14
Forum: DOS
Topic: FreeDOS 21st century?
Replies: 17
Views: 9353

Re: FreeDOS 21st century?

I've split your UEFI question off into viewtopic.php?f=4&t=27466. It warrants its own thread.
(EDIT: I split off your other question too: viewtopic.php?f=4&t=27467)
by counting_pine
Feb 25, 2019 14:34
Forum: DOS
Topic: View command in DOS
Replies: 8
Views: 4836

Re: FreeDOS 21st century?

Does the problem occur in DOS only? If so, this is probably worth splitting to a new thread.
If not, it's probably worth moving this to the General subforum.
I'm don't think I'm familiar with widgets.bi..
by counting_pine
Feb 23, 2019 16:35
Forum: Beginners
Topic: How to change curdir to parent dir?
Replies: 5
Views: 536

Re: How to change curdir to parent dir?

Something like this should work: #IFDEF __FB_PCOS__ #define SLASH "\" '' backslash #ELSE #define SLASH "/" '' forward-slash #ENDIF print curdir chdir ".." + SLASH + ".." print curdir It's not very elegant, sadly. Maybe FB should support a "\/" escape...
by counting_pine
Feb 23, 2019 15:38
Forum: Beginners
Topic: How to change curdir to parent dir?
Replies: 5
Views: 536

Re: How to change curdir to parent dir?

If you run 'dir' in Windows/DOS (or 'ls -a' in Linux), you will generally see two 'subdirectories' contained in every directory, named '.' and '..' In all of these platforms, '.' is used to signify the current directory, and '..' signifies the parent directory. It means that all these folders in Win...
by counting_pine
Feb 23, 2019 15:35
Forum: Beginners
Topic: Random numbers not the same
Replies: 26
Views: 1928

Re: Random numbers not the same

What are you deliberating over at this point? I'm not sure I follow.. The case for allowing self-swaps is not just "further strengthened", but iron-clad. You've seen that the possibility of self-swaps is crucial for the shuffle algorithm to be able to reach all permutations - much more so ...
by counting_pine
Feb 22, 2019 23:28
Forum: Beginners
Topic: Random numbers not the same
Replies: 26
Views: 1928

Re: Random numbers not the same

Self-swaps allowed: 0 1 2 1 0 2 2 1 0 0 2 1 1 2 0 2 0 1 Self-swaps disallowed: 1 0 2 2 1 0 1 0 2 2 1 0 1 0 2 2 1 0 In the first case we have all possible permutations and each column has 2x0,2x1 and 2x2. I do not understand what the second case is telling me. The second case is telling you what hap...
by counting_pine
Feb 22, 2019 19:41
Forum: Beginners
Topic: Random numbers not the same
Replies: 26
Views: 1928

Re: Random numbers not the same

I guess I'm really not sure what is meant here by the idea of 'Rnd = 0'. I don't see any special significance, compared to, say, 'Rnd = 1e-9'. Re self-swaps.. If I adapt my code so that self-swaps are impossible, then the most immediately obvious result is that the first element will be immediately ...

Go to advanced search