ict@ccess
unread,Feb 20, 2012, 12:36:48 AM2/20/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I have completed a program that allows you to run CMD programs by
entering just its filename at the applesoft prompt. CMD programs have
the filetype CMD and are programmed to run at a fixed address. These
are not commands that are launched at $2000 and inserted between
Basic.system and its buffers. These CMD programs are meant to be run
once and then freed up from memory, ready for another command.
Although if you typed the same command twice, it does not get reloaded
into memory, since it is already in memory, which saves time and disk
access. Therefore, unlimited commands can be created and are only
limited by disk space.
Enough space is made between Basic.system and its buffers for the
driver and room for the command which should start at $9000. This
gives a maximum command size of $A00 before running into Basic.system.
Commands are stored in the CMDS folder, obviously. And can be run
even if you are 20 levels deep in any folder on your mounted volume.
These commands are not the same as installed commands. There is no
check for syntax or use of Fbits/Pbits and have nothing to do with
Basic.system. Most commands can be used independantly, but some,
especially the ones with filenames need to have the driver installed.
Commands with filenames create the file in the current directory you
are in
Some immediate commands that have already been created and modified
are:
Alias - lets you select from a list of System programs (Appleworks,
etc)
Buzz - alternate bell - useless as a disk command
CatFAT - catalogs a FAT16 volume
CatHFS - catalogs an HFS volume
Check.disk - checks disk for bad blocks
Check.pgrm - checks aplsoft program for syntax
Compress/decompress (filename) - graphics compression
Copy - can copy any file including Sparse files and IIGS forked files
Crunch.line - compresses multiple aplsoft lines
Crunch.var - reduces variable names to 1 and 2 characters
Dir - alternate CATALOG function with mousetext characters
Edit (filename) - creates a file if one does not exist and allows you
to quickly make text notes within the current directory
encrypt/decrypt (filename) - can encrypt a file with a key (creates a
new encrypted file and leaves the original untouched)
Filetype - change File type and Aux type
Find (filename) - can find any file or folder very quickly and
displays all occurrences
Grep - can find any sequence of Hex bytes or text in any file on the
current volume
Help (filename) - searches for help on a specific file which should be
stored in a
HELPDIR folder in the current directory you are in
ID - Identifies your computer
List.master - formats an aplsoft listing
Load/Save - used more for in an an aplsoft or binary program where you
need to load fonts, graphics, run another aplsoft program ... etc
Navigate - displays a mousetext window to allow you to quickly
navigate to anywhere, including other drives
Online - displays all online volumes
Pop - backs up one directory
ShowVAR (filename) - displays the values of all variables in the VAR
file or in memory
Sleep - (IIGS only) blanks screen including borders and waits for
keypress
strip.rems - removes all REMS from an aplsoft program
Textcomp - compresses a text file by creating pointers to words from a
library
Time - displays date and Time
Tokens - displays applesoft tokens
Type (filename) - can display applesoft listings, Mouse text screens,
unlimited size text files, APLworks and all other files are listed in
one of 3 formats (as ML listing, Hex dump or ASCII text)
Undelete - allows you to undelete a file within the current directory
Unnew - fixes an accidentally erased applesoft program in memory
View (filename) - can view most graphics modes - GR, DGR, HGR, DHGR,
SHGR
ViewCP - view many of the IIGS compressed screen modes. SHR, APF,
DreamGraphics
View32 - display 3200 color mode pictures
Xref - cross reference variables for the applesoft program that is in
memory
NOTE:
Command files can be renamed to anything except a few applesoft tokens
have been
filtered out (like HOME and LIST) and Basic.system will recognize its
commands before
checking the Cmds folder. When I have completed my version of
Basic.system, then
Basic.system commands may also be used
Some commands can be run from applesoft but require & - commandname
(The dash is used)
Notice that all commands leave basic.system intact which saves from
jumping back and forth in to different programs
Some commands are IIGS specific but most should be able to run on an
unenhanced IIe with
80 col card
Other programs I am creating:
An OS similar to Microdot, but much more refined, compressed and a bit
more powerful.
With the ability to add on enhanced applesoft routines, mouse control,
drivers for
printers/RAM/Modem, better buffer management, better access to the
entire hard drive
replaced useless text file routines with much more efficient way of
accessing text files
Enhanced applesoft - About 50 applesoft commands that save tons of
space from the
applesoft equivalent and much faster. Cuts the size of an applesoft
program in half and
saves a ton of space with with the use of variables as well
i.e. a common entry is A=A+1 shortened to &+A even better A%(x)=A%
(x)+1 to &+A%(x) -
saves 6 bytes and is much much faster
A full mouse text toolbox for menus, dialog boxes, buttons, windows
and have the use of
the mouse for selection (Mouse not needed but much better)
Web page viewer - only the basic commands are recognized and web
links; no tables, forms
or graphics
Notepad - can be used as a command but only with my OS and not with
Basic.system.
Features cut/copy/paste, find/replace, tabs, load and edit aplsoft
programs, block delete
(can delete a designated number of characters from the beginning or
ending of every line
- great for editing source files with addresses included), can be full
screen or
windowed, word wrap, insert/overwrite, keyboard shortcuts, Caps/
Numlock/scroll lights
work on enhanced keyboards (only on real IIGS)
Virtual Array for text strings - allows applesoft to read string
arrays much larger than
its memory limitations from the hard drive. Multiple Virtual Array
files can be created
and used at the same time
Block Editor - Much Much better for viewing, editing and navigating
the blocks on your
hard drive.
All of the following programs requires mousetext toolbox, Enhanced
Applesoft and my OS
System 8 Finder - mouse text windows for navigation and quick
selection or viewing text
and/or graphics files
Scientific Calculator and printer
Calendar - todo list, birthdays, holidays, appointments
Mousetext screen editor - creates full screen mousetext screens in
minutes
Mousetext Games - Cards (hearts, spades, bridge), Mousetext Star trek,
Master mind,
checkers, Text adventures, etc...
Quite a few programs are completed and a few of the larger, more
important programs are
about 90% finished. Less important programs, like games, have been
outlined and
mousetext characters created, but no programming yet.
Rob
Helping Applesoft play with the big boys