Welcome Guest, you are in: Login

Fruit Of The Shed

Navigation (MMBasic)






Search the wiki

»


Search Engine

Here you can search through the pages of this Namespace, their attachments and the files uploaded to the system.
Note: the results will only display the items you have permissions to read.



Filter by Category

Select allNoneInvert









































This search, performed through 3.39 MB (230 documents, 12918 words), completed in 0.0 seconds and yielded 30 results.

Regular Expression Function — 5.2%

[...] routine. That in turn used Rob Pike's algorithm. It is reasonably fast and brings a powerful feature to MMBasic. It is not a full-blooded regexp function but catches the following functionality: . matches any single character [abc] matches a or b or c ? matches zero or one of the previous character * matches zero or more of the previous character e.g. A* is any number of A's + matches one or more of the previous character ^ matches begin of text e.g. ^A means the string must start with A $ matches end of text e.g. A$ means the string must [...]

MMBasic Source Compression Utility — 4.0%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : Any required file(s) are available in the attachments tab (top right). MMBasic Source Compression Utility CRUNCH.bas v2.4 Author: Hugh Buckle June 2013 Updated: Dec 2014 to v2.4 This suite of programs takes an MMBasic program, reduces its [...]

MOON.BAS lunar calendar with graphics and simple GUI — 2.7%

[...] background b corner radius r SUB DrawBox(x,y,w,h,c,b,r) IF r > 0 THEN CIRCLE (x+r,y+r),r,b,F CIRCLE (x+r,y+r),r,c CIRCLE (x+w-r,y+r),r,b,F CIRCLE (x+w-r,y+r),r,c CIRCLE (x+w-r,y+h-r),r,b,F CIRCLE (x+w-r,y+h-r),r,c CIRCLE (x+r,y+h-r),r,b,F CIRCLE (x+r,y+h-r),r,c LINE (x+r,y)-(x+w-r,y+h),b,BF LINE (x,y+r)-(x+w,y+h-r),b,BF LINE (x+r,y)-(x+w-r,y),c LINE (x+w,y+r)-(x+w,y+h-r),c LINE (x+r,y+h)-(x+w-r,y+h),c LINE (x,y+r)-(x,y+h-r),c ELSE [...]

LCD Panels Summary — 2.5%

[...] page is an attempt to summarise and link to the various LCDPANEL drivers available for the various MMBasic platforms. These can be built in (OPTION LCDPANEL xxxx), Cfunction loadable drivers or MMBasic drivers implemented with the OPTION LCDPANEL USER method. The scope includes links to various TBS threads that discuss supporting PCB designs, drivers etc, where to purchase. In general this page will try to link to relevant threads on TBS rather than reproduce the information here. This page initially inspired by @panky's TBS post . TBS [...]

MMBasic Source Code Formatter — 2.4%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : Any required file(s) are available in the attachments tab (top right). MMBasic Source Formatter ver 2.3 20/4/2013 Format.bas is a program to indent lines of MMBasic source code in order to highlight the program structure. Four methods [...]

uFormat$() and StrE$() provide flexible formatting of numeric values — 2.2%

Some languages provide the FORMAT$() function - indeed this features in MMBasic for the MaxiMite but has been dropped from versions intended for the MicroMite (V4.5 onward). It can be an intensive function for some often quite fringe functions. A fully fledged version is documented here . I think you'll agree it is a lot of work for often little payback... fine on PC's with multi-gigabyte memories but not really worth the flash in confined systems when the function is rarely used. In MMBasic, the STR$() function does provide a lot of the [...]

CHECKER.BAS — 2.0%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : Any required file(s) are available in the attachments tab (top right). CHECKER.BAS 1 CLS 2 PRINT TAB(30);"ONE CHECK" 4 PRINT TAB(15);"CREATIVE COMPUTING MODIFIED BY BILL BROWN FOR MAXIMITE" 6 PRINT:PRINT:PRINT 8 DIM A(64),Z(10,10) 10 PRINT "SOLITILE CHECKER PUZZEL" 15 PRINT 20 [...]

RENUM.BAS — 1.9%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : Any required file(s) are available in the attachments tab (top right). RENUM.BAS RENUM.BAS is written in MMBasic and requires at least version 4.3a. Renum.bas renumbers basic files, the same way the RENUMBER command used to work in version of MMBasic [...]

