[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
Pete's QBASIC Site Discuss QBasic, Freebasic, QB64 and more 2023-12-15T17:22:24-05:00 http://petesqbsite.com/phpBB3/app.php/feed/topics 2023-12-15T17:22:24-05:00 2023-12-15T17:22:24-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39366#p39366 <![CDATA[General Discussion • Small BASIC]]> https://smallbasic-publicwebsite.azurewebsites.net/

Statistics: Posted by buddpaul — Fri Dec 15, 2023 5:22 pm — Replies 3 — Views 16421


]]>
2023-12-15T15:08:43-05:00 2023-12-15T15:08:43-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39363#p39363 <![CDATA[News and Announcements • FAX-ME: Let's write Tetris]]> simple black-and-white page packed with illustrations, code, and step-by-step instructions on how to build your own Tetris engine. Let me know what you think.

Statistics: Posted by MikeHawk — Fri Dec 15, 2023 3:08 pm — Replies 3 — Views 28801


]]>
2023-09-06T15:33:12-05:00 2023-09-06T15:33:12-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39353#p39353 <![CDATA[General Discussion • RP1 Free Online Scientific Calculator (written in PHP)]]>

(R)PN (P)HP 1

Free online scientific calculator.

I wrote this to go along with my Net Basic as a set of tools I like to think of as "website widgets."

It's a calculator that accepts BASIC like expressions. There's an input box for the expression along with 26 more input boxes for variables named a-z. All of the expression and variable data remains persistent on the page with every query.

https://lucidapogee.com/rp1/

Statistics: Posted by bongomeno — Wed Sep 06, 2023 3:33 pm — Replies 0 — Views 71774


]]>
2023-09-06T15:38:10-05:00 2023-09-01T20:30:41-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39347#p39347 <![CDATA[General Discussion • Net Basic - a BASIC in PHP]]>

Net Basic is a minimal BASIC dialect contained in an online programming environment that is suitable for performing complex calculations on the go.

I started the project earlier this week. It's stable and live. Try it out.

https://lucidapogee.com/netbasic

Statistics: Posted by bongomeno — Fri Sep 01, 2023 8:30 pm — Replies 14 — Views 61012


]]>
2023-06-30T01:21:28-05:00 2023-06-30T01:21:28-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39343#p39343 <![CDATA[News and Announcements • RPN scientific command line calculator]]>
FREEWARE Open Source

RPN Calc is a scientific command line calculator for x86 DOS.

Example expressions:

Code:

(18/3)^2+((13+7)*5^2)2*20/2+(3+4)*3^2-6+15(3*5^2/15)-(5-2^2)(5.9-5.3)*7.2+1.4^2(2.1^2+5.2-7.2)*7.1(18/3)^2+((13+7)*5^2)(-B+SQR(B^2-4*A*C))/(2*A)(-B-SQR(B^2-4*A*C))/(2*A)
Type help in the calculator for assistance.

Operator precedence: !, ^, %, *, /, +, -, <, >, <=, >=, =, <>, ~, &, |
Operator description: ! is NOT(), % is MOD, ~ is XOR, & is AND, | is OR

Variables are named from a to z. To negate variables, write v*-1, not -v.
# inserts the last evaluation in an expression.
Enter STO V with any variable as V to store the last evaluation.
Enter RESET to set values for the variables.
Functions: INT(), SQR(), SIN(), COS(), TAN(), ATN(), ABS(), LOG(), SGN()
Functions are unary, but have no precedence unlike not.
Enter LIST to view the variables values.
Enter CLS to erase the screen.
Enter STEPS to disable/enable printing and recording of steps.
Enter DOS to exit
Enter HELP or ? to see this text again.

Download:
http://www.lucidapogee.com/download.php ... pncalc.zip

Statistics: Posted by bongomeno — Fri Jun 30, 2023 1:21 am — Replies 0 — Views 74558


]]>
2023-03-21T17:20:28-05:00 2023-03-21T17:20:28-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39339#p39339 <![CDATA[General Discussion • Latest Windows 11 update is causing slow SSDs & WiFi connections, BSoD, and more]]> Latest Windows 11 update is causing slow SSDs & WiFi connections, BSoD, and more
The KB5023706 update for Windows 11 22H2, codenamed Moment 2, brought the usual improvements, fixes, and features to Microsoft's operating system, including a search bar in Task Manager, and a tablet-optimized taskbar. As is par for the course for Windows updates, it also introduced unwelcome elements.

