Skip to content

Releases: RetiredWizard/PyDOS

PyBasic SOUND, PyDOS quoted arguments

06 Jul 16:00
7255f7a
Compare
Choose a tag to compare

PyDOS - added support for quoted arguments (files with spaces in names can now be used)
- modified copy command to use less memory and reduce the memory allocation errors
- tweaked directory command so it doesn't blow up when accessing a drive mounted through the new mpremote service
mpremote mounted drives appear to have a very different file system and don't currently work with most PyDOS commands

PyBasic - added the sound command. A speaker circuit must be connected on GPIO 20

External DOS commands:
diff - performs file comparison (FC)
lcdprint - display a message on an I2C LCD screen (https://www.microcenter.com/product/632704/inland-16x2-i2c-lcd-display-module)
(lcd2004.py support library missed the release but is posted to the main branch)
sound - outputs a sound to the speaker circuit connected to GPIO 20 (sound freq,duration,volume)

Adventure maintenance

30 Jun 02:46
7255f7a
Compare
Choose a tag to compare

Added a missing data file for the Adventure program and a new final??? version of Adventure (adventure-fast.bas) which abandons the original command parser for a simpler one.

PyBasic memory tweak

29 Jun 03:00
7255f7a
Compare
Choose a tag to compare

Modified PyBasic to pre-allocate memory during startup to try and avoid memory fragmentation and memory allocation errors during large program loads. This change seems to significantly reduce the memory allocation errors.

Adventure was also updated to use more file i/o rather than data statements which results in a minor speed improvement.

PyBasic enhancements + Adventure basic program

27 Jun 20:47
07b2e3d
Compare
Choose a tag to compare

Multiple updates to PyBasic to support the porting of a Basic version of Adventure published in the November 1979 issue of Creative Computing magazine. File I/O and improved data statement functionality are the most significant enhancements. For a complete list see the "PyBasic changes.txt" file.

The Adventure program consists of the Adventure.bas, AMESSAGE, AMESSAGE.IDX, ADESCRIP and AMOVING files. Adventure.pgm is a pre-processed indexed basic file which speeds the loading operation in PyBasic.

PyBasic - running .BAS files in place

13 Jun 18:07
9933f9b
Compare
Choose a tag to compare

Modified PyBasic to run Basic program in place on flash rather than loading into memory. This results in significant memory usage reduction and the ability to run much larger basic programs on the microcontroller under PyDOS.

Added 1981 version of Basic Startrek game as demonstration.

Batch File Processing

05 Jun 04:51
f891184
Compare
Choose a tag to compare

Completed batch file processing commands:

set[/a][/p] = environment variable string
if [not] errorlevel num command [else command]
if [not] exist filename command [else command]
if [not] string1 == string2 command [else command]
rem remark
exit [errorlevel]
pause
ver

Initial batch file release

02 Jun 07:21
110ce56
Compare
Choose a tag to compare

Started work on batch file processing. Added the Echo, Goto and :label batch commands

Fixed a bug which caused a crash when a blank line was entered at the DOS prompt.

SD card pathing issues

01 Jun 06:24
4f211c2
Compare
Choose a tag to compare

The SD card file system introduced a pathing problem with the os library. The micropython os library wasn't able to locate the root directory above the sd mount point using "..". This release applies a work around for all the internal commands except rename to support robust pathing across the sd mount point.

A bug in the copy command which didn't prevent an attempted copy of a file over itself was resolved.

A bug in the command "switch" logic was interfering with executing python programs from the root directory if a slash was the first character entered.

PyDOS - Initial Release

31 May 16:16
80d692b
Compare
Choose a tag to compare

PyDOS - Initial Release