MMFOUR.BAS (Connect Four) — 1.9%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : Any required file(s) are available in the attachments tab (top right). MMFOUR.BAS 10: REM This program was originally found on a demo 20: REM tape for the MicroBee computer. It was ported 30: REM to GWbasic and then Qbasic for use on a BBS 40: REM in 1995. 50: [...]

_MMBasic Code Library — 1.9%

Welcome to the {NAMESPACE} namespace (zone) of MMBasic is an interpreter for members of the PIC 32MX & 32MZ, STM H7 & L4 micro-controllers, the Raspberry Pi and a DOS version. Principally developed by Geoff Graham for PIC32MX and later Peter Mather's eXtreme version for the PIC32MZ and versions for the STM H7 and L4, you can get it and read all about it here:  http://mmbasic.com/ It provides a rich programming interface that harks back to the "feel" of the original (and widespread) MicroSoft Basic languages with definite influence from [...]

BIN8.BAS — 1.7%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Although MMBasic contains a function to return a binary string of any length from an argument, this module is interesting because it contains a number of useful function beyond simple conversion. BIN8.BAS ReadMe - crackerjack, March 2012 The BIN8.BAS "library" of byte-wide [...]

Some Hints & Tips for writing efficient code. — 1.7%

[...] aimed at the MicroMite range of micro-controllers but the ideas are fully migrate-able across all the MMBasic platforms and beyond. On the smaller micromites, some tasks can be a big ask for an interpreter at 48MHz (or slower). Some of the following tips got an RC4 encryption algorithm usable - it was struggling to do un-encrypt >> process >> encrypt in under 1.5 seconds. It's still tight for long strings but it's usable now. So these tips can help and even have proved vital in some instances - do not dismiss as mere pedantry too lightly. This isn't an exhaustive list; [...]

MaxMan — 1.5%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : Any required file(s) are available in the attachments tab (top right). MAXMAN.BAS : '* * * * * * * * * * * * * * * * * * * * * * * * * '* * '* - M A X [...]

Hi-IQ (Solitaire) — 1.5%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : Any required file(s) are available in the attachments tab (top right). HIGHIQ.BAS 5 CLS 10 PRINT TAB(33);"HIGH - IQ" 15 PRINT:PRINT 20 PRINT TAB(15);"CREATIVE COMPUTING - MODIFIED BY BILL BROWN" 40 DIM B(70),T(9,9) 50 LOCATE 40,70:INPUT"DO YOU REQUIRE INSTRUCTIONS - (Y/N) ";Q$ 60 [...]

A Simple GUI pack — 1.5%

A purely MMBasic GUI pack to provide a WindowsCE/95 look-a-like LCD panel interface for your projects. This is a work in progress in my spare time. This document has lots of improvements required - and I'll do them... just need a bit more time. Still to come: Lists, Drop-down Lists, tab strips, pop-up windows (if I can work out a way to do it). As it is now, it provides a lot of functionality and is usable. If you only need the simpler end of the GUI - buttons, checkboxes, radio buttons and text boxes etc, it is good to go. Let's face it; they probably cover 100% of [...]

BMPSHOW.BAS — 1.3%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : The required file(s) are available in the attachments tab (top right). 10 ' BMPSHOW: displays a 1-bit BMP image 20 ' from Bruce Mitchell <brucepython@gmail.com> 30 ' 40 ' BMP is a format with many variations and vagaries. 50 ' Don't be surprised if some images appear inverted, [...]

MMSudoku — 1.3%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : Any required file(s) are available in the attachments tab (top right). Hello all. Here's SUDOKU for Maximite version 1.0 (final?). Features: Requires MMbasic v3.1. Three types of difficulty: Easy, Medium and Hard. In the empty grid you can enter numbers and key lock. [...]

ARMMite H7 Pin Aliases — 1.3%

The ARMMite H7 is a new MicroMite running MMBasic on the powerful STM32H743ZI and STM32H753ZI MicroController. You can grab the complete firmware and join the discussion here: backshed forums . The previous discussion is 18 pages(!) but worth reading to get the full story, but bear in mind it has been superseded by the former and is no longer updated: old thread It seems a popular way of utilizing this processor for small production/hobbyist is ST's Nucleo evaluation board. There are several suppliers but Farnell/Element14 seem to be well priced with good availability. [...]