The most significant problem stemming from the update is its impact on certain SSDs, with some reports claiming speeds that have dropped by half or worse. More than one user said the update crushed the performance of their laptop's Adata XPG SX8200 Pro 1TB SSD; it appears that the problem is limited to this model of Adata SSD. A Redditor said that their boot time more than doubled to 31 seconds after the update was installed but returned to normal after they uninstalled KB5023706.

Statistics: Posted by burger2227 — Tue Mar 21, 2023 5:20 pm — Replies 1 — Views 35509


]]>
2023-02-22T06:33:02-05:00 2023-02-22T06:33:02-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39337#p39337 <![CDATA[General Discussion • New BASIC website]]>
It's the new home of my BASIC programming languages.

http://www.lucidapogee.com

Statistics: Posted by bongomeno — Wed Feb 22, 2023 6:33 am — Replies 4 — Views 38509


]]>
2023-03-01T20:24:52-05:00 2023-01-06T01:02:50-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39329#p39329 <![CDATA[News and Announcements • FTCBASIC (Fast Tiny Compiled BASIC)]]>

FTCBASIC

Homepage: http://lucidapogee.com/index.php?page=ftcbasic

FTCBASIC means fast tiny compiled BASIC. It is a BASIC compiler for x86 DOS. The compiler is written in QuickBasic and generates FASM output. Using batch files, you may compile your source to com files instantly.

Generated com files are tiny and fast. They start at less than 50 bytes.

The compiler and language is derived from the Pebble language. Many of the great features of Pebble have been kept in translation. As a result, there's support for inline asm, include files, and more. There's even some basic 1D array and string data type support.

In all, there's integer, integer array, and string data types. Floating point is not supported, but may be implemented with libraries.

Only unsigned integers may be used in expressions. Operator precedence is *, /, +, -, <, >, <=, >=, =, <>, AND, and OR. Parenthesis override operator precedence.

** Notice: This Alpha version is fresh off the press and probably has issues. Also, the documentation is incomplete. I will be working on it, but wanted to make an early release to get some feedback. **

Examples...

Code:

rem periodic table lookup examplerem uses carry command to perform modulusrem compile with FTCBASICdefine e = 0, i = 0, m = 0, r = 0, c = 0, q = 0dim a[1, 2, 5, 13, 57, 72, 89, 104]dim b[-1, 15, 25, 35, 72, 21, 58, 7]doclsprint "Periodic Table Lookup"crlfprint "0 to continue or 1 to quit: " \input qclsif q = 0 thengosub displaytablegosub searchtablecrlfprint "Press any key to continue..."pauseendifloop q <> 1endsub searchtableprint "Atomic number: " \input elet i = 8dolet i = i - 1loop @a[i] > elet m = e + @b[i]let r = ( m / 18 ) + 1carry clet c = c + 1cursor 19,20print "Period: " \print r \print " Group: " \print c \crlfreturnsub displaytableprint "      1   2   3   4   5   6   7   8   9   10  11  12  13  14  15  16  17  18"crlfprint "   1  H                                                                   He"crlfprint "   2  Li  Be                                          B   C   N   O   F   Ne"crlfprint "   3  Na  Mg                                          Al  Si  P   S   Cl  Ar"crlfprint "   4  K   Ca  Sc  Ti  V   Cr  Mn  Fe  Co  Ni  Cu  Zn  Ga  Ge  As  Se  Br  Kr"crlfprint "   5  Rb  Sr  Y   Zr  Nb  Mo  Tc  Ru  Rh  Pd  Ag  Cd  In  Sn  Sb  Te  I   Xe"crlfprint "   6  Cs  Ba  *   Hf  Ta  W   Re  Os  Ir  Pt  Au  Hg  Tl  Pb  Bi  Po  At  Rn"crlfprint "   7  Fr  Ra  **  Rf  Db  Sg  Bh  Hs  Mt  Ds  Rg  Cn  Nh  Fl  Mc  Lv  Ts  Og"crlfprint "   8 Lantanoidi*  La  Ce  Pr  Nd  Pm  Sm  Eu  Gd  Tb  Dy  Ho  Er  Tm  Yb  Lu"crlfprint "   9 Aktinoidi**  Ac  Th  Pa  U   Np  Pu  Am  Cm  Bk  Cf  Es  Fm  Md  No  Lr"crlfreturn

