Difference between revisions of "Programmers Toolbox"
From CPCWiki - THE Amstrad CPC encyclopedia!
								
												
				| Line 27: | Line 27: | ||
| | INFO||Display information about a file | | INFO||Display information about a file | ||
| |- | |- | ||
| − | | COMPACT|| | + | | COMPACT||Remove REM lines | 
| |- | |- | ||
| | CDUMP||Shaded screen dump to printer, depicting up to 9 colours. | | CDUMP||Shaded screen dump to printer, depicting up to 9 colours. | ||
| Line 35: | Line 35: | ||
| | TURTLE|| | | TURTLE|| | ||
| |- | |- | ||
| − | | XREF|| | + | | XREF||Search for where a line gets called from, eg <nowiki>|xref,980</nowiki> will show all the lines that use a GOTO 980 line. | 
| |- | |- | ||
| | TUNE||Play a tune, eg <nowiki>|tune,"DEFEB B A DEGEAAG DEGEG  A F# DDAGDEGEBBA"</nowiki> | | TUNE||Play a tune, eg <nowiki>|tune,"DEFEB B A DEGEAAG DEGEG  A F# DDAGDEGEBBA"</nowiki> | ||
Latest revision as of 15:19, 5 August 2024
Contents
Description
A collection of ROM utilities and tools aimed to help programmers. It was written and distributed by Micro Power Ltd.
Version 1.2a
ROM details:
Rom type: Background Version: 0.21 Rom Name: P T
Commands:
| Command | Description | 
|---|---|
| MEDIT | A Memory Editor | 
| UNPROTECT | Unprotect a Basic file | 
| DUMP | Dump the screen to the printer | 
| CIRCLE | |
| VDU | |
| INFO | Display information about a file | 
| COMPACT | Remove REM lines | 
| CDUMP | Shaded screen dump to printer, depicting up to 9 colours. | 
| COMMAND | Display the list of commands sorted by command type | 
| TURTLE | |
| XREF | Search for where a line gets called from, eg |xref,980 will show all the lines that use a GOTO 980 line. | 
| TUNE | Play a tune, eg |tune,"DEFEB B A DEGEAAG DEGEG A F# DDAGDEGEBBA" | 
| ECHO.ON | Redirect screen output to the printer. | 
| ECHO.OFF | Turn off screen redirection. | 
| EDITOR | Start up a multi-window basic editor. | 
| NORMAL | Disable editor. | 
| W1 | Switch to Window 1 if the editor is enabled. | 
| W2 | Switch to Window 2 if the editor is enabled. | 
| W3 | Switch to Window 3 if the editor is enabled. | 
| FIND | Search the currently loaded BASIC file for a string and edit that line. | 
| PAGE.ON | Enable paging mode. The screen will pause if displaying a large file, eg |page.on:|command | 
| PAGE.OFF | Disable paging mode. | 
| CHARACTER | |
| SCREEN | Page screens in and out, eg |screen,1:print "Hello world":|screen,2:print "Screen 2" | 
| PICTURE | |
| LTRON | Send trace output to printer | 
| LTROFF | Disable tracing | 
| SOUNDLAB | Interactive sound envelope editor | 
| KEYBOARD | Toggle keyboard settings, eg |keyboard,1 enables caps lock. | 
| BAUD | |
| ROMS | Display a list of roms and the commands that they provide. | 
| ASSEMBLE | |
| KILL | Disable ROMs, eg |KILL,1,2 | 
| TIDYLIST | List a BASIC file with an easier to read format, eg Loops are indented, multiple lines are split out etc. | 