Small Strings — 1.2%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : Any required file(s) are available in the attachments tab (top right). This code is intended for early versions of MMBasic where strings were fixed at 255 characters in length (but after PEEK and POKE were implemented). This is no longer the case but this code is included [...]

Big Integer Maths — 1.2%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : Any required file(s) are available in the attachments tab (top right). ' integer maths by TassyJim 07 Feb 2012 ' MM Basic CAN do big integer maths! ' The included code uses integer maths to calculate ' 1, 1×2, 1×2×3, 1×2×3×4, etc. the successive factorial numbers. ' The limit in MM Basic [...]

Driving LCD from MMBasic — 1.2%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : Any required file(s) are available in the attachments tab (top right). Demonstrates how to talk to a "standard" LCD display based on the Hitachi HD44780 controller and compatibles. Later versions of MMBasic have inbuilt commands which are simple and faster. If you have [...]

Colour Demos — 1.2%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : Any required file(s) are available in the attachments tab (top right). Demonstration programs for the Colour Maximite: CMM4_TST.BAS A test program that demonstrates various graphics on the Colour Maximite running in MODE 4. These include coloured lines, boxes, circles and moving images on the screen [...]

MM_Event — 1.2%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : Any required file(s) are available in the attachments tab (top right). SE02.BAS : 'File....: SE02.Bas ' 'Author..: Simon Whittam ' 'Email...: s.whittam(at)xnet.co.nz ' 'Date....: 8th September 2013 ' 'Language: Maximite BASIC, v4.4 ' 'Purpose.: To provide an [...]

Maxifont.bas — 1.0%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : Any required file(s) are available in the attachments tab (top right). Maxifont is a small program written by Dennis Wyatt for the Maximite Computer by Geoff Graham 2011/2012. It will create a font, based on your input and save the font to a filename of your choice, appended with the .fnt descriptor. [...]

Comb Sort for strings — 1.0%

A fast sort routine. This scored best overall in a comparison test of MMBasic sorts (but the CSub routines are at least 3x faster). originally published http://www.thebackshed.com/forum/forum_posts.asp?TID=7311&TPN=3 and tweaked slightly for MMBasic syntax One advantage of a purely MMBasic sort is it can be modified e.g. to sort an array but to maintain index links in another, so as you swap compared elements of the array, you swap their index references too. Credit : twofingers ' Comb Sort ' an optimized [...]

Compatibility between Micromite MkII MMBasic and MicroMite Extreme (MMX) MMBasic — 1.0%

[...] and CFunctions encapsulate blocks of hex machine code to augment the functionality and capability of MMBasic on that platform The MicroMiteXtreme uses the PIC32MZ range of microcontrollers and although the MMBasic [...]

Sort algorithms - A comparison — 1.0%

[...] the most desirable are ease/compactness of coding and speed. Note . This article and the referenced MMBasic sort routines are really academic on the Micromite MkII. CSubs for sorting the relevant data-type are included in the MMBasic download and attached top right and these should be used for single dimension arrays on the MX platform. Counterpart routines are not yet available for the MMX. Discussions have raged for decades over which is the "best" and the reasons for the camps can be as varied as the sort methods. One thing is almost [...]

Measuring RMS (algorythm) using MMBasic — 0.8%

[...] is a method of implementing RMS measurements on a mains AC signal, with minimal external circuit, in MMBasic on a small micromite. The name RMS (Root Mean Square) explains exactly what is involved: Take the square root of the mean value of all the measured value to the power two. 1/ take samples from an ADC 2/ calculate the square root of each sample and sum them all up. 3/ divide by the number of samples (summing and divide by number is essentially the mean value) 4/ take the square root of the mean value. In essence there is no start and end to this process. But if [...]

TIC-TAC-TOE 1 PLAYER — 0.8%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : Any required file(s) are available in the attachments tab (top right). TICTAC.BAS : ' TIC-TAC-TOE [...]

TOWERS of HANOI — 0.8%

This module is part of the original MMBasic library. It is reproduced here with kind permission of Hugh Buckle and Geoff Graham. Be aware it may reference functionality which has changed or is deprecated in the latest versions of MMBasic. Note : Any required file(s) are available in the attachments tab (top right). This program plays the game of Towers of Hanoi for you. It is a programming exercise in recursion, that is, where a subroutine, in this case "TOWER", calls itself. It plays on a MicroMite using a VT100 terminal .eg Tera Term. [...]