Code:

rem Nim game examplerem compile with FTCBASICdefine tokens = 12, take = 0gosub introdoprint "There are " \print tokens \print " tokens remaining."crlfprint "How many would you like to take? " \input takeif take > 3 or take < 1 thenprint "You must take between 1 to 3 tokens."endifif tokens - take < 0 thenprint "You cannot take that many."endifif take <= 3 and take >= 1 and tokens - take >= 0 thenlet tokens = tokens - takeif tokens = 0 thenbellprint "Congratulations. You got the last token."pauseendendiflet take = 4 - takeif tokens >= 15 thenlet take = 3endifif tokens <= 3 thenlet take = tokensendifprint "I will take " \print take \print " of the tokens."let tokens = tokens - takeif tokens = 0 thenprint "I got the last token. I win. Better luck next time."pauseendendifendifloopsub introclsprint "NIM game"crlfprint "Press any key to play..."clsreturn

Code:

rem bubble sort benchmark examplerem compile with FTCBASICuse time.incuse random.incdefine const size = 32000dim list[size]define sorting = 0, index = 0, elements = 0define timestamp = 0, sorttime = 0define temp1 = 0, temp2 = 0clsprint "Bubble sort benchmark test"doprint "How many elements to generate and sort (max " \print size \print ")? " \input elementsloop elements > sizegosub fillgosub sortprint "done!"print "sort time: " \print sorttimeprint "Press any key to view sorted data..."pausegosub outputpauseendsub fillprint "filling..."0 indexdogosub generaterandlet @list[index] = rand+1 indexloop index < elementsreturnsub sortprint "sorting..."gosub systemtimelet timestamp = loworderdo0 sorting0 indexdolet temp1 = index + 1if @list[index] > @list[temp1] thenlet temp2 = @list[index]let @list[index] = @list[temp1]let @list[temp1] = temp2let sorting = 1endif+1 indexloop index < elements - 1loop sorting = 1gosub systemtimelet sorttime = ( loworder - timestamp ) / 18returnsub outputprint "printing..."0 indexdoprint @list[index]+1 indexloop index < elementsreturn

Statistics: Posted by bongomeno — Fri Jan 06, 2023 1:02 am — Replies 3 — Views 20032


]]>
2023-01-02T20:32:17-05:00 2023-01-02T20:32:17-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39328#p39328 <![CDATA[News and Announcements • WorkLite OS shell and file manager]]>
Image

* Point and click navigation with the mouse.
* Keyboard navigation for when the mouse isn't supported.
* Simple file manager allows you to work faster.
* Set application shortcuts for ease of access.

WorkLite OS homepage: http://lucidapogee.com/forum/viewtopic.php?p=35

Statistics: Posted by bongomeno — Mon Jan 02, 2023 8:32 pm — Replies 0 — Views 75898


]]>
2022-12-29T18:40:02-05:00 2022-12-29T18:40:02-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39325#p39325 <![CDATA[General Discussion • Desert of Skulls Adventure (interactive fiction)]]> Desert of Skulls Adventure

Image

An interactive fiction adventure game written in the
Pebble programming language and compiled for x86 DOS.

Explore a hot and dry desert of outlaws.
Find a place to settle down and build a home.
The game map is 8x8 for a total of 64 areas.
Can you survive?

Homepage:
http://lucidapogee.com/forum/viewtopic.php?p=41

Download:
http://www.lucidapogee.com/download.php ... skulls.zip

Statistics: Posted by bongomeno — Thu Dec 29, 2022 6:40 pm — Replies 0 — Views 75614


]